The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

Web.config 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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=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="App_Data\ConnectionStrings.config" />
  11. <!-- Create ConnectionStrings.config and add your connection string node-->
  12. <!--
  13. <connectionStrings>
  14. <add name="TeknikEntities"
  15. providerName="System.Data.SqlClient"
  16. connectionString="Data Source=<server name>,<port>\<sql server name>;Initial Catalog=<database>;Integrated Security=False;User Id=<username>;Password=<password>" />
  17. </connectionStrings>
  18. -->
  19. <appSettings>
  20. <add key="webpages:Version" value="3.0.0.0" />
  21. <add key="webpages:Enabled" value="false" />
  22. <add key="ClientValidationEnabled" value="true" />
  23. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  24. </appSettings>
  25. <system.web>
  26. <httpCookies httpOnlyCookies="true" requireSSL="true" />
  27. <customErrors mode="Off" />
  28. <authentication mode="Forms">
  29. <forms domain=".teknik.io" protection="All" enableCrossAppRedirects="true" name="TeknikAuth" />
  30. </authentication>
  31. <compilation debug="true" targetFramework="4.5.2" />
  32. <httpRuntime targetFramework="4.5.2" maxRequestLength="1048576" executionTimeout="3600" />
  33. <pages buffer="true" enableViewState="false" />
  34. </system.web>
  35. <system.webServer>
  36. <modules>
  37. <remove name="FormsAuthentication" />
  38. <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />
  39. <add name="PerfModule" type="Teknik.Modules.PerformanceMonitorModule, Teknik" />
  40. <remove name="UrlRoutingModule-4.0" />
  41. <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="" />
  42. </modules>
  43. <staticContent>
  44. <mimeMap fileExtension="woff" mimeType="application/font-woff" />
  45. <mimeMap fileExtension="woff2" mimeType="application/font-woff" />
  46. <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00" cacheControlCustom="public" />
  47. </staticContent>
  48. <urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="true" />
  49. <httpCompression cacheControlHeader="max-age=86400" noCompressionForHttp10="false" noCompressionForProxies="false" sendCacheHeaders="true" />
  50. <security>
  51. <requestFiltering>
  52. <requestLimits maxAllowedContentLength="1073741824" />
  53. </requestFiltering>
  54. </security>
  55. <httpProtocol>
  56. <customHeaders>
  57. <add name="Access-Control-Allow-Credentials" value="true" />
  58. <add name="Access-Control-Allow-Methods" value="GET, PUT, POST, DELETE, OPTIONS" />
  59. <add name="Access-Control-Allow-Headers" value="Accept, Content-Type" />
  60. <add name="strict-transport-security" value="max-age=31536000; includeSubdomains" />
  61. </customHeaders>
  62. </httpProtocol>
  63. <httpErrors errorMode="Detailed" />
  64. </system.webServer>
  65. <runtime>
  66. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  67. <dependentAssembly>
  68. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  69. <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
  70. </dependentAssembly>
  71. <dependentAssembly>
  72. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  73. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  74. </dependentAssembly>
  75. <dependentAssembly>
  76. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  77. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  78. </dependentAssembly>
  79. <dependentAssembly>
  80. <assemblyIdentity name="System.Web.Helpers" 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="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  86. </dependentAssembly>
  87. <dependentAssembly>
  88. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  89. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  90. </dependentAssembly>
  91. <dependentAssembly>
  92. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  93. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  94. </dependentAssembly>
  95. </assemblyBinding>
  96. </runtime>
  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. <system.data>
  108. <DbProviderFactories>
  109. <remove invariant="MySql.Data.MySqlClient" />
  110. <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
  111. </DbProviderFactories>
  112. </system.data>
  113. </configuration>