摘要:
publicclassHomeController:Controller{////GET:/Home/[ActionNameAttribute("RightNotIndex")]publicstringIndex(){return"Bingo!";}}so as you can see and 阅读全文
posted @ 2013-06-19 23:55
Nikain
阅读(429)
评论(0)
推荐(0)
摘要:
publicclassMyActionMethodSelectorAttribute:ActionMethodSelectorAttribute{publicoverrideboolIsValidForRequest(ControllerContextcontrollerContext,MethodInfomethodInfo){if((controllerContext.HttpContext.Request["data"])=="no")returnfalse;returntrue;}}publicclassHomeController:Contro 阅读全文
posted @ 2013-06-19 23:40
Nikain
阅读(435)
评论(0)
推荐(0)
摘要:
publicclassMyActionFilterAttribute:ActionFilterAttribute{publicoverridevoidOnActionExecuted(ActionExecutedContextfilterContext){filterContext.HttpContext.Response.Write("OnActionExecutedisExecuted!<br/>");}publicoverridevoidOnActionExecuting(ActionExecutingContextfilterContext){filte 阅读全文
posted @ 2013-06-19 23:19
Nikain
阅读(637)
评论(1)
推荐(0)
摘要:
From this day forward, I'll pick mythinkup, in my loveless english,I plan to summary something about ASP.NET MVC 4 and some experience involve just my personal experience , in particular about the namespace belong ASP.NET MVC ,the core system.web.mvc and system.web.ajax ,system.web.mvc.Async,las 阅读全文
posted @ 2013-06-19 21:29
Nikain
阅读(345)
评论(0)
推荐(0)
浙公网安备 33010602011771号