Alois Kraus
blog
Site Sections
Home
Contact
Syndication
Login
Posts
30
Comments
77
Trackbacks
169
<< 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 ...
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?
Please add 7 and 6 and type the answer here:
Article Categories
Patterns and Practices
C# Programing
Archives
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
.NET Framework Guru
Enterprise Library Home
Entlib Core Coder: Brian Button
Entlib Product Manager: Tom Hollander
Mike Stall: CLR Debugging
Norman Headlam: Object Builder Builder and More
Rico Mariani: CLR Performance Guru
News
Copyright © 2005 Alois Kraus
This work is licensed under a
Creative Commons License