高分问两个MVC 5.0新特性问题
我2我骄傲 2016-11-21 08:47:02 1. MVC 5.0建项目后 多了Startup.cs和Startup.Auth.cs ,这个玩意的作用也看了下
我的问题是 , 1. 这个玩意能不能去掉? 2. 如果不能去掉,跟我之前正常部署到IIS 有没有什么区别。
2. webconfig , system.webServer 节点多了一句<remove name="FormsAuthenticationModule" />
我的问题是 , 为什么要加这个,我把这句删掉会有什么问题。
stackoverflow里
http://stackoverflow.com/questions/21652808/asp-net-mvc-5-web-config-formsauthenticationmodule-or-formsauthentication
但是没完全理解它的意思。
请大家指教。