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=14.0.0.0, Culture=neutral, 
PublicKeyToken=71e9bce111e9429c" />

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

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

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

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

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

    </modules>

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

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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