Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 22nd, 2005, 08:31 AM
Authorized User
 
Join Date: Mar 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Configuration files

I was thinking that if I change something in configuration files (e.g. NewsUrl in NewsManager.Config) it would automatically change it in the application. But this is not the case, is it??

I have to Build the Solution and then re-start the application to see the changes. Am I correct?

If this is the case, then what is the point of having configuration files?
thanks

 
Old March 22nd, 2005, 05:39 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Yes that is the case; they aren't meant to be a storage area like a database or an XML file, they are meant to contain settings for an application, which typically are static. I believe in 2.0 there will be an editor API for the config file.

Brian
 
Old March 23rd, 2005, 09:13 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by hasanali00
 I was thinking that if I change something in configuration files (e.g. NewsUrl in NewsManager.Config) it would automatically change it in the application. But this is not the case, is it??
Why do you think this isn't working? You never have to recomplie just because a config file was changed. The next user who logs on will get the changed settings automatically. Of course this assumes the application isn't caching the settings.

Changing a URL while users are online isn't something you want to do very often.

Eric





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Application Configuration Files semilemon C# 2005 17 April 24th, 2007 10:27 PM
Configuration Override Files Jeff Mason Visual Studio 2005 1 March 14th, 2007 08:52 AM
Configuration files and performance ernestlambert BOOK: ASP.NET Website Programming Problem-Design-Solution 1 April 21st, 2005 11:23 AM
Using multiple configuration files Johan VS.NET 2002/2003 0 November 10th, 2003 12:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.