首页 > 代码库 > EAS使用中FineUI的配置
EAS使用中FineUI的配置
<?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=http://www.mamicode.com/"Value" /> </configurations> <objects> <object name="DbProvider" assembly="EAS.Data.Provider" type="EAS.Data.Access.OracleProvider" LifestyleType="Thread"> <property name="ConnectionString" type="string" value=http://www.mamicode.com/"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=http://www.mamicode.com/"DbProvider"/> <property name="Language" type="object" value=http://www.mamicode.com/"PLSqlLanguage"/> </object> <!--ORM访问器--> <object name="OrmAccessor" assembly="EAS.Data" type="EAS.Data.ORM.OrmAccessor" LifestyleType="Thread"> <property name="DataAccessor" type="object" value=http://www.mamicode.com/"DataAccessor"/> <!--<property name="DataNotifier" type="object" value=http://www.mamicode.com/"DataNotifier"/>--> </object> <!--数据通知程序--> <!--<object name="DataNotifier" assembly="EAS.Data" type="EAS.Data.ORM.SocketBusDataNotifier" LifestyleType="Singleton"> <property name="MessageBus" type="object" value=http://www.mamicode.com/"MessageBus"/> </object>--> <!--消息总线--> <!--<object name="MessageBus" assembly="EAS.MicroKernel" type="EAS.Sockets.Bus.SocketBus" LifestyleType="Singleton"> <property name="Url" type="string" value=http://www.mamicode.com/"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=http://www.mamicode.com/"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>
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。