473,387 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ASP.NET / Global Assembly Cache / Local config

Hi,
I have an initial build of an ASP.NET/C# application (based around a
"custom control" with some supporting webforms) that contains the
usual mix of:

1) ASP files
2) A single DLL (containing all the classes and code-behind I believe)
3) A supporting folder structure
4) Some data/config files used by the app.

This app will be accessed by multiple sites (each with its own IP
address, etc.), running on one IIS installation i.e. each site will
contain pages that use the custom control (and therefore all the
supporting stuff mentioned above).

I want to minimise the disk space and memory requirements on the
server - so I
thought that installing the app in the Global Assembly Cache is the
way to go
(rather than installing it on each site). Is this correct? I
understand that the DLL goes into the GAC but what about the
"front-end" ASP pages?

In the list above, I want items 1 & 2 to be "shared" but items 3 & 4
to exist
independantly on each IIS site. How can I ensure that, although each
IIS site is effectively using the same code, that each instance only
references its own local folder structure and data/config files. I
kindof assumed that if I reference my data files via a URL that this
would all sort itself out e.g.

....
XmlDocument objConfig = LoadSystemConfigFile("/myappdata/config.xml");
....

Then I just need to create "/myappdata/config.xml" on the root of each
site?

One other "assumption" was that each site would get its own memory
process and that static & instance type variables would be entirely
separate for each instance? Is that right? Hope so :)

Thanks for any help at all!
Nov 18 '05 #1
0 988

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

Similar topics

3
by: DDE | last post by:
Hi everybody, I developed an assembly common to all my Web Services, so I registered it and put it in the Global Assembly Cache. Now, I modified this assembly, but cannot succed to have this new...
4
by: V. Jenks | last post by:
I'm using reflection to dynamically load an assembly and even though I'm sure the assembly is present, I keep getting an error telling me the "assembly or one of its references can't be found". ...
11
by: Wolfgang Kaml | last post by:
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some...
2
by: George Durzi | last post by:
I have a dll that I use in several projects, that I placed in the Global Assembly Cache. This dll is references in each of my projects. This Dll is referenced by a type= declaration in my...
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 =...
12
by: John M | last post by:
Hello, On Microsoft Visual Studio .NET 2003, I want to use some global elements, that can be used in each one of my pages. i.e I put a oleDBConnection on global.asax.vb How can I use it...
7
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
1
by: Ray | last post by:
Dear all, Now, I am using Global Assembly Cache to share assembly between server and clients. However, it seems that the server and clients use individual Global Assembly Cache. For example, the...
4
by: Michael Neumann | last post by:
I'm trying to set up a test environment for an ASP.NET site on a Windows XP Pro box. I installed IIS5.1 and then .Net V2. I put up a web site that contains just a simple Default.aspx "hello...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.