473,473 Members | 1,584 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Scope of Web.Config

What is the scope of Web.Config file ? Can I have multiple web.config file
in a project ? in case of multiple Web.Config file in a project, which one
will be accessed?

Nov 19 '05 #1
3 2437
Hello Arsalan,

You can have multiple web.config files in one project. Obviously, only one
per folder. The one in each folder will inherit the properties from the parent
and override any of the properties that you set.

--
Matt Berther
http://www.mattberther.com
What is the scope of Web.Config file ? Can I have multiple web.config
file in a project ? in case of multiple Web.Config file in a project,
which one will be accessed?


Nov 19 '05 #2
Hi Arsalan.
You can have one web.config file per application folder.
To learn more, read this:
http://msdn.microsoft.com/library/de...us/vbcon/html/
vbtskeditingwebconfigfileforwebformsglobalization. asp
Sharon.
"Arsalan" <ar***********@hotmail.com> wrote in message
news:Ou*************@TK2MSFTNGP10.phx.gbl...
What is the scope of Web.Config file ? Can I have multiple web.config file
in a project ? in case of multiple Web.Config file in a project, which one
will be accessed?

Nov 19 '05 #3
Thanks
"Sharon" <sh****@void.null> wrote in message
news:uB**************@TK2MSFTNGP15.phx.gbl...
Hi Arsalan.
You can have one web.config file per application folder.
To learn more, read this:
http://msdn.microsoft.com/library/de...us/vbcon/html/
vbtskeditingwebconfigfileforwebformsglobalization. asp
Sharon.
"Arsalan" <ar***********@hotmail.com> wrote in message
news:Ou*************@TK2MSFTNGP10.phx.gbl...
What is the scope of Web.Config file ? Can I have multiple web.config
file
in a project ? in case of multiple Web.Config file in a project, which
one
will be accessed?


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
by: aa | last post by:
I am migrating to PHP from ASP where there are the Application Scope variables which are accessible from any page on a website and which are used, in particular, for hit counters. Is there a similar...
10
by: Not Available | last post by:
On the host server: namespace JCart.Common public class JCartConfiguration : IConfigurationSectionHandler private static String dbConnectionString; public static String ConnectionString { get...
1
by: Gudni G. Sigurdsson | last post by:
I am new to C# and use MS Visual C# .NET. I have defined a class, Config. I create one instance of this class at the begin of my program and would like this instance to have a global scope within...
3
by: Vai2000 | last post by:
Hi All, I have a small driver console app which calls an assembly (static referencing). This assembly uses a configuration file for initializing certain values..Surprisingly when my driver app...
10
by: Brian | last post by:
If i declare a module level oledbconnection with each request for the page, the variable remains in scope? I get open.executing error message on subsequent calls for the page. I assumed ASP.Net...
41
by: Miguel Dias Moura | last post by:
Hello, I am working on an ASP.NET / VB page and I created a variable "query": Sub Page_Load(sender As Object, e As System.EventArgs) Dim query as String = String.Empty ... query =...
0
by: José Joye | last post by:
Hello, I'm trying to use the VS2005 Settings file so as to get strongly typed settings. I want the following: - Have all my application setting (with application scope) defined centrally in my...
5
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
I have two web server, one DB server with two Database. I used MS enterprise transaction with transfaction scope. How to config MSDTC between the web server and DB to make it work? any...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.