Project Description
Serialize any object in C# to a query string with the .ToQueryString() extension method. Supports primitives, strings, arrays and collections.

Extension method ToQueryString() can be called on all objects and will return a query string for each property in the object. The ToQueryString() implementation can be found in the UrlHelpers class in main project.

ToQueryString() supports serializing of primitives (int, float, bool etc.), strings as well as arrays and generic collections of the aforementioned type. ToQueryString() accepts an optional parameter for selecting the separator to use in collections. Default is comma.

With the main project is included a test controller as well as a unit test project.

Last edited Sep 19, 2012 at 1:00 PM by Buffer, version 3