PageRenderTime 10ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/Visual Studio 2008/CSASPNETMVCCustomActionFilter/Web.config

#
Unknown | 196 lines | 173 code | 23 blank | 0 comment | 0 complexity | 433e458b2add860cb6e7ea9b0fdf302f MD5 | raw file
  1<?xml version="1.0"?>
  2<!-- 
  3    Note: As an alternative to hand editing this file you can use the 
  4    web admin tool to configure settings for your application. Use
  5    the Website->Asp.Net Configuration option in Visual Studio.
  6    A full list of settings and comments can be found in 
  7    machine.config.comments usually located in 
  8    \Windows\Microsoft.Net\Framework\v2.x\Config 
  9-->
 10<configuration>
 11
 12  <configSections>
 13    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
 14      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
 15        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
 16        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
 17          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
 18          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
 19          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
 20          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
 21        </sectionGroup>
 22      </sectionGroup>
 23    </sectionGroup>
 24  </configSections>
 25
 26  <appSettings/>
 27
 28  <connectionStrings>
 29    <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
 30  </connectionStrings>
 31
 32  <system.web>
 33
 34    <!-- 
 35            Set compilation debug="true" to insert debugging 
 36            symbols into the compiled page. Because this 
 37            affects performance, set this value to true only 
 38            during development.
 39    -->
 40    <compilation debug="false">
 41      <assemblies>
 42        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
 43        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 44        <add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 45        <add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 46        <add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 47        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
 48        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
 49        <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
 50      </assemblies>
 51    </compilation>
 52
 53    <!--
 54            The <authentication> section enables configuration 
 55            of the security authentication mode used by 
 56            ASP.NET to identify an incoming user. 
 57    -->
 58    <authentication mode="Forms">
 59      <forms loginUrl="~/Account/LogOn" timeout="2880" />
 60    </authentication>
 61
 62    <membership>
 63      <providers>
 64        <clear/>
 65        <add name="AspNetSqlMembershipProvider"
 66             type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
 67             connectionStringName="ApplicationServices"
 68             enablePasswordRetrieval="false"
 69             enablePasswordReset="true"
 70             requiresQuestionAndAnswer="false"
 71             requiresUniqueEmail="false"
 72             passwordFormat="Hashed"
 73             maxInvalidPasswordAttempts="5"
 74             minRequiredPasswordLength="6"
 75             minRequiredNonalphanumericCharacters="0"
 76             passwordAttemptWindow="10"
 77             passwordStrengthRegularExpression=""
 78             applicationName="/"
 79                />
 80      </providers>
 81    </membership>
 82
 83    <profile>
 84      <providers>
 85        <clear/>
 86        <add name="AspNetSqlProfileProvider"
 87             type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
 88             connectionStringName="ApplicationServices"
 89             applicationName="/"
 90                />
 91      </providers>
 92    </profile>
 93
 94    <roleManager enabled="false">
 95      <providers>
 96        <clear />
 97        <add connectionStringName="ApplicationServices" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
 98        <add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
 99      </providers>
100    </roleManager>
101
102    <!--
103            The <customErrors> section enables configuration 
104            of what to do if/when an unhandled error occurs 
105            during the execution of a request. Specifically, 
106            it enables developers to configure html error pages 
107            to be displayed in place of a error stack trace.
108
109        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
110            <error statusCode="403" redirect="NoAccess.htm" />
111            <error statusCode="404" redirect="FileNotFound.htm" />
112        </customErrors>
113    -->
114
115    <pages>
116      <controls>
117        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
118        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
119      </controls>
120
121      <namespaces>
122        <add namespace="System.Web.Mvc"/>
123        <add namespace="System.Web.Mvc.Ajax"/>
124        <add namespace="System.Web.Mvc.Html"/>
125        <add namespace="System.Web.Routing"/>
126        <add namespace="System.Linq"/>
127        <add namespace="System.Collections.Generic"/>
128      </namespaces>
129    </pages>
130
131    <httpHandlers>
132      <remove verb="*" path="*.asmx"/>
133      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
134      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
135      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
136      <add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
137    </httpHandlers>
138
139    <httpModules>
140      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
141      <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
142    </httpModules>
143
144  </system.web>
145
146  <system.codedom>
147    <compilers>
148      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4"
149                type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
150        <providerOption name="CompilerVersion" value="v3.5"/>
151        <providerOption name="WarnAsError" value="false"/>
152      </compiler>
153
154      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4"
155                type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
156        <providerOption name="CompilerVersion" value="v3.5"/>
157        <providerOption name="OptionInfer" value="true"/>
158        <providerOption name="WarnAsError" value="false"/>
159      </compiler>
160    </compilers>
161  </system.codedom>
162
163  <system.web.extensions/>
164
165  <!-- 
166        The system.webServer section is required for running ASP.NET AJAX under Internet
167        Information Services 7.0.  It is not necessary for previous version of IIS.
168  -->
169  <system.webServer>
170    <validation validateIntegratedModeConfiguration="false"/>
171
172    <modules runAllManagedModulesForAllRequests="true">
173      <remove name="ScriptModule" />
174      <remove name="UrlRoutingModule" />
175      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
176      <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
177    </modules>
178
179    <handlers>
180      <remove name="WebServiceHandlerFactory-Integrated"/>
181      <remove name="ScriptHandlerFactory" />
182      <remove name="ScriptHandlerFactoryAppServices" />
183      <remove name="ScriptResource" />
184      <remove name="MvcHttpHandler" />
185      <remove name="UrlRoutingHandler" />
186      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
187           type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
188      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
189           type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
190      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
191      <add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
192      <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
193    </handlers>
194  </system.webServer>
195
196</configuration>