Tell me and I will forget
Show me and I will remember
Involve me and I will understand
- Confucius -
I found this quote on the blog of the problem solver.
See: http://msmvps.com/blogs/theproblemsolver
Friday, May 8, 2009
(Solution) "Secure channel cannot be opened because security negotiation" (Geneva)
Today, I was doing some tests with the Geneva (Beta) Framework, again.
It took me some time to find the source of the following errors/exceptions my test applications where throwing:
It took me some time to find the source of the following errors/exceptions my test applications where throwing:
- Secure channel cannot be opened because security negotiation with the remote endpoint has failed. This may be due to absent or incorrectly specified EndpointIdentity in the EndpointAddress used to create the channel. Please verify the EndpointIdentity specified or implied by the EndpointAddress correctly identifies the remote endpoint.
- The message could not be processed. This is most likely because the action 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service aborted the channel due to inactivity. To prevent the service from aborting idle sessions prematurely increase the Receive timeout on the service endpoint's binding.
The problem was that my testclient was using a different bindingtype then my test Security Token Service.
For more information about what type of binding to favour, see: http://webservices20.blogspot.com/2009/04/which-binding-to-use-wshttpbinding-or.html
Perhaps this is usefull for you.
Monday, May 4, 2009
Event ID 1023: Fatal Execution Engine Error (Solved)
For some time I have been trying to solve this error that crashed my Visual Studio 2008 when ever I wannted to "Choose Items" for the Toolbox.
What worked for me was to uninstall Visual Studio 2008 PowerCommands!
Event Type: ErrorEvent
Source: .NET RuntimeEvent
Category: NoneEvent
ID: 1023
Date: 2-5-2009Time: 16:54:41
User: N/A
Computer: TEAMSUIT2008
Description:.NET Runtime version 2.0.50727.3082 - Fatal Execution Engine Error (7A035FC0) (80131506)
What worked for me was to uninstall Visual Studio 2008 PowerCommands!
Event Type: ErrorEvent
Source: .NET RuntimeEvent
Category: NoneEvent
ID: 1023
Date: 2-5-2009Time: 16:54:41
User: N/A
Computer: TEAMSUIT2008
Description:.NET Runtime version 2.0.50727.3082 - Fatal Execution Engine Error (7A035FC0) (80131506)
Complemeting FxCop with StyleCop!
I guess we all know FxCop by Now. But do you know about StyleCop?
StyleCop is a Source Code Style and Consistency Tool.
... FxCop performs its analysis on compiled binaries, while StyleCop analyzes the source code directly. For this reason, FxCop focuses more on the design of the code, while StyleCop focuses on layout, readability and documentation. Most of that information is stripped away during the compilation process, and thus cannot be analyzed by FxCop. ....
See: http://blogs.msdn.com/sourceanalysis/archive/2008/05/23/announcing-the-release-of-microsoft-source-analysis.aspx
Happy Styling!
StyleCop is a Source Code Style and Consistency Tool.
... FxCop performs its analysis on compiled binaries, while StyleCop analyzes the source code directly. For this reason, FxCop focuses more on the design of the code, while StyleCop focuses on layout, readability and documentation. Most of that information is stripped away during the compilation process, and thus cannot be analyzed by FxCop. ....
See: http://blogs.msdn.com/sourceanalysis/archive/2008/05/23/announcing-the-release-of-microsoft-source-analysis.aspx
Happy Styling!
Tuesday, April 28, 2009
Forget Role Based Security! (Geneva)
With the arrival of the Beta 1 of the "Geneva" Claims Based Access Platform you should forget everything you know about role-based security.
Claims based security is everything! It really is!
Especially in any SAAS, Heterogeneous or WCF-Services environment using Security Token Services is the technology to use... But honestly, it should be the security route for any solution!
I recommend reading this excellent document by David Chappel which gives a perfect conceptual (no code) explanation of what "Claims Based Access" and "Geneva" are about.
I also recommend reading this excellent document by Keith Brown which gives a perfect introduction (with code) to the whole "Geneva" suit!
For more informatie see msdn: http://msdn.microsoft.com/en-us/security/aa570351.aspx
Note: the "Geneva" framework cannot be installed on Windows XP nor on Windows 2003. A temporarily solution can be found here: http://travisspencer.com/blog/2009/02/installing-geneva-framework-on.html
Happy Claiming!
Monday, April 20, 2009
Quote about planning
Planning is everything, but the plan is simply the starting point...
(Source: Agile Manivesto 2.0)
Wednesday, April 15, 2009
TestCleanup quirks! (Unittesting)
Today, I am having problems with one of my unittests. The problem is that my resources are not cleanedup when they need to. This has to do with the unexpected time the 'TestCleanup' runs!
According to msdn one should use 'TestCleanup' to cleanup resources. Why are my other unittests failing that need to reuse this resource?
I found a clear description of the 'problem' (is it really a problem or by design?) here:
Anyway, to me it is a pain!
If you have a suggestion, let me know!
PS: I don't violate the 'do not depend on unittest order' - rule... this is about cleaning!
Wednesday, April 8, 2009
Generating testrecords for your unittests
If you are using Visual Studio Database Edition you are able to have VS generate testdata for you. Just what we need to have repeatable testresults.
But how does one execute these so called 'Data Generation Plans' from (unittest)code and from your build server?
You can find the answer here:
http://drowningintechnicaldebt.com/blogs/thomaswaldron/archive/2008/01/08/kick-off-a-data-generation-plan-programmtically.aspx
Happy testing!
But how does one execute these so called 'Data Generation Plans' from (unittest)code and from your build server?
You can find the answer here:
http://drowningintechnicaldebt.com/blogs/thomaswaldron/archive/2008/01/08/kick-off-a-data-generation-plan-programmtically.aspx
Happy testing!
Wednesday, April 1, 2009
Harvard Business Video's!
IT is about Business in the first place...
Therefor, to be succesfull in IT, generally, one needs to really understand the business.
To become a succesfull Software or Enterprise Architect you have to know Business Management principles. Therefor my repeating advice, read the Harvard Business Review Magazines and Harvard Business Review Onpoint's, there are just excellent!
To make things even more easy for you to start leaning Business Management Principels, Harvard is publishing some Video's on YouTube...
In my opnion a perfect place to start, though the magazines are so much better: http://www.youtube.com/user/HarvardBusiness
I hope you will enjoy Business Management as I do...
Happy learning!
To MVC or not to MVC?
A lot of exposure has been given to the recent releases of the ASP.Net MVC Framework recently.
It made me curious what it exactly is and in what projects I should use it and perhaps more importantly in which projects not?
After evaluating the current framework version, I have come to the following conclusions:
It made me curious what it exactly is and in what projects I should use it and perhaps more importantly in which projects not?
After evaluating the current framework version, I have come to the following conclusions:
- The Framework is perfect for you if you go down the JQuery route;
- The current version is not for you if you go down the 'old' postback / webcontrols route; Currently form support is really limited but open for extention.
- Biggest advantage: by default the urls are decoupled from the filenames. (think about security, flexibility and searchengine friendlyness!)
Note that this decoupling can just as well be accomplished by using for example:
- UrlRewriter.net
- UrlRewriting.net
For me, I keep an close eye on new versions hoping to see webcontrols/postback and a richer user interface being supported, soon.
Happy Viewing and Modelling!
No overload for method 'WaitOne' takes '1' arguments (foutmelding)
Do you receive the "No overload for method 'WaitOne' takes '1' arguments" error message?
Big change that you are need to install .Net Framework 3.5 Servicepack 1!
Happy programming...
Big change that you are need to install .Net Framework 3.5 Servicepack 1!
Happy programming...
Monday, February 2, 2009
Why SOA Works (QUOTE)
Object Oriented Design works because an Object represents a real-world "thing".
Service Oriented Architecture works because a Service represents a real-world "What we do".
---
Not sure whom is being quoted though I found it in "Service Architecture Methodoly, Version 1 - agust 2005, Capgemini".
Subscribe to:
Posts (Atom)