Advertisement
Ciwan

web.config

Apr 1st, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.89 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3.  For more information on how to configure your ASP.NET application, please visit
  4.  http://go.microsoft.com/fwlink/?LinkId=169433
  5.  -->
  6. <configuration>
  7.   <configSections>
  8.     <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  9.     <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10.   </configSections>
  11.   <connectionStrings>
  12.     <add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-BookSignings-20130302100122;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-BookSignings-20130302100122.mdf" providerName="System.Data.SqlClient" />
  13.   </connectionStrings>
  14.   <appSettings>
  15.     <add key="webpages:Version" value="2.0.0.0" />
  16.     <add key="webpages:Enabled" value="false" />
  17.     <add key="PreserveLoginUrl" value="true" />
  18.     <add key="ClientValidationEnabled" value="true" />
  19.     <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  20.   </appSettings>
  21.   <system.web>
  22.     <compilation debug="true" targetFramework="4.5" />
  23.     <httpRuntime targetFramework="4.5" />
  24.     <authentication mode="Forms">
  25.       <forms loginUrl="~/Account/Login" timeout="2880" />
  26.     </authentication>
  27.     <pages>
  28.       <namespaces>
  29.         <add namespace="System.Web.Helpers" />
  30.         <add namespace="System.Web.Mvc" />
  31.         <add namespace="System.Web.Mvc.Ajax" />
  32.         <add namespace="System.Web.Mvc.Html" />
  33.         <add namespace="System.Web.Optimization" />
  34.         <add namespace="System.Web.Routing" />
  35.         <add namespace="System.Web.WebPages" />
  36.       </namespaces>
  37.     </pages>
  38.   </system.web>
  39.   <system.webServer>
  40.     <validation validateIntegratedModeConfiguration="false" />
  41.     <handlers>
  42.       <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
  43.       <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
  44.       <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  45.       <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
  46.       <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
  47.       <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  48.     </handlers>
  49.   </system.webServer>
  50.   <runtime>
  51.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  52.       <dependentAssembly>
  53.         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  54.         <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  55.       </dependentAssembly>
  56.       <dependentAssembly>
  57.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  58.         <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  59.       </dependentAssembly>
  60.       <dependentAssembly>
  61.         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  62.         <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  63.       </dependentAssembly>
  64.     </assemblyBinding>
  65.   </runtime>
  66.   <entityFramework>
  67.     <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  68.   </entityFramework>
  69. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement