Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 April 14th, 2005, 08:34 AM
Authorized User
 
Join Date: Mar 2005
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accessing Web.config frequently

Instead of using custom configuration files, I am using web.config to hold some values, like:

<add key="Company" value="1" />

And almost all of my aspx pages access web.config to get these values. when I was testing my app on localhost, I did not see any performance issues. But now I have uploaded my app on a live server (3rd party shared server) and it seems to me that everytime I click on a new link within my app, it takes ages for the page to come up (30 secs). I am thinkink, could it be that because I am openning web.config for every page, it may be slowing down the application. Or it may be somethig else??


 
Old April 14th, 2005, 10:48 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

web.config is normally kept in memory until the IIS process is recycled, or until you update the file.

I assume you aren't writing to web.config from your app - that would kill performance.

So your problem is probably something else.

Eric




Similar Threads
Thread Thread Starter Forum Replies Last Post
web.config vs. app.config darlo Visual Studio 2005 11 August 20th, 2008 07:23 AM
web.config rrkano .NET Framework 2.0 1 June 23rd, 2008 02:50 PM
Accessing Config file in Orchestration xijay Biztalk 0 January 5th, 2007 07:48 AM
Web Config C# akshay144 VS.NET 2002/2003 0 November 10th, 2006 10:21 AM
Web.Config tranzformerz ASP.NET 1.0 and 1.1 Basics 1 August 29th, 2005 05:59 PM





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