Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / May 2008

Tip: Looking for answers? Try searching our database.

Application settings

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 30 May 2008 00:13 GMT
Hi

Is there a way to have application settings in asp apps, like those in
winform apps?

Thanks

Regards
Juan T. Llibre - 30 May 2008 00:16 GMT
All application settings for asp.net web apps go into web.config or machine.config.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
> Hi
>
[quoted text clipped - 3 lines]
>
> Regards
John - 30 May 2008 00:47 GMT
How do I store and read settings from web.config programmatically?

Thanks

Regards

> All application settings for asp.net web apps go into web.config or
> machine.config.
[quoted text clipped - 11 lines]
>>
>> Regards
Mark Rae [MVP] - 30 May 2008 00:54 GMT
[top-posting corrected]

>>> Is there a way to have application settings in asp apps, like those in
>>> winform apps?
[quoted text clipped - 3 lines]
>
> How do I store and read settings from web.config programmatically?

http://msdn.microsoft.com/en-us/library/system.configuration.configurationmanage
r.aspx


Bear in mind that modifying web.config while a web app is running will cause
that web app to recycle...

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.