About
This blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.Search
Categories
- Conference (20)
- Development (208)
- Security (17)
- Test (32)
- Tooling (166)
- Uncategorized (168)
Most used tags
Tag Archives: xml
Powershell extension method
We are testing our Powershell Module with Pester. Since the data is some sort of graph we need to work with indexers / lists all the time. After a small brainstorm session we decided on an Extension Method approach. Reading … Continue reading
ASP.NET MVC WebApi and Xml serialization
In our project we use XSD to describe messages over project boundaries. This way we can all develop in our own speed. The XSD describes XML with attributes and elements. ASP.NET MVC WebApi supports this, but not out-of-the-box. Default the … Continue reading
XML data type for storing messages
We want to store xml message in a database for batch processing, logging and retention. For some time now Sql Server offers the xml data type for columns. This way we could index the xml, validate it with an xsd … Continue reading
Executing Unittests in parallel
My machine has a multi core processor, but my unittests only run one at a time. In Visual Studio 2010 the option to use more than one core and run unittests in parallel is there, but well hidden in the … Continue reading
Posted in Test
Tagged cual-core, Hack, multi-core, parallel, parallelTestCount, Test, testsettings, Tooling, unittest, Visual Studio 2010, xml
Leave a comment
Serialize Nullable<T> or not
When we tried to serialize an object to XML we noticed that Nullable types are special. A class is not serialized when null, but a Nullable type is a struct. See the code blow and notice the highlighted line in … Continue reading