你的位置:首页 > 软件开发 > ASP.net > Create a custom configSection in web.config or app.config file

Create a custom configSection in web.config or app.config file

发布时间:2015-12-12 18:00:20
config file:<??><configuration> <configSections> <section name="FileDepend" type="TestConsole.FileDepen ...

config file:

<??><configuration> <configSections>  <section name="FileDepend" type="TestConsole.FileDepend,TestConsole"/> </configSections> <FileDepend>  <RootDir path="c:\"></RootDir>  <Public>   <element file="/1.txt"></element>   <element file="/2.txt"></element>  </Public>  <Modules>   <module name="legend">    <element file="/3.txt"></element>    <element file="/4.txt"></element>   </module>   <module name="bookmark">    <element file="/5.txt"></element>    <element file="/6.txt"></element>   </module>  </Modules> </FileDepend> <startup>  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> </startup></configuration>

 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:Create a custom configSection in web.config or app.config file

关键词:web

web
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。