Asp.Net 移除不必要的Module以增加性能

 <system.webServer>
  <modules>
     <!--session模块根据需要是否移除-->
   <remove name="Session" />
   <remove name="OutputCache" />
   <remove name="ScriptModule-4.0" />
   <remove name="RoleManager" />
   <remove name="WindowsAuthentication" />
   <remove name="PassportAuthentication" />
   <remove name="AnonymousIdentification" />
   <remove name="UrlAuthorization" />
   <remove name="FileAuthorization" />
   <remove name="Profile" />
   <remove name="DefaultAuthentication" />
  </modules>
 </system.webServer>