The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Web.config 4.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0"?>
  2. <!--
  3. For more information on how to configure your ASP.NET application, please visit
  4. http://go.microsoft.com/fwlink/?LinkId=301880
  5. -->
  6. <configuration>
  7. <configSections>
  8. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
  9. </configSections>
  10. <connectionStrings configSource="ConnectionStrings.config"/>
  11. <!-- Create ConnectionStrings.config and add your connection string-->
  12. <appSettings>
  13. <add key="webpages:Version" value="3.0.0.0"/>
  14. <add key="webpages:Enabled" value="false"/>
  15. <add key="ClientValidationEnabled" value="true"/>
  16. <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
  17. <add key="RouteDebugger:Enabled" value="false"/>
  18. </appSettings>
  19. <system.web>
  20. <customErrors mode="Off"/>
  21. <authentication mode="Forms"/>
  22. <compilation debug="true" targetFramework="4.5.2"/>
  23. <httpRuntime targetFramework="4.5.2" maxRequestLength="1048576"/>
  24. <pages buffer="true" enableViewState="false"/>
  25. </system.web>
  26. <system.webServer>
  27. <modules>
  28. <remove name="FormsAuthentication"/>
  29. <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule"/>
  30. <add name="PerfModule" type="Teknik.Modules.PerformanceMonitorModule, Teknik"/>
  31. <remove name="UrlRoutingModule-4.0"/>
  32. <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition=""/>
  33. </modules>
  34. <staticContent>
  35. <mimeMap fileExtension="woff" mimeType="application/font-woff"/>
  36. <mimeMap fileExtension="woff2" mimeType="application/font-woff"/>
  37. <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00" cacheControlCustom="public"/>
  38. </staticContent>
  39. <urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="true"/>
  40. <security>
  41. <requestFiltering>
  42. <requestLimits maxAllowedContentLength="1073741824"/>
  43. </requestFiltering>
  44. </security>
  45. </system.webServer>
  46. <runtime>
  47. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  48. <dependentAssembly>
  49. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
  50. <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0"/>
  51. </dependentAssembly>
  52. <dependentAssembly>
  53. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
  54. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
  55. </dependentAssembly>
  56. <dependentAssembly>
  57. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
  58. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
  59. </dependentAssembly>
  60. <dependentAssembly>
  61. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
  62. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  63. </dependentAssembly>
  64. <dependentAssembly>
  65. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
  66. <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
  67. </dependentAssembly>
  68. <dependentAssembly>
  69. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
  70. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  71. </dependentAssembly>
  72. <dependentAssembly>
  73. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral"/>
  74. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
  75. </dependentAssembly>
  76. </assemblyBinding>
  77. </runtime>
  78. <entityFramework>
  79. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  80. <parameters>
  81. <parameter value="mssqllocaldb"/>
  82. </parameters>
  83. </defaultConnectionFactory>
  84. <providers>
  85. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
  86. </providers>
  87. </entityFramework>
  88. </configuration>