的ASP.NET MVC的项目模板包括了包含下面的代码段什么是在ASP.NET MVC的AccountController中定义的OnActionExecuting?
protected override void OnActionExecuting(ActionExecutingContext filterContext) {
if (filterContext.HttpContext.User.Identity is WindowsIdentity) {
throw new InvalidOperationException("Windows authentication is not supported.");
}
}
这是什么一个的AccountController?
你知道为什么它不被支持吗? – Mikeon 2009-10-19 19:13:26