Web.config
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:8k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <?xml version="1.0"?>
  2. <!--
  3.     注意: 除了手动编辑此文件以外,您还可以使用 Web 管理工具来
  4.     配置应用程序的设置。
  5.     可以使用 Visual Studio 中的“网站”->“Asp.Net 配置”选项。
  6.     设置和注释的完整列表在    machine.config.comments 中,
  7.    该文件通常位于
  8.     WindowsMicrosoft.NetFrameworkv2.xConfig 中
  9. -->
  10. <configuration>
  11. <configSections>
  12. <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  13. <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  14. <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  15. <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  16. <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
  17. <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  18. <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  19. <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/></sectionGroup></sectionGroup></sectionGroup></configSections><appSettings/>
  20. <connectionStrings/>
  21. <system.web>
  22. <!--
  23.             设置 compilation debug="true" 可将调试符号
  24.             插入已编译的页面中。
  25.             但由于这会影响性能,因此只在开发过程中将此值
  26.             设置为 true。
  27.         -->
  28. <compilation debug="false">
  29. <assemblies>
  30. <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  31. <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  32. <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  33. <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies></compilation>
  34. <!--
  35.             通过 <authentication> 节可以配置 ASP.NET 用来 
  36.             识别进入用户的
  37.             安全身份验证模式。 
  38.         -->
  39. <authentication mode="Windows"/>
  40. <!--
  41.             如果在执行请求的过程中出现未处理的错误,
  42.             则通过 <customErrors> 节可以配置相应的处理步骤。
  43.             具体说来,
  44.             开发人员通过该节可以配置
  45.             要显示的 HTML 错误页以代替错误堆栈跟踪。
  46.         <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  47.             <error statusCode="403" redirect="NoAccess.htm" />
  48.             <error statusCode="404" redirect="FileNotFound.htm" />
  49.         </customErrors>
  50.         -->
  51. <pages>
  52. <controls>
  53. <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  54. <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></controls></pages>
  55. <httpHandlers>
  56. <remove verb="*" path="*.asmx"/>
  57. <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  58. <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  59. <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></httpHandlers>
  60. <httpModules>
  61. <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></httpModules></system.web>
  62. <system.codedom>
  63. <compilers>
  64. <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
  65. <providerOption name="CompilerVersion" value="v3.5"/>
  66. <providerOption name="WarnAsError" value="false"/></compiler>
  67. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
  68. <providerOption name="CompilerVersion" value="v3.5"/>
  69. <providerOption name="OptionInfer" value="true"/>
  70. <providerOption name="WarnAsError" value="false"/></compiler></compilers></system.codedom>
  71. <system.webServer>
  72. <validation validateIntegratedModeConfiguration="false"/>
  73. <modules>
  74. <remove name="ScriptModule"/>
  75. <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></modules>
  76. <handlers>
  77. <remove name="WebServiceHandlerFactory-Integrated"/>
  78. <remove name="ScriptHandlerFactory"/>
  79. <remove name="ScriptHandlerFactoryAppServices"/>
  80. <remove name="ScriptResource"/>
  81. <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  82. <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  83. <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></handlers></system.webServer>
  84. <runtime>
  85. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  86. <dependentAssembly>
  87. <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
  88. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly>
  89. <dependentAssembly>
  90. <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
  91. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly></assemblyBinding></runtime></configuration>