Fine UI 配置文件说明

Fine UI WebConfig 配置


<?xml version="1.0" encoding="utf-8"?>
<!--
  有关如何配置 ASP.NET 应用程序的详细信息,请访问
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <configSections>
    <!--1 不使用2 FineUI节点的时候可以不用配置这一句-->
    <section name="FineUI" type="FineUI.ConfigSection, FineUI" 


requirePermission="false"/>
  </configSections>
  <!--要使用FineUI节点 必须要配置上面的1-->
  <FineUI DebugMode="false"/>


  <system.web>
    <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID" >
      <controls>
        <!--配置这句可以在页面代码中使用webUI作为Fine UI的前缀-->
        <add assembly="FineUI" namespace="FineUI" tagPrefix="webUI"/>
      </controls>
    </pages>
    <httpModules>
      <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI"/>
    </httpModules>
    <httpHandlers>
      <add verb="POST,GET" path="ajaxpro/*.ashx" 


type="AjaxPro.AjaxHandlerFactory,AjaxPro.2" />
      <add verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" 


validate="false"/>
    </httpHandlers>
    <httpRuntime maxRequestLength="102400 " requestValidationMode="2.0"/>
    <compilation debug="true" targetFramework="4.0"/>
  </system.web>


  <system.webServer>
    <!--如果出现错误:检测到在集成的托管管道模式下不适用的 ASP.NET 设置,需要配置下面节点


-->
    <validation validateIntegratedModeConfiguration="false" />
  </system.webServer>


  <!--添加Fine UI dll引用时候 要添加Newtonsoft.Json dll 的引用,但是由于Newtonsoft.Json


版本问题,因此要添加如下节点确定Newtonsoft.Json DLL
  的引用-->


  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" 


culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>


</configuration>



还有必须在根目录添加extjs的所有js文件到项目中,不然会出现 “F”未定义的错误

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值