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>
  • 相关阅读:
    moc处理cpp文件
    程序员!你还能年轻几岁?
    多媒体会议系统中的延迟
    把C++类成员函数集成到lua
    Q_PROPERTY使用
    python与c的集成
    注册C函数与类成员函数到lua
    摄像头(WebCam)在Linux操作系统中的驱动方法
    网络营销实战必读之书推荐:《网络营销实战密码》
    这样写的博客才有更多的人愿意看
  • 原文地址:https://www.cnblogs.com/songxingzhu/p/3286736.html
Copyright © 2011-2022 走看看