App.config 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <configSections>
  4. <sectionGroup name="Tofly">
  5. <section name="context" type="Tofly.Core.Context.Support.ContextHandler,Tofly.Core" />
  6. <section name="objects" type="Tofly.Core.Context.Support.DefaultSectionHandler, Tofly.Core" />
  7. </sectionGroup>
  8. <sectionGroup name="common">
  9. <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
  10. </sectionGroup>
  11. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
  12. <section name="ormSection" type="Tofly.Data.Configuration.DbProviderSection, Tofly.Data" />
  13. </configSections>
  14. <Tofly>
  15. <context>
  16. <resource uri="class://Tofly.Data.dll" />
  17. <resource uri="class://Tofly.Data.ADO.dll" />
  18. <resource uri="class://Tofly.DataUI.dll" />
  19. <resource uri="class://Tofly.DataUI.Win.dll" />
  20. <resource uri="class://Tofly.DataGeter.dll" />
  21. <resource uri="class://Tofly.CoreUI.dll" />
  22. <resource uri="class://Tofly.CoreUI.Win.dll" />
  23. <resource uri="class://Tofly.CoreUI.Win.Form.dll" />
  24. <resource uri="class://Tofly.CoreUI.Win.Design.dll" />
  25. <resource uri="class://Tofly.CoreUI.Plot.dll" />
  26. <resource uri="class://Tofly.CoreUI.Plot.Win.dll" />
  27. <resource uri="class://Tofly.GIS.dll" />
  28. <resource uri="class://Tofly.GIS.ArcGIS.dll" />
  29. <resource uri="class://Tofly.GIS.SpatialAnalysis.ArcGIS.dll" />
  30. <resource uri="class://Tofly.GISUI.dll" />
  31. <resource uri="class://Tofly.GISUI.Draw.dll" />
  32. <resource uri="class://Tofly.GISUI.Element.dll" />
  33. <resource uri="class://Tofly.GISUI.Element.Win.dll" />
  34. <resource uri="class://Tofly.GISUI.Element.Win.ArcGIS.dll" />
  35. <resource uri="class://Tofly.GISUI.Win.dll" />
  36. <resource uri="class://Tofly.GISUI.Win.ArcGIS.dll" />
  37. <resource uri="class://Tofly.GISUI.RasterAdjust.dll" />
  38. <resource uri="class://Tofly.GISUI.RasterAdjust.Win.dll" />
  39. <resource uri="class://Tofly.DesignUI.dll" />
  40. <resource uri="class://Tofly.DesignUI.Win.dll" />
  41. <resource uri="class://Tofly.DataEdit.dll" />
  42. <resource uri="class://Tofly.DataEditUI.dll" />
  43. <resource uri="class://Tofly.DataEditUI.Win.dll" />
  44. <resource uri="class://Tofly.Report.dll" />
  45. <resource uri="class://Tofly.ReportUI.dll" />
  46. <resource uri="class://Tofly.ReportUI.Win.dll" />
  47. <resource uri="class://Tofly.SearchUI.dll" />
  48. <resource uri="class://Tofly.SearchUI.Win.dll" />
  49. <resource uri="class://Tofly.OutputUI.dll" />
  50. <resource uri="class://Tofly.OutputUI.Win.dll" />
  51. <resource uri="class://Tofly.ChartUI.dll" />
  52. <resource uri="class://Tofly.ChartUI.Win.dll" />
  53. <resource uri="class://Tofly.FileUI.dll" />
  54. <resource uri="class://Tofly.FileUI.Win.dll" />
  55. <resource uri="class://Tofly.Tool.dll" />
  56. <resource uri="class://Tofly.ToolUI.dll" />
  57. <resource uri="class://Tofly.ToolUI.Win.dll" />
  58. <resource uri="class://Tofly.SafetyUI.dll" />
  59. <resource uri="class://Tofly.SafetyUI.Win.dll" />
  60. <resource uri="class://Tofly.Static.dll" />
  61. <resource uri="class://Tofly.Static.Win.dll" />
  62. <resource uri="class://ToflyGIS.Business.dll" />
  63. <resource uri="class://ToflyGIS.Business.Win.dll" />
  64. <resource uri="class://ToflyGIS.Business.Win.ArcGIS.dll" />
  65. <resource uri="class://Tofly.RQ.exe" />
  66. <!--业务库配置-->
  67. <resource uri="appSettings://Objects" />
  68. <resource uri="config://Tofly/objects" />
  69. </context>
  70. <objects xmlns="http://www.Tofly.com.cn">
  71. <!--异常处理 配置开始-->
  72. <object type="Tofly.Core.Aop.Framework.AutoProxy.TypeNameAutoProxyCreator, Tofly.Core">
  73. <property name="TypeNames">
  74. <list>
  75. </list>
  76. </property>
  77. <property name="InterceptorNames">
  78. <list>
  79. <value>aroundAdvisor</value>
  80. </list>
  81. </property>
  82. </object>
  83. <object id="aroundAdvisor" type="Tofly.Core.Aop.Support.PublicMatchMethodPointcutAdvisor, Tofly.Core">
  84. <property name="Advice">
  85. <ref object="logExceptionAdvice" />
  86. </property>
  87. </object>
  88. <object id="logExceptionAdvice" type="Tofly.Core.Aspects.Exceptions.ExceptionHandlerAdvice, Tofly.Core">
  89. <property name="ExceptionHandlers">
  90. <list>
  91. <value>on exception (#e is T(System.Exception)) log #e.Message </value>
  92. </list>
  93. </property>
  94. </object>
  95. <!--异常处理 配置结束-->
  96. </objects>
  97. </Tofly>
  98. <ormSection>
  99. <ormElementCollection DefaultItem="Access_tofly">
  100. <ormElement Name="Access_tofly" ConnectionString="bih|aja|aad|aah|aja|aad|fa|gg|aje|ii|aad|aaa|aae|aaa|ajb|aaf|df|gd|aja|aaf|df|gi|gf|fi|fh|ff|d||hc|df|dh|ei|fh|ig|aaf|ig|ih|ig|aae|aja|fa|cg|ff|gc|gh|cg|ib|aaf|aaa|ajb|ajh|aba|df|aji|ajj|ef"
  101. DbProvideType="4" />
  102. <ormElement Name="Oracle_tofly" ConnectionString="ifa|fe|hd|fe|ff|fe|hc|fi|fa|fg|ha|hb|ha|ei|gh|fi|hd|gh|fe|gg|fi|fa|di|eg|ej|df|di|ed|ef|df|di|df|di|dh|eb|dg|fg|ha|hb|ha|ei|hc|fi|hb|hf|fi|hb|fa|di|eg|ej|df|di|ed|ef|df|di|df|di|dh|eb|ei|he|hc|fh|hb|gc|fh|fa|aab|aad|ajf|ie|ii|aac|aad|aac|ie|ii|aae|ei|hj|fe|hc|hc|hg|gi|hb|fh|fa|aab|aad|ajf|ie|ii|aac|aad|aac|ie|ii|aae|ei|hj|gi|hb|hd|fa|di|ec|ej|di|fd|ec|di|ec|di|dg|aaf|ii|aab|ei|hf|fi|hb|hc|gc|gi|gh|f|"
  103. DbProvideType="1" />
  104. </ormElementCollection>
  105. </ormSection>
  106. <common>
  107. <logging>
  108. <factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4Net">
  109. <arg key="configType" value="INLINE" />
  110. </factoryAdapter>
  111. </logging>
  112. </common>
  113. <log4net>
  114. <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
  115. <file value="Logs\\syslog" />
  116. <appendToFile value="true" />
  117. <rollingStyle value="Date" />
  118. <maxSizeRollBackups value="100" />
  119. <maximumFileSize value="1000KB" />
  120. <staticLogFileName value="false" />
  121. <layout type="log4net.Layout.PatternLayout">
  122. <conversionPattern value="记录时间:%date " />
  123. </layout>
  124. </appender>
  125. <root>
  126. <level value="ERROR" />
  127. <appender-ref ref="RollingFileAppender" />
  128. </root>
  129. </log4net>
  130. <appSettings>
  131. <add key="STYLE" value="林业全部符号,林业全部符号.ServerStyle;资源,资源.ServerStyle;林地面符号,林地面符号.ServerStyle;林种和树种,林种和树种.ServerStyle;1:1万基础,1:1万基础.ServerStyle;1:5万基础,1:5万基础.ServerStyle;" />
  132. <add key="MapStandardScale" value="5000, 6000, 8000, 10000, 15000, 20000, 25000, 30000, 50000, 100000, 150000, 200000, 250000, 300000, 500000, 800000, 1000000, 2000000, 3000000, 5000000" />
  133. <add key="Objects" value="" />
  134. <add key="InitProject" value="false" />
  135. <add key="ClientSettingsProvider.ServiceUri" value="" />
  136. </appSettings>
  137. <startup useLegacyV2RuntimeActivationPolicy="true">
  138. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  139. <supportedRuntime version="v2.0.50727" />
  140. </startup>
  141. <system.web>
  142. <membership defaultProvider="ClientAuthenticationMembershipProvider">
  143. <providers>
  144. <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
  145. </providers>
  146. </membership>
  147. <roleManager defaultProvider="ClientRoleProvider" enabled="true">
  148. <providers>
  149. <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
  150. </providers>
  151. </roleManager>
  152. </system.web>
  153. </configuration>