5

ContentType route constraint in ASP.NET MVC

Posted by Dan on Friday, January 29th, 2010 in Programming

Update: The functionality of this constraint is incorrect, and should use AcceptTypes, rather than ContentType. I will write an update to it. The kudos for this goes to ‘Daniel T‘ who wrote the original JSON implementation. I was helping out on StackOverflow, and I came across a question which asked why a users custom route [...]

Tags: ,

Copyright © 2009-2010 Dan Atkinson All rights reserved.
Desk Mess Mirrored v1.7.2 theme from BuyNowShop.com.