Category Archives: .NET

ObjectBuilder Can Inject to UserControls As Well

This is a followup to my previous post on integrating ObjectBuilder and ASP.NET. As I was playing around with the solution I hit on the fact that I was only injecting at the Page level. As ASP.NET is a component … Continue reading

Posted in .NET | Tagged , , , | Leave a comment

Integrating ObjectBuilder with ASP.NET

ObjectBuilder is a .NET framework made for building Inversion of Control or Dependency Injection containers. Unlike Spring or Pico, ObjectBuilder is not a full DI framework, instead it’s a framework for building DI solutions. Yes, that’s incredibly weird to me … Continue reading

Posted in .NET, Web | Tagged , , , | 1 Comment

Mocking .NET Objects with NUnit

NUnit is my Unit Testing tool of choice for .NET development. Microsoft provides a unit testing framework but it only works with some higher-end versions of Visual Studio. They’re so similar that it’s almost ridiculous that Microsoft created their own … Continue reading

Posted in .NET, Code, Unit Testing | Tagged , , , | 33 Comments

Custom XML Serialization for the .NET Compact Framework

.NET provides a whole slew of utilities for serializing objects into an XML form. But as I wrote in my previous post, .NET Compact Framework has serious problems with this serialization. The good news is that you can leverage all … Continue reading

Posted in .NET, Code | Tagged , , | 9 Comments

.NET Compact Framework Serialization Bugs

XML Serialization in the .NET Compact Framework seems to be buggy enough that it is generally not useful if you need to serialize a class that conforms to a schema of some sort. If all you need to do is … Continue reading

Posted in .NET, Code | Tagged , , , | 5 Comments

Automated Subversion Tagging With MSBuild

I’ve written previously about using MSBuild With Nunit as well as a bit of a Manifesto on Relentless Build Automation. I believe that automating the build and deployment process is a necessary step to ensure the reliable delivery of quality … Continue reading

Posted in .NET, Automation | Tagged , , | 2 Comments

More .NET Compact Framework Woes

I posted previously on a Bug in the .NET Compact Framework with the XmlEnum Attribute with whitespace in the name. Well I’ve run into some other interesting “features”. The first thing to realize is that the things that work on … Continue reading

Posted in .NET | Tagged , | 5 Comments

.NET Makes Me Mad (Generics and Collections edition)

Ok, so I’ve decided I need to rant a little bit about .NET. This ends up in part being, “What I like about Java that I don’t like about C#”. I think this is fair though. It’s not like C# … Continue reading

Posted in .NET | Tagged , | 2 Comments

Using SQL Compact Edition Under ASP.NET

What is SQLCE? SQL Compact Edition is the “low end” version of a SQL database solution from Microsoft. It is a single-file, application managed, database implementation. It doesn’t have all of the bells and whistles of the high end database … Continue reading

Posted in .NET, Web | Tagged , , | 2 Comments

Bug In the .NET CompactFramework XmlEnum with Whitespace

In .NET you can use Attributes to mark up properties in a class to tell the XmlSerializer how to marshal that class to and from XML. There are a number of different attributes you can use. You can use enums … Continue reading

Posted in .NET | 2 Comments