Web.config 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <configuration>
  2. <system.web>
  3. <!-- DYNAMIC DEBUG COMPILATION
  4. Set compilation debug="true" to enable ASPX debugging. Otherwise, setting this value to
  5. false will improve runtime performance of this application.
  6. Set compilation debug="true" to insert debugging symbols (.pdb information)
  7. into the compiled page. Because this creates a larger file that executes
  8. more slowly, you should set this value to true only when debugging and to
  9. false at all other times. For more information, refer to the documentation about
  10. debugging ASP.NET files.
  11. -->
  12. <compilation
  13. defaultLanguage="c#"
  14. debug="true"
  15. />
  16. <!-- CUSTOM ERROR MESSAGES
  17. Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
  18. Add <error> tags for each of the errors you want to handle.
  19. "On" Always display custom (friendly) messages.
  20. "Off" Always display detailed ASP.NET error information.
  21. "RemoteOnly" Display custom (friendly) messages only to users not running
  22. on the local Web server. This setting is recommended for security purposes, so
  23. that you do not display application detail information to remote clients.
  24. -->
  25. <customErrors mode="RemoteOnly" />
  26. <!-- AUTHENTICATION
  27. This section sets the authentication policies of the application. Possible modes are "Windows",
  28. "Forms", "Passport" and "None"
  29. "None" No authentication is performed.
  30. "Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to
  31. its settings for the application. Anonymous access must be disabled in IIS.
  32. "Forms" You provide a custom form (Web page) for users to enter their credentials, and then
  33. you authenticate them in your application. A user credential token is stored in a cookie.
  34. "Passport" Authentication is performed via a centralized authentication service provided
  35. by Microsoft that offers a single logon and core profile services for member sites.
  36. -->
  37. <authentication mode="None" />
  38. <!-- AUTHORIZATION
  39. This section sets the authorization policies of the application. You can allow or deny access
  40. to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
  41. (unauthenticated) users.
  42. -->
  43. <authorization>
  44. <allow users="*" /> <!-- Allow all users -->
  45. <!-- <allow users="[comma separated list of users]"
  46. roles="[comma separated list of roles]"/>
  47. <deny users="[comma separated list of users]"
  48. roles="[comma separated list of roles]"/>
  49. -->
  50. </authorization>
  51. <!-- APPLICATION-LEVEL TRACE LOGGING
  52. Application-level tracing enables trace log output for every page within an application.
  53. Set trace enabled="true" to enable application trace logging. If pageOutput="true", the
  54. trace information will be displayed at the bottom of each page. Otherwise, you can view the
  55. application trace log by browsing the "trace.axd" page from your web application
  56. root.
  57. -->
  58. <trace
  59. enabled="false"
  60. requestLimit="10"
  61. pageOutput="false"
  62. traceMode="SortByTime"
  63. localOnly="true"
  64. />
  65. <!-- SESSION STATE SETTINGS
  66. By default ASP.NET uses cookies to identify which requests belong to a particular session.
  67. If cookies are not available, a session can be tracked by adding a session identifier to the URL.
  68. To disable cookies, set sessionState cookieless="true".
  69. -->
  70. <sessionState
  71. mode="InProc"
  72. timeout="20"
  73. />
  74. <!-- GLOBALIZATION
  75. This section sets the globalization settings of the application.
  76. -->
  77. <globalization
  78. requestEncoding="utf-8"
  79. responseEncoding="utf-8"
  80. />
  81. </system.web>
  82. <appSettings>
  83. <add key="ConnectionString" value="SERVER=localhost;Database=test;User ID=test;Password=test;" />
  84. <add key="MigrationProvider" value="MySQL" />
  85. <add key="MigrationAsembly" value="F:\sandbox\migratortest\MigrationTest\bin\Debug\MigrationTest.dll" />
  86. </appSettings>
  87. </configuration>