473,387 Members | 1,548 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/IIS6 Web Farms - confused

Hi

I was under the mistaken impression that Application variables could be
shared by websites running under the same IIS process. Looking at the
documentation this isn't true.

So what is the best way to share services/pages/code between IIS6 and a
multitude of websites under a web farm? The only thing I could think of
is that XML web services could help here, but is that it?

I have dabbled a little with SQL Server and saving session state, but
I'd rather avoid having the session's conflict with each other
(that's why I mistakenly thought the application variable could be
useful in this instance, it was separate to the session state), and
there must be a payload with using a database rather than memory.

Can anybody give me any pointers on what ASP.NET technologies I should
be looking at when coding/designing web farms? What really interests me
is websites being able to access one common dll and be able to exchange
variables with each other. I could have a master website where
code/variable could be utilized in this instance.

Many Thanks!

Alex

Nov 19 '05 #1
2 1404
The "shared dll" part is easy to accomplish.
Just install your common assembly to the machine's GAC.

Re shared variables, your best bet is storing them in a database,
where they can be accessed by anybody you want to allow access to.

re:
there must be a payload with using a database rather than memory.
You could always have the original data in the database,
so that only the initial hit will generate a payload,
and use the Cache object to store your data in memory.

Using a SQL Cache dependency will allow you
to re-hit the database if the data has changed.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

<po******@alexshirley.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com... Hi

I was under the mistaken impression that Application variables could be
shared by websites running under the same IIS process. Looking at the
documentation this isn't true.

So what is the best way to share services/pages/code between IIS6 and a
multitude of websites under a web farm? The only thing I could think of
is that XML web services could help here, but is that it?

I have dabbled a little with SQL Server and saving session state, but
I'd rather avoid having the session's conflict with each other
(that's why I mistakenly thought the application variable could be
useful in this instance, it was separate to the session state), and
there must be a payload with using a database rather than memory.

Can anybody give me any pointers on what ASP.NET technologies I should
be looking at when coding/designing web farms? What really interests me
is websites being able to access one common dll and be able to exchange
variables with each other. I could have a master website where
code/variable could be utilized in this instance.

Many Thanks!

Alex

Nov 19 '05 #2
Thanks Juan.

I am wondering what would happen in a web hosting provider situation.
They can provide shared hosting on the Windows 2003 server to a number
of customers holding websites. Installing a common assembly into the
machine's GAC means that any other person holding a website on that
server will have access to my code. Also some of my websites may be
held on different web servers, can a GAC be made available, say, by
Active directory or some other technology? The other alternative is to
rent a standand alone server from the hosting provider, but this of
course is far more expensive.

Many Thanks!

Alex

Nov 19 '05 #3

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

Similar topics

8
by: P. Glassel | last post by:
I'm having problems getting session timeouts to change programmaticlaly under IIS6.0. This is unchanged code that ran as expected under IIS5.0. Anyone else run into this problem? Thx.
1
by: nomad7 | last post by:
Hi, This my problem, we are migrating our intranet from IIS5 to IIS6 an have decided to split various sections of the intranet to seperat domain hosts, e.g. we had: www.intra.domain.com BUT...
3
by: Pete Griffiths` | last post by:
Hi, I have been working on an asp.net (1.1) app - developing against a virtual folder in "personal web server". I have successfully deployed it to an IIS6 virtual folder, but when I try and...
1
by: __Stephen | last post by:
Not finding assistnace on a networking site so I thought that I'd post this here as well. I have a rebuild of a server and we took the OS to 2003 for 2000. I am confused on setting up IIS6....
5
by: Terry Strachan | last post by:
Hi, I have an asp.net webapp that works fine on my development machine, win2k/iis5 however, when I move the site across to win2k3 / iis6 i get the following error on postback of any page; ...
1
by: Luwk | last post by:
I have an application that communicates with the Company's Active Directory to get the OU of the users. This said application is an ASP.Net web site and has the Windows Authentication enabled. ....
10
by: Andrew Wan | last post by:
I have been having a nightmare with ASP/ASP.NET & IIS6. We use Msxml2.DOMDocument.4.0 object to create a XML object in ASP. The Msxml2.DOMDocument.4.0 is from the Windows Platform SDK Feb 2003...
2
by: Andrew Wan | last post by:
Okay, this is really weird. We have two Windows 2003 Server SP1 PCs. One hosts IIS6 website, and the other hosts our DCOM service program. Our website is ASP/XSL. An ASP page uses...
1
by: lilOlMe | last post by:
Can you install IIS6 on a system other than Windows Server 2003? I'd like to install IIS6 on Windows XP. I've been trying to find out the system requirements for IIS6 but I haven't found a clear...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.