FineUIt配置

1.需要packages,extjs,res文件
2.添加引用FineUI.dll和Newtonsoft.dll(根据自己框架添加)
<?xml version="1.0" encoding="utf-8"?>
 
<configuration>
 
  <configSections>
 
    <section name="FineUI" type="FineUI.ConfigSection, FineUI" requirePermission="false" />
 
  </configSections>
 
  <!-- 可用的配置项(这里列的都是默认值):
 
      Language="zh_CN"
 
      AjaxTimeout="120"
 
      EnableAjax="true"
 
      Theme="Neptune"
 
      FormMessageTarget="Qtip"
 
      FormOffsetRight="0"
 
      FormLabelWidth="100"
 
      FormLabelSeparator=":"
 
      IconBasePath="~/res/icon"
 
      EnableAjaxLoading="true"
 
      AjaxLoadingType="default"
 
      CustomTheme=""
 
      CustomThemeBasePath="~/res/theme"
 
  -->
 
  <FineUI DebugMode="false" />
 
  <appSettings />
 
  <connectionStrings />
 
  <system.web>
 
    <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
 
      <controls>
 
        <add assembly="FineUI" namespace="FineUI" tagPrefix="f" />
 
      </controls>
 
    </pages>
 
    <httpModules>
 
      <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI" />
 
    </httpModules>
 
    <httpHandlers>
 
      <add verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" validate="false" />
 
    </httpHandlers>
 
    <httpRuntime maxRequestLength="102400 " />
 
    <customErrors mode="Off" />
 
    <compilation debug="true" targetFramework="4.0" />
 
    <!--
 
    <authentication mode="Forms">
 
      <forms name=".ASPXFORMSAUTH" loginUrl="~/default.aspx" timeout="120" defaultUrl="~/main.aspx" protection="All" path="/"/>
 
    </authentication>
 
    <authorization>
 
      <deny users="?"/>
 
    </authorization>
 
    -->
 
  </system.web>
 
  <!--
 
  <location path="res.axd">
 
    <system.web>
 
      <authorization>
 
        <allow users ="*" />
 
      </authorization>
 
    </system.web>
 
  </location>
 
  -->
 
  <!-- IIS7集成管道模式 -->
 
  <system.webServer>
 
    <modules>
 
      <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI"/>
 
    </modules>
 
    <handlers>
 
      <add name="FineUIResourceHandler" verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI"/>
 
    </handlers>
 
    <httpErrors errorMode="Detailed"/>
 
    <asp scriptErrorSentToBrowser="true"/>
 
    <validation validateIntegratedModeConfiguration="false"/>
 
  </system.webServer>
 

  <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>

 


  


 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值