4
shouts

Web 2.0 | Handling Unknown Actions in ASP.NET MVC

posted by farooqkaiserfarooqkaiser 188 days, 7 hours, 54 minutes ago
Wednesday, August 05, 2009 5:09:27 PM GMT

In this article, I will explore Handling Unknown Actions. A Controller.HandleUnknownAction Method gets called when a controller cannot find an action method that matches a browser request. I will implement the following method in my previous article Implementing HTTP File Upload with ASP.NET MVC. protected virtual void HandleUnknownAction(string actionName) Here is my FileUploadController class as shown below.    [HandleError]    publicclassFileUploadController : Controller    {      publicActionResult...

category: ASP.NET | clicked: 14 | | source: www.fairnet.com | show counter code
tags: ASP .NET MVC, MVC Framework

No comments yet, be the first one to post comment.

To post your comment please login or signup