Web.config 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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=169433
  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=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10. </configSections>
  11. <connectionStrings>
  12. <add name="DefaultConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnet-EmisTerminal-20181023172735;Integrated Security=SSPI" providerName="System.Data.SqlClient" />
  13. </connectionStrings>
  14. <appSettings>
  15. <add key="webpages:Version" value="2.0.0.0" />
  16. <add key="webpages:Enabled" value="false" />
  17. <add key="PreserveLoginUrl" value="true" />
  18. <add key="ClientValidationEnabled" value="true" />
  19. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  20. <add key="EMISUrl" value="http://192.168.0.66:8002" />
  21. <!--<add key="EMISUrl" value="http://localhost:26692"/>-->
  22. <add key="EMISReportUrl" value="http://192.168.0.66:8202/reportserver" />
  23. <add key="EMISReportUser" value="administrator" />
  24. <add key="EMISReportPass" value="Bow1n" />
  25. <add key="NETCAPwd" value="12345678" />
  26. </appSettings>
  27. <system.web>
  28. <compilation debug="true" targetFramework="4.0" />
  29. <authentication mode="Forms">
  30. <forms loginUrl="~/Account/Login" timeout="2880" />
  31. </authentication>
  32. <pages>
  33. <namespaces>
  34. <add namespace="System.Web.Helpers" />
  35. <add namespace="System.Web.Mvc" />
  36. <add namespace="System.Web.Mvc.Ajax" />
  37. <add namespace="System.Web.Mvc.Html" />
  38. <add namespace="System.Web.Optimization" />
  39. <add namespace="System.Web.Routing" />
  40. <add namespace="System.Web.WebPages" />
  41. </namespaces>
  42. </pages>
  43. </system.web>
  44. <system.webServer>
  45. <validation validateIntegratedModeConfiguration="false" />
  46. <modules runAllManagedModulesForAllRequests="true" />
  47. <handlers>
  48. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
  49. <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
  50. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  51. <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" />
  52. <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" />
  53. <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" />
  54. </handlers></system.webServer>
  55. <runtime>
  56. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  57. <dependentAssembly>
  58. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  59. <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  60. </dependentAssembly>
  61. <dependentAssembly>
  62. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  63. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  64. </dependentAssembly>
  65. <dependentAssembly>
  66. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  67. <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  68. </dependentAssembly>
  69. </assemblyBinding>
  70. </runtime>
  71. <entityFramework>
  72. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  73. </entityFramework>
  74. </configuration>