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...
|
1
Votes |
|
|||
No comments yet, be the first one to post comment.