actionfilterattribute
Detecting redirect in IActionFilter.OnActionExecuted reliably
I have an IActionFilter that does something in OnActionExecuted, however I don\'t want to perform this action when the controller result performs a redirect.[详细]
2022-12-10 03:35 分类:问答ASP.NET MVC - ActionFilterAttribute to validate POST data
Actually I have an application that is using a WebService to retrieve some clients information. So I was validating the login information inside my ActionResult like:[详细]
2022-12-09 15:43 分类:问答ViewData in ActionFilterAttribute - Object reference not set to an instance of an object
I\'ve been trying to load masterpage content from database (based on a \"TargetCode\" in the querystring), using ActionFilterAttribute. However, I\'m having problem setting the ViewData to the data re[详细]
2022-12-09 01:09 分类:问答