Sep 302013
 

After using Visual Studio 2012 even more one of the things that I’ve come to appreciate is the new project types and the new things that are included with them.

The first type of project that I started once I started using Visual Studio 2012 was MVC. Now I have used MVC before but I have to say that this is the first time that I’ve really been impressed with what it has to offer out of the box. Microsoft has put a lot of effort into making MVC something that is very user friendly, flexible and something that can can be widely accepted. It also has a lot higher reliance on JavaScript libraries for doing more things client site which I think is a great progression for where the web is heading.  Continue reading »

Jun 102013
 

Recently I ran across a need for a collection of name / value objects that I could use in JSON and pass up to my MVC Web API.  The problem I ran into is that the NameValueCollection object that is in the Collections.Specialized namespace does not deserialize correctly.

After much searching into the matter I came to find out that it wasn’t the way I was using it but that it didn’t play nicely with serialization into JSON even though it is a serializable object.  When you serialize it to JSON all you receive back are the values.   This became a problem for the deserialization of the object as well.  It obviously wasn’t going to work, so after a quick trip back to the drawing board I decided to make my own set of classes to mimic a NameValueCollection object. Continue reading »