SharePoint 2010

Inside <System.WebServer> Element in Web.Config File For SharePoint Web application

The System.WebServer element is something new with IIS 7. As SharePoint 2010 works in the integrated pipeline mode, you will see the various
httpModules configured in this section.

<modules runAllManagedModulesForAllRequests=“true”>

      <remove name="AnonymousIdentification" />

      <remove name="FileAuthorization" />

      <remove name="Profile" />

      <remove name="WebDAVModule" />

      <remove name="Session" />

      <add name="SPRequestModule" preCondition="integratedMode" type="Microsoft.SharePoint.
ApplicationRuntime.SPRequestModule, Microsoft.SharePoint, Version=, Culture=neutral, 
PublicKeyToken=71e9bce111e9429c" />

      <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, 
System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

      <add name="SharePoint14Module" preCondition="integratedMode" />

      <add name="StateServiceModule" type="Microsoft.Office.Server.Administration.StateModule, 
Microsoft.Office.Server, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

      <add name="PublishingHttpModule" type="Microsoft.SharePoint.Publishing.PublishingHttpModule, 
Microsoft.SharePoint.Publishing, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

      <add name="Session" type="System.Web.SessionState.SessionStateModule" />


In SharePoint 2010 many HTTPMODULE are removed like AnonymousIdentification, FileAuthorization, Profile, WebDAVModule, Session. This means functionalities like Session State etc are not applicable to SharePoint site. Instead SharePoint provides its own implementation. Thus SharePoint encourages Stateless Code.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s