⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 web.config

📁 《圣殿祭司的ASP.NET 2.0开发详解——使用C#》光盘内容.包含了书籍所含的源代码.非常经典的一本asp.net2.0的书籍
💻 CONFIG
字号:
<?xml version="1.0"?>
<!-- 
    Note: As an alternative to hand editing this file you can use the 
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in 
    machine.config.comments usually located in 
    \Windows\Microsoft.Net\Framework\v2.x\Config 
-->
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    <!-- 
        The configSections define a section for ASP.NET Atlas
    -->
    <configSections>
        <sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">
            <section name="scripts" type="Microsoft.Web.Configuration.ScriptsSection"/>
            <section name="converters" type="Microsoft.Web.Configuration.ConvertersSection"/>
        </sectionGroup>
    </configSections>

    <!-- 
        atlas.web section defines the script files required for the Atlas framework when used in 
        the client
    -->
    <microsoft.web>
        <scripts scriptLibraryPath="~/ScriptLibrary/">
        </scripts>
        <converters>
            <add type="Microsoft.Web.Services.Converters.DateTimeConverter"/>
            <add type="Microsoft.Web.Services.Converters.DataSetConverter"/>
            <add type="Microsoft.Web.Services.Converters.DataRowConverter"/>
            <add type="Microsoft.Web.Services.Converters.DataTableConverter"/>
        </converters>
    </microsoft.web>
    <appSettings/>
    <connectionStrings/>
    <system.web>
      <pages>
          <controls>
              <add namespace="Microsoft.Web" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
              <add namespace="Microsoft.Web.Components" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
              <add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
          </controls>
      </pages>
       <!-- 
            Set compilation debug="true" to insert debugging 
            symbols into the compiled page. Because this 
            affects performance, set this value to true only 
            during development.
        -->
        <compilation debug="false">
          <buildProviders>
              <add extension=".script" type="Microsoft.Web.Compilation.ScriptBuildProvider" />
          </buildProviders>
        </compilation>

        <!--
            ASMX is mapped to a new handler so that proxy javascripts can also be served
         -->
        <httpHandlers>
            <remove verb="*" path="*.asmx"/>
            <add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
        </httpHandlers>
        <httpModules>
            <add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule"/>
        </httpModules>
        <!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->
        <authentication mode="Windows"/>
        <!--
            The <customErrors> section enables configuration 
            of what to do if/when an unhandled error occurs 
            during the execution of a request. Specifically, 
            it enables developers to configure html error pages 
            to be displayed in place of a error stack trace.

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm"/>
            <error statusCode="404" redirect="FileNotFound.htm"/>
        </customErrors>
        -->
    </system.web>
</configuration>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -