HttpStatusCodeResult In MVC 2?

Sep 26, 2010

I have noticed that ASP.NET MVC 3 introduces a HttpStatusCodeResult action result. How do we do the equivalent in ASP.NET MVC 2? I want to return a 410 code.

View 2 Replies


Similar Messages:

MVC :: HttpStatusCodeResult Results?

Nov 17, 2010

Is it possible to return json data or content when using the HttpStatusCodeResult?I see it is possible to return a result description, but the ability to return an error object would be fantastic!

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved