Advertisement
Guest User

Untitled

a guest
Mar 20th, 2016
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.88 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=301879
  5. -->
  6. <configuration>
  7. <configSections>
  8. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
  9. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  10. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  11. </configSections>
  12. <appSettings>
  13. <add key="CorsSites" value="http://localhost:3000,http://127.0.0.1:3000"/>
  14. <add key="webpages:Version" value="3.0.0.0" />
  15. <add key="webpages:Enabled" value="false" />
  16. <add key="ClientValidationEnabled" value="true" />
  17. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  18. </appSettings>
  19. <connectionStrings>
  20. <add name="[redacted]" connectionString="Data Source=(localdb)\v11.0;Initial Catalog=CFT;Integrated Security=True;MultipleActiveResultSets=true;" providerName="System.Data.SqlClient" />
  21. </connectionStrings>
  22. <!--
  23. For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
  24.  
  25. The following attributes can be set on the <httpRuntime> tag.
  26. <system.Web>
  27. <httpRuntime targetFramework="4.5" />
  28. </system.Web>
  29. -->
  30. <system.web>
  31. <authentication mode="Windows" />
  32. <authorization>
  33. <allow verbs="OPTIONS" users="*" />
  34. <deny users="?" />
  35. </authorization>
  36. <compilation debug="true" targetFramework="4.5" />
  37. <httpRuntime targetFramework="4.5" />
  38. <httpModules>
  39. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
  40. </httpModules>
  41. </system.web>
  42. <system.webServer>
  43. <handlers>
  44. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
  45. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
  46. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  47. <remove name="TRACEVerbHandler" />
  48. <remove name="OPTIONSVerbHandler" />
  49. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode,runtimeVersionv4.0" />
  50. <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
  51. <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
  52. </handlers>
  53. <validation validateIntegratedModeConfiguration="false" />
  54. <modules runAllManagedModulesForAllRequests="true">
  55. <remove name="FormsAuthenticationModule" />
  56. <remove name="WebDAVModule" />
  57. <remove name="ApplicationInsightsWebTracking" />
  58. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
  59. </modules>
  60. </system.webServer>
  61. <runtime>
  62. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  63. <dependentAssembly>
  64. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  65. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  66. </dependentAssembly>
  67. <dependentAssembly>
  68. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  69. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  70. </dependentAssembly>
  71. <dependentAssembly>
  72. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  73. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  74. </dependentAssembly>
  75. <dependentAssembly>
  76. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  77. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  78. </dependentAssembly>
  79. <dependentAssembly>
  80. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  81. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  82. </dependentAssembly>
  83. <dependentAssembly>
  84. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  85. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  86. </dependentAssembly>
  87. </assemblyBinding>
  88. </runtime>
  89. <system.codedom>
  90. <compilers>
  91. <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4" compilerOptions="/langversion:5 /nowarn:1659;1699;1701">
  92. <providerOption name="CompilerVersion" value="v4.0" />
  93. </compiler>
  94. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  95. </compilers>
  96. </system.codedom>
  97. <entityFramework>
  98. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  99. <parameters>
  100. <parameter value="mssqllocaldb" />
  101. </parameters>
  102. </defaultConnectionFactory>
  103. <providers>
  104. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  105. </providers>
  106. </entityFramework>
  107. <log4net>
  108. <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
  109. <file value="C:\Temp\log4net.log" />
  110. <appendToFile value="true" />
  111. <maximumFileSize value="500KB" />
  112. <maxSizeRollBackups value="2" />
  113. <layout type="log4net.Layout.PatternLayout">
  114. <conversionPattern value="%date %level %logger - %message%newline" />
  115. </layout>
  116. </appender>
  117. <root>
  118. <level value="All" />
  119. <appender-ref ref="RollingFile" />
  120. </root>
  121. </log4net>
  122. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement