Web.config
上传用户:huazai0421
上传日期:2008-05-30
资源大小:405k
文件大小:7k
源码类别:

SilverLight

开发平台:

C#

  1. <?xml version="1.0"?>
  2. <configuration>
  3. <configSections>
  4. <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  5. <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  6. <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  7. <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  8. <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
  9. <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  10. <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  11. <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  12. </sectionGroup>
  13. </sectionGroup>
  14. </sectionGroup>
  15. </configSections>
  16. <appSettings/>
  17. <connectionStrings/>
  18. <system.web>
  19. <!-- 
  20.             Set compilation debug="true" to insert debugging 
  21.             symbols into the compiled page. Because this 
  22.             affects performance, set this value to true only 
  23.             during development.
  24.         -->
  25. <compilation debug="true">
  26. <assemblies>
  27. <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  28. <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  29. <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  30. <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  31. </assemblies>
  32. </compilation>
  33. <!--
  34.             The <authentication> section enables configuration 
  35.             of the security authentication mode used by 
  36.             ASP.NET to identify an incoming user. 
  37.         -->
  38. <authentication mode="Windows"/>
  39. <!--
  40.             The <customErrors> section enables configuration 
  41.             of what to do if/when an unhandled error occurs 
  42.             during the execution of a request. Specifically, 
  43.             it enables developers to configure html error pages 
  44.             to be displayed in place of a error stack trace.
  45.         <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  46.             <error statusCode="403" redirect="NoAccess.htm" />
  47.             <error statusCode="404" redirect="FileNotFound.htm" />
  48.         </customErrors>
  49.         -->
  50. <pages>
  51. <controls>
  52. <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  53. <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  54. </controls>
  55. </pages>
  56. <httpHandlers>
  57. <remove verb="*" path="*.asmx"/>
  58. <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  59. <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"/>
  60. <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
  61. </httpHandlers>
  62. <httpModules>
  63. <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  64. </httpModules>
  65. </system.web>
  66. <system.codedom>
  67. <compilers>
  68. <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
  69. <providerOption name="CompilerVersion" value="v3.5"/>
  70. <providerOption name="WarnAsError" value="false"/>
  71. </compiler>
  72. </compilers>
  73. </system.codedom>
  74. <!-- 
  75.         The system.webServer section is required for running ASP.NET AJAX under Internet
  76.         Information Services 7.0.  It is not necessary for previous version of IIS.
  77.     -->
  78. <system.webServer>
  79. <validation validateIntegratedModeConfiguration="false"/>
  80. <modules>
  81. <remove name="ScriptModule"/>
  82. <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  83. </modules>
  84. <handlers>
  85. <remove name="WebServiceHandlerFactory-Integrated"/>
  86. <remove name="ScriptHandlerFactory"/>
  87. <remove name="ScriptHandlerFactoryAppServices"/>
  88. <remove name="ScriptResource"/>
  89. <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"/>
  90. <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"/>
  91. <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  92. </handlers>
  93. </system.webServer>
  94. <runtime>
  95. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  96. <dependentAssembly>
  97. <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
  98. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
  99. </dependentAssembly>
  100. <dependentAssembly>
  101. <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
  102. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
  103. </dependentAssembly>
  104. </assemblyBinding>
  105. </runtime>
  106. </configuration>