zoukankan      html  css  js  c++  java
  • 使用Ext.Net时,配置文件的最简单写法

    使用Ext.Net时,配置文件的最简单写法

    <?xml version="1.0" encoding="utf-8"?>
    
    <!--
      有关如何配置 ASP.NET 应用程序的详细信息,请访问
      http://go.microsoft.com/fwlink/?LinkId=169433
      -->
    
    <configuration>
      <configSections>
        <section  name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false" />
      </configSections>
      <extnet scriptMode="Debug" theme="Gray"  />
      <system.web>
        <compilation debug="true" targetFramework="4.0" />
        <pages>
          <controls>
            <add assembly="Ext.Net" namespace="Ext.Net"  tagPrefix="ext"/>
          </controls>
        </pages>
        <httpModules>
          <add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net"/>
        </httpModules>
        <httpHandlers>
          <add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false"/>
        </httpHandlers>
      </system.web>
      <system.webServer>
        <staticContent>
          <mimeMap fileExtension=".json" mimeType="application/json"/>
          <mimeMap fileExtension=".woff" mimeType="application/x-woff"/>
        </staticContent>
        <modules>
          <add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net"/>
        </modules>
        <security>
          <authorization>
            <remove users="*" roles="" verbs=""/>
            <add accessType="Allow" users="*" verbs="GET,POST,PUT,DELETE"/>
          </authorization>
        </security>
        <validation validateIntegratedModeConfiguration="false"/>
        <handlers>
          <add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler"/>
        </handlers>
      </system.webServer>
    </configuration>
  • 相关阅读:
    刚刚开通
    腾讯面试经历2015
    排序之归并排序
    AC自动机
    后缀数组初步
    概率dp初探
    【NOIP2015】反思+题解
    Built-in functions
    poj2528 Mayor's posters(线段树区间覆盖)
    Codeforces #317 C.Lengthening Sticks(数学)
  • 原文地址:https://www.cnblogs.com/songxingzhu/p/3286736.html
Copyright © 2011-2022 走看看