Gal Ratner
Gal Ratner is a Techie who lives and works in Los Angeles.
Sign in
|
Join
|
Help
Home
Blogs
Media
Forums
Schedule
Consulting Services
Store
.NET Development
»
All Tags
»
ASP.NET
»
Configuration
(
RSS
)
Browse by Tags
.NET Development
Home
Contact
Syndication
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go
Recent Posts
How to modify AppSettings configuration values from your app code
Tags
.NET
.NET 4.0
ADO.NET
AJAX
ASP.NET
C#
Chart
Entity Framework
EntLib
Events
FTP
Generic
Generics
Geolocation
HashSet
IIS7
IProducerConsumerCollection
Itemplate
JSONP
LINQ
Native API
Parallel
Repeater
REST
WPF
View more
Archives
December 2011 (1)
November 2011 (1)
October 2011 (1)
August 2011 (1)
July 2011 (1)
June 2011 (2)
May 2011 (1)
April 2011 (1)
March 2011 (3)
February 2011 (4)
January 2011 (5)
December 2010 (3)
November 2010 (1)
October 2010 (1)
September 2010 (1)
August 2010 (1)
July 2010 (1)
June 2010 (2)
May 2010 (2)
April 2010 (1)
March 2010 (1)
February 2010 (4)
January 2010 (2)
December 2009 (1)
November 2009 (6)
October 2009 (5)
September 2009 (3)
August 2009 (3)
July 2009 (7)
June 2009 (4)
May 2009 (6)
April 2009 (3)
C#
How to modify AppSettings configuration values from your app code
You can easily change any AppSettings value in web.config during runtime from your C# code by using WebConfigurationManager. Configuration configuration = WebConfigurationManager .OpenWebConfiguration( "~" ); AppSettingsSection appSettings ...
Published
21 Nov 2009 6:22 AM
by
Gal Ratner
Filed under:
C#
,
ASP.NET
,
Configuration