473,563 Members | 2,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1411
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******@alexs hirley.com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.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
21102
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
1821
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 NOW HAVE: depts.intra.domain.com www.intra.domain.com
3
1314
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 deploy to a web site in IIS6, I get "The page cannot be displayed" errors. Any ideas? And - am I correct in thinking that when I publish to my ISP, they...
1
1429
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. This is a stage server and will have 2 IP's .56 and .32 I have the IP's bound to the NIC and they ping through the DNS like it use to.
5
2280
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; *------------------------------------------* Object reference not set to an instance of an object. Description: An unhandled exception occurred during...
1
2652
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. . Now, here's the anomaly: If the application is run on a Server using IIS 5.1, the application works like a charm and the communcation with the...
10
2103
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 (the last version compatible with VC6). Then we use TranslateXSLT(XMLDocument.transformNode) passing in a xsl file path. Our pages work perfectly...
2
2757
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 Msxml2.DOMDocument.4.0 to transform a XML top node via XSL stylesheet outputting to HTML. We have set up the website on-site successfully with no problems. However,...
1
2732
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 article that outlines which operating systems it will work on. I gathered that it works on Windows Server 2003...but there's no mention of it...
0
7665
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7642
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6255
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.