Advertisement
Guest User

web.config

a guest
Jan 25th, 2014
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.48 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=152368
  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.     <sectionGroup name="bundleTransformer">
  11.       <section name="core" type="BundleTransformer.Core.Configuration.CoreSettings, BundleTransformer.Core" />
  12.       <section name="less" type="BundleTransformer.Less.Configuration.LessSettings, BundleTransformer.Less" />
  13.     </sectionGroup>
  14.     <sectionGroup name="jsEngineSwitcher">
  15.       <section name="core" type="JavaScriptEngineSwitcher.Core.Configuration.CoreConfiguration, JavaScriptEngineSwitcher.Core" />
  16.     </sectionGroup>
  17.   </configSections>
  18.   <connectionStrings>
  19.     <add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-FiveFishFrontEnd-20140125123208;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-FiveFishFrontEnd-20140125123208.mdf" />
  20.   </connectionStrings>
  21.   <appSettings>
  22.     <add key="webpages:Version" value="2.0.0.0" />
  23.     <add key="webpages:Enabled" value="false" />
  24.     <add key="PreserveLoginUrl" value="true" />
  25.     <add key="ClientValidationEnabled" value="true" />
  26.     <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  27.   </appSettings>
  28.   <system.web>
  29.     <httpRuntime targetFramework="4.5" />
  30.     <compilation debug="true" targetFramework="4.5" />
  31.     <authentication mode="Forms">
  32.       <forms loginUrl="~/Account/Login" timeout="2880" />
  33.     </authentication>
  34.     <pages>
  35.       <namespaces>
  36.         <add namespace="System.Web.Helpers" />
  37.         <add namespace="System.Web.Mvc" />
  38.         <add namespace="System.Web.Mvc.Ajax" />
  39.         <add namespace="System.Web.Mvc.Html" />
  40.         <add namespace="System.Web.Optimization" />
  41.         <add namespace="System.Web.Routing" />
  42.         <add namespace="System.Web.WebPages" />
  43.       </namespaces>
  44.     </pages>
  45.     <profile defaultProvider="DefaultProfileProvider">
  46.       <providers>
  47.         <add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
  48.       </providers>
  49.     </profile>
  50.     <membership defaultProvider="DefaultMembershipProvider">
  51.       <providers>
  52.         <add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
  53.       </providers>
  54.     </membership>
  55.     <roleManager defaultProvider="DefaultRoleProvider">
  56.       <providers>
  57.         <add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
  58.       </providers>
  59.     </roleManager>
  60.     <!--
  61.            If you are deploying to a cloud environment that has multiple web server instances,
  62.            you should change session state mode from "InProc" to "Custom". In addition,
  63.            change the connection string named "DefaultConnection" to connect to an instance
  64.            of SQL Server (including SQL Azure and SQL  Compact) instead of to SQL Server Express.
  65.      -->
  66.     <sessionState mode="InProc" customProvider="DefaultSessionProvider">
  67.       <providers>
  68.         <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
  69.       </providers>
  70.     </sessionState>
  71.   </system.web>
  72.   <system.webServer>
  73.     <validation validateIntegratedModeConfiguration="false" />
  74.     <handlers>
  75.       <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
  76.       <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
  77.       <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  78.       <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" />
  79.       <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" />
  80.       <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" />
  81.       <add name="LessAssetHandler" path="*.less" verb="GET" type="BundleTransformer.Less.HttpHandlers.LessAssetHandler, BundleTransformer.Less" resourceType="File" preCondition="" />
  82.     </handlers>
  83.   </system.webServer>
  84.   <runtime>
  85.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  86.       <dependentAssembly>
  87.         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  88.         <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  89.       </dependentAssembly>
  90.       <dependentAssembly>
  91.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  92.         <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  93.       </dependentAssembly>
  94.       <dependentAssembly>
  95.         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  96.         <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  97.       </dependentAssembly>
  98.       <dependentAssembly>
  99.         <assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" />
  100.         <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
  101.       </dependentAssembly>
  102.       <dependentAssembly>
  103.         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  104.         <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  105.       </dependentAssembly>
  106.     </assemblyBinding>
  107.   </runtime>
  108.   <entityFramework>
  109.     <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  110.       <parameters>
  111.         <parameter value="v11.0" />
  112.       </parameters>
  113.     </defaultConnectionFactory>
  114.   </entityFramework>
  115.   <bundleTransformer xmlns="http://tempuri.org/BundleTransformer.Configuration.xsd">
  116.     <core>
  117.       <css>
  118.         <minifiers>
  119.           <add name="NullMinifier" type="BundleTransformer.Core.Minifiers.NullMinifier, BundleTransformer.Core" />
  120.         </minifiers>
  121.         <translators>
  122.           <add name="NullTranslator" type="BundleTransformer.Core.Translators.NullTranslator, BundleTransformer.Core" enabled="false" />
  123.           <add name="LessTranslator" type="BundleTransformer.Less.Translators.LessTranslator, BundleTransformer.Less" />
  124.         </translators>
  125.       </css>
  126.       <js>
  127.         <minifiers>
  128.           <add name="NullMinifier" type="BundleTransformer.Core.Minifiers.NullMinifier, BundleTransformer.Core" />
  129.         </minifiers>
  130.         <translators>
  131.           <add name="NullTranslator" type="BundleTransformer.Core.Translators.NullTranslator, BundleTransformer.Core" enabled="false" />
  132.         </translators>
  133.       </js>
  134.     </core>
  135.     <less>
  136.       <jsEngine name="MsieJsEngine" />
  137.     </less>
  138.   </bundleTransformer>
  139.   <jsEngineSwitcher xmlns="http://tempuri.org/JavaScriptEngineSwitcher.Configuration.xsd">
  140.     <core>
  141.       <engines>
  142.         <add name="MsieJsEngine" type="JavaScriptEngineSwitcher.Msie.MsieJsEngine, JavaScriptEngineSwitcher.Msie" />
  143.       </engines>
  144.     </core>
  145.   </jsEngineSwitcher>
  146. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement