Archive

Posts Tagged ‘Model’

Convert .net MVC Model to KeyPair QueryString

November 7, 2010 Leave a comment

Very quick post today;

I had a need today to create a QueryString from a Model (Serialise). There was a good reason why, which I won’t go into; Lets just say it involves SEO requirements, ever changing model, pagination and price sorting.

So lets get to it and see what we can do. We need to build a function that will take any Model and strip it to any Key and Value’s. Read more…

Categories: Code Examples Tags: , , , ,
Follow

Get every new post delivered to your Inbox.

Join 324 other followers