Alois Kraus
blog
Site Sections
Home
Contact
Syndication
Login
Posts
69
Comments
233
Trackbacks
162
<< Assembly.LoadFrom demystified
|
Home
|
Performance Quiz: Fastest way to format time >>
Store your App.Config inside SQL Server
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 ...
Share This Post:
posted on Monday, April 17, 2006 7:26 PM
Print
Comments
#
re: Store your App.Config inside SQL Server
Sam Gentile
5/6/2008 6:37 AM
Do you have this code? Gotdotnet is shut down and the link is broken
Post Comment
Title
*
Name
*
Email
Url
Comment
*
Remember Me?
Enter the code shown above
Article Categories
Patterns and Practices
C# Programing
Archives
December, 2011 (3)
September, 2011 (1)
August, 2011 (4)
July, 2011 (1)
June, 2011 (2)
March, 2011 (1)
November, 2010 (1)
July, 2010 (3)
June, 2010 (5)
May, 2010 (2)
April, 2010 (1)
March, 2010 (2)
February, 2010 (1)
December, 2009 (1)
November, 2009 (1)
October, 2009 (2)
September, 2009 (1)
June, 2009 (1)
May, 2009 (2)
December, 2008 (3)
November, 2008 (1)
May, 2008 (1)
April, 2008 (2)
January, 2008 (1)
November, 2007 (1)
February, 2007 (1)
January, 2007 (1)
October, 2006 (1)
September, 2006 (1)
August, 2006 (1)
July, 2006 (1)
June, 2006 (2)
May, 2006 (4)
April, 2006 (3)
March, 2006 (1)
February, 2006 (3)
January, 2006 (3)
December, 2005 (2)
November, 2005 (1)
Post Categories
General C# Programming
Enterprise Library
Physics
Non Work
F#
Performance
Image Galleries
Enterprise Library
C#
Personal
Programming
Rico Mariani: CLR Performance Guru
Copyright © 2005 Alois Kraus
This work is licensed under a
Creative Commons License