EAS使用中FineUI的配置

docomo發表於2014-05-16
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="eas" type="EAS.ConfigHandler,EAS.MicroKernel" />
    <section name="FineUI" type="FineUI.ConfigSection, FineUI" requirePermission="false" />
  </configSections>
  <eas>
    <configurations>
      <item name="Key" value="Value" />
    </configurations>
    <objects>
      <object name="DbProvider" assembly="EAS.Data.Provider" type="EAS.Data.Access.OracleProvider" LifestyleType="Thread">
        <property name="ConnectionString" type="string" value="Data Source=M;User Id=m;Password=sa;Integrated Security=No" />
      </object>
      <!--資料訪問器-->
      <object name="DataAccessor" assembly="EAS.Data" type="EAS.Data.Access.DataAccessor" LifestyleType="Thread">
        <property name="DbProvider" type="object" value="DbProvider"/>
        <property name="Language" type="object" value="PLSqlLanguage"/>
      </object>
      <!--ORM訪問器-->
      <object name="OrmAccessor" assembly="EAS.Data" type="EAS.Data.ORM.OrmAccessor" LifestyleType="Thread">
        <property name="DataAccessor" type="object" value="DataAccessor"/>
        <!--<property name="DataNotifier" type="object" value="DataNotifier"/>-->
      </object>
      <!--資料通知程式-->
      <!--<object name="DataNotifier" assembly="EAS.Data" type="EAS.Data.ORM.SocketBusDataNotifier" LifestyleType="Singleton">
        <property name="MessageBus" type="object" value="MessageBus"/>
      </object>-->
      <!--訊息匯流排-->
      <!--<object name="MessageBus" assembly="EAS.MicroKernel" type="EAS.Sockets.Bus.SocketBus" LifestyleType="Singleton">
        <property name="Url" type="string" value="socket.tcp://127.0.0.1:6606/"/>
      </object>-->
      <!--查詢語言-->
      <object name="PLSqlLanguage" assembly="EAS.Data.Provider" type="EAS.Data.Linq.PLSqlLanguage" LifestyleType="Thread"/>
      <!--直連服務橋-->
      <object name="ServiceBridger" assembly="EAS.MicroKernel" type="EAS.Services.DirectServiceBridger" LifestyleType="Singleton" >
        <property name="AutoLoad" type="bool" value="true"/>
      </object>-->
      <!--日誌管理-->
      <object name="Logger" assembly="EAS.MicroKernel" type="EAS.Loggers.TextLogger" LifestyleType="Singleton" />
      <!--快取訪問器、舊版相容-->
      <object name="CacheAccessor" assembly="EAS.Data" type="EAS.Data.ORM.CacheAccessor" LifestyleType="Singleton" />
    </objects>
  </eas>

  <FineUI DebugMode="true" />
  <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>
    <compilation debug="true" targetFramework="4.0" />
    <customErrors mode="Off" />
    <authentication mode="Forms">
      <forms name=".FORMS_AUTH" loginUrl="~/default.aspx" timeout="120" defaultUrl="~/main.aspx" protection="All" path="/" />
    </authentication>
    <authorization>
      <deny users="?" />
    </authorization>
  </system.web>
  <location path="icon">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="res">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="extjs">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
</configuration>

 

相關文章