Configuration Files

There are several different types of configuration files
Machine - machine.config
Application - app.config
User - user.config
Security - web.config
Isolated Storage


System.Configuration provides all the necessary functionality for reading and writing from config files.



Configuration Manager

System.Configuration.ConfigurationManager


GetSection - retrieves a specified configuration section from the current applications default configuration

System.Configuration.ConfigurationManager.GetSection("applicationSettings/"------".MySettings) 




Security Configuration File




© 2017 Better Solutions Limited. All Rights Reserved. © 2017 Better Solutions Limited

PrevNext