Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!

Main Web.config

By: garfbradaz on Oct 7th, 2012  |  syntax: XML  |  size: 4.25 KB  |  views: 259  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10.   </configSections>
  11.   <connectionStrings>
  12.     <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
  13.     <add name="DefaultConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnet-Accountable-20120920192149;Integrated Security=SSPI"
  14.      providerName="System.Data.SqlClient" />
  15.     <add name="AccountsContext" connectionString="Data Source=GANDC-PC\SQLEXPRESS;Initial Catalog=Accounts;Integrated Security=True;MultipleActiveResultSets=True"
  16.      providerName="System.Data.SqlClient" />
  17.   </connectionStrings>
  18.   <appSettings>
  19.     <add key="webpages:Version" value="2.0.0.0" />
  20.     <add key="webpages:Enabled" value="false" />
  21.     <add key="PreserveLoginUrl" value="true" />
  22.     <add key="ClientValidationEnabled" value="true" />
  23.     <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  24.   </appSettings>
  25.   <system.web>
  26.     <compilation debug="true" targetFramework="4.0" />
  27.     <authentication mode="Forms">
  28.       <forms loginUrl="~/Account/Login" timeout="2880" />
  29.     </authentication>
  30.     <pages>
  31.       <namespaces>
  32.         <add namespace="System.Web.Helpers" />
  33.         <add namespace="System.Web.Mvc" />
  34.         <add namespace="System.Web.Mvc.Ajax" />
  35.         <add namespace="System.Web.Mvc.Html" />
  36.         <add namespace="System.Web.Optimization" />
  37.         <add namespace="System.Web.Routing" />
  38.         <add namespace="System.Web.WebPages" />
  39.       </namespaces>
  40.     </pages>
  41.   </system.web>
  42.   <system.webServer>
  43.     <validation validateIntegratedModeConfiguration="false" />
  44.     <modules runAllManagedModulesForAllRequests="true" />
  45.     <handlers>
  46.       <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
  47.       <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
  48.       <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  49.       <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" />
  50.       <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" />
  51.       <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" />
  52.     </handlers>
  53.   </system.webServer>
  54.   <runtime>
  55.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  56.       <dependentAssembly>
  57.         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  58.         <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  59.       </dependentAssembly>
  60.       <dependentAssembly>
  61.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  62.         <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  63.       </dependentAssembly>
  64.       <dependentAssembly>
  65.         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  66.         <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  67.       </dependentAssembly>
  68.     </assemblyBinding>
  69.   </runtime>
  70.   <entityFramework>
  71.     <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  72.   </entityFramework>
  73. </configuration>