About
This blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.Search
Categories
- Conference (21)
- Development (217)
- Security (19)
- Test (32)
- Tooling (175)
- Uncategorized (168)
Most used tags
Tag Archives: Code
Code generation from Visual Studio UML class diagram
In the Ultimate edition of Visual Studio 2010 Microsoft has put the Architecture feature. With this I can create Graphs, Layer and UML diagrams. The feature is readonly in the Premium edition, but I’m not sure it can generate code … Continue reading
Posted in Development
Tagged azure, class diagram, classdiagram, Code, codegeneration, DataContract, generate code, interface, servicecontract, serviceimplementation, T4, Tooling, UML, Visual Studio 2010, WCF, Windows Azure
1 Comment
WSDL in Mono
Mono can host WCF services and expose the WSDL. To get around the XmlSchema error: Named item http://your/contract/here was already contained in the schema object table you need to set MONO_STRICT_MS_COMPLIANT to ‘yes’. Here is how I managed to do … Continue reading
Trace to Windows EventLog
In dotNET we use the System.Diagnostics.Trace and some TraceListerner implementation to log information, warnings and errors. My applications use the Windows Eventlog with the EventLogTraceListener. But what if your custom EventSource is not available and your user has no administrative … Continue reading
Posted in Development
Tagged .NET, Code, crash, logging, privileges, traceing, windows eventlog
Leave a comment
Custom AutomationPeer classes
When you use custom controls in your silverlight application, you should implement custom AutomationPeer classes. These AutomationPeer classes will be used in your unittests. Below some different flavours I use in my project. Inherited, when you inherit from a control … Continue reading
Silverlight unittest / automation
Reading up on silverlight unittesting from Justin Angel’s post. I ran into some startup problems like not iheriting from SilverlightTest in my test class (took me two hours ;)) and adding the right assemblies to our project. But the biggest … Continue reading