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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></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="true" />
  18. </appSettings>
  19. <!--
  20. For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
  21. The following attributes can be set on the <httpRuntime> tag.
  22. <system.Web>
  23. <httpRuntime targetFramework="4.5.2" />
  24. </system.Web>
  25. -->
  26. <system.web>
  27. <customErrors mode="Off" />
  28. <authentication mode="Forms">
  29. <forms loginUrl="~/Profile/Login" timeout="2880" />
  30. </authentication>
  31. <compilation debug="true" targetFramework="4.5.2" />
  32. <httpRuntime targetFramework="4.5.2" />
  33. </system.web>
  34. <system.webServer>
  35. <modules>
  36. <remove name="FormsAuthentication" />
  37. <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />
  38. </modules>
  39. <!--<rewrite>
  40. <rules>
  41. <rule name="sub domain map" patternSyntax="ECMAScript" stopProcessing="false">
  42. <match url="(.*)" />
  43. <action type="Rewrite" url="{C:1}/{R:1}" appendQueryString="true" />
  44. <conditions trackAllCaptures="true">
  45. <add input="{HTTP_HOST}" pattern="([a-zA-Z0-9]+)?.?teknik.io" />
  46. </conditions>
  47. </rule>
  48. </rules>
  49. </rewrite>-->
  50. </system.webServer>
  51. <runtime>
  52. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  53. <dependentAssembly>
  54. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  55. <bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0" />
  56. </dependentAssembly>
  57. <dependentAssembly>
  58. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  59. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  60. </dependentAssembly>
  61. <dependentAssembly>
  62. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  63. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  64. </dependentAssembly>
  65. <dependentAssembly>
  66. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  67. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  68. </dependentAssembly>
  69. <dependentAssembly>
  70. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  71. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  72. </dependentAssembly>
  73. <dependentAssembly>
  74. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  75. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  76. </dependentAssembly>
  77. <dependentAssembly>
  78. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  79. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  80. </dependentAssembly>
  81. </assemblyBinding>
  82. </runtime>
  83. <entityFramework>
  84. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  85. <parameters>
  86. <parameter value="mssqllocaldb" />
  87. </parameters>
  88. </defaultConnectionFactory>
  89. <providers>
  90. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  91. </providers>
  92. </entityFramework>
  93. </configuration>