How to create a custom section that behaves like an AppSettings section?

后端 未结 2 1991
旧时难觅i
旧时难觅i 2021-02-20 01:58

I want to have the following structure in my config:

  
    
  
  &l         


        
2条回答
  •  无人共我
    2021-02-20 02:16

    you should create a class which derives from ConfigurationSection

    see a full example here: How to: Create Custom Configuration Sections Using ConfigurationSection

提交回复
热议问题