Alois Kraus

blog

  Home  |   Contact  |   Syndication    |   Login
  133 Posts | 8 Stories | 368 Comments | 162 Trackbacks

News



Article Categories

Archives

Programming

 I did submit some time ago a little fix for the Enterprise Library SqlConfigurationSource  but I did not yet have time to blog about it. Better late than never I want to shed some light (again) on configuration. To get your application settings from your local disk you can use the .NET ConfigurationManager class or the (Entlib) FileConfigurationSource to fetch the settings from another file than your App.Config file. 
The Enterprise Library SqlConfigurationManager is the counterpart to the .NET ConfigurationManager class and can be directly used from any application that cares about central configuration. To use it you need a running SQL Server 2005 (Express) server and a database which contains some stored procedures which are responsible for reading and writing ConfigurationSections. The following code sample shows you how to get your settings with only a few lines of code from SQL server.

Show More ...
posted on Monday, April 17, 2006 7:26 PM

Feedback

# re: Store your App.Config inside SQL Server 5/6/2008 6:37 AM Sam Gentile
Do you have this code? Gotdotnet is shut down and the link is broken

Post A Comment
Title:
Name:
Email:
Comment:
Verification: