tijian_jichuang/Code/SOH.Main/App.config
2025-02-20 11:54:48 +08:00

79 lines
4.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="eas" type="EAS.ConfigHandler,EAS.MicroKernel" />
</configSections>
<connectionStrings>
<add name="Conn" connectionString="Data Source=.;Initial Catalog=bodycheck;User ID=sa;Password=sa123456;" providerName="System.Data.SqlClient" />
</connectionStrings>
<!--SQLite运行必需-->
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
</startup>
<runtime>
<!-- WARNING: will load assemblies from remote locations as fully trusted! -->
<loadFromRemoteSources enabled="true" />
</runtime>
<eas>
<configurations>
<item name="Key" value="Value" />
</configurations>
<objects>
<object name="DbProvider" assembly="EAS.Data" type="EAS.Data.Access.SqlClientDbProvider" LifestyleType="Thread">
<!--<property name="ConnectionString" type="string" value="Data Source=192.168.200.222;Initial Catalog=bodycheck;User ID=sa;Password=Aa_7551898;Connect Timeout=30" />-->
<property name="ConnectionString" type="string" value="Data Source=.;Initial Catalog=bodycheck;User ID=sa;Password=123456;Connect Timeout=30" />
</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="TSqlLanguage" />
</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="TSqlLanguage" assembly="EAS.Data" type="EAS.Data.Linq.TSqlLanguage" LifestyleType="Thread" />
<!--直连服务桥-->
<object name="ServiceBridger" assembly="EAS.MicroKernel" type="EAS.Services.DirectServiceBridger" LifestyleType="Singleton">
<property name="AutoLoad" type="bool" value="true" />
</object>--&gt;
<!--日志管理--><object name="Logger" assembly="EAS.MicroKernel" type="EAS.Loggers.TextLogger" LifestyleType="Singleton" /><!--资源--><!--<object name="EAS.Explorer.Resource" assembly="EAS.Explorer.Res" type="EAS.Explorer.Res.Resources" LifestyleType="Singleton" />--><!--缓存访问器、旧版兼容--><object name="CacheAccessor" assembly="EAS.Data" type="EAS.Data.ORM.CacheAccessor" LifestyleType="Singleton" /></objects>
</eas>
<appSettings>
<add key="CCPath" value="D:\ccpath\" />
<add key="UploadReport" value="true" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="FuWuSoap" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:43189/FuWu.asmx" binding="basicHttpBinding" bindingConfiguration="FuWuSoap" contract="TianRui.FuWuSoap" name="FuWuSoap" />
</client>
</system.serviceModel>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
</configuration>