FineUI學習筆記3

配置信息

<configuration>
  <configSections>
    <section name="ExtAspNet" type="ExtAspNet.ConfigSection, ExtAspNet" requirePermission="false"/>
  </configSections>
  <ExtAspNet EnableBigFont="true" DebugMode="true" IconBasePath="~/Fineui/icon" />
  <!--連接字符串-->
  <connectionStrings>
    <add name="localOraclStr" connectionString="Data Source=192.168.2.244/orcl;User ID=platform;pwd=pf123;Unicode=True" providerName="System.Data.SqlClient"/>
  </connectionStrings>
  
  
    <system.web>
      <pages  controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
        <controls>
          <add assembly="ExtAspNet" namespace="ExtAspNet" tagPrefix="ext"/>
        </controls>
      </pages>
      
      
      <compilation debug="true" targetFramework="4.5" />
      <httpRuntime targetFramework="4.5" />
    </system.web>
  <system.webServer>
    <modules>
      <add name="ExtAspNetScriptModule" type="ExtAspNet.ScriptModule, ExtAspNet"/>
      <!--<add type="wqcms.URLRewriter.ModzuleRewriter, wqcms_URLRewriter" name="ModuleRewriter" />-->
    </modules>
    <handlers>
      <add name="ExtAspNetResourceHandler" verb="GET" path="res.axd" type="ExtAspNet.ResourceHandler, ExtAspNet"/>
    </handlers>
  </system.webServer>
</configuration>


主要記錄幾個比較需要注意的地方:

1、ExtAspNet節中的全局參數,可以設置主題,字體大小等。

2、寫一個全局配置,ext前綴

3、設一些modules和handlers,這裏是放在system.webServer裏面,放在system.web下面怎麼都會有問題,目前這麼處理先。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章