Weblog Posts in August 2012


Using JSON.NET for dynamic JSON parsing
August 30, 2012 @ 5:04am

Parsing JSON dynamically rather than statically serializing into objects is becoming much more common with today's applications consuming many services of varying complexity. Sometimes you don't need to map an entire API, but only need to parse a few items out of a larger JSON response. Using JSON.NET and JObject,JArray,JValue makes it very easy to dynamically parse and read JSON data at runtime and manipulate it in a variety of different ways. Here's how.

23 comments
.NET 3.5 Installation Problems in Windows 8
August 27, 2012 @ 3:32pm

I ran into a major headache with getting .NET 3.5 properly on my Windows 8 install - although installed SP1 was missing and wouldn't properly install. Here's what happened, how to check for the version actually installed and how to work around it.

9 comments
An Introduction to ASP.NET Web API
August 21, 2012 @ 2:41am

This article is a hands on tour of ASP.NET Web Api. It covers a fair variety of functionality and goes beyond the most basic introductions by digging into some of the mundane details you're likely to run when first starting out with Web API.

12 comments
Mapping UrlEncoded POST Values in ASP.NET Web API
August 16, 2012 @ 12:42pm

Surprsingly Web API does not support POST value mapping to multiple simple parameters on a Web API endpoint. While you can map POST values with model binding or the FormDataCollection native parameter mapping in Web API is a missing feature. Here's what you can and can't do with POST values in Web API.

10 comments
Where does ASP.NET Web API Fit?
August 07, 2012 @ 4:34pm

With the pending release of ASP.NET Web API we're finally getting a good HTTP Service solution 'in the box ' in ASP.NET. Web API provides many needed and cool features, but it's not always clear whether you should use Web API or some other technology like MVC to handle HTTP service requests. In this post I discuss what Web API is and a few options of where it fits and potentially doesn't fit.

22 comments