473,594 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Synchronizing ASP.NET Content Across WebFarm

We are getting ready to move an ASP.NET application off of a single
development machine and onto a "webfarm". Basically our webfarm is a bunch
of identical servers with the load-balancing provided by a network
appliance. What I'm wondering is what is the best way to keep the ASP.NET
(.aspx and .dll) files synchronized across all of the servers in the farm.
Our ASP.NET application is very simple - we could just copy the content to
all of the servers in the farm, but with a large farm, it's fairly messy to
ensure that everything gets updated systematically.

Any ideas would be greatly appreciated.

Thanks,
Chris
Nov 17 '05 #1
2 3696
You could look at Windows 2000 DFS replication to make this happen.
Also, be sure that if you are using forms authentication that you match the
machine.key in the web.config on both machines. If not, the user's token
will be rejected by the other webserver.

Michael
"Christophe r D. Wiederspan" <wi********@net quote.com> wrote in message
news:eE******** ******@TK2MSFTN GP10.phx.gbl...
We are getting ready to move an ASP.NET application off of a single
development machine and onto a "webfarm". Basically our webfarm is a bunch
of identical servers with the load-balancing provided by a network
appliance. What I'm wondering is what is the best way to keep the ASP.NET
(.aspx and .dll) files synchronized across all of the servers in the farm.
Our ASP.NET application is very simple - we could just copy the content to
all of the servers in the farm, but with a large farm, it's fairly messy to ensure that everything gets updated systematically.

Any ideas would be greatly appreciated.

Thanks,
Chris

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
Nov 17 '05 #2
Hello Chris,

Thanks for Matt and Michael's suggestion.

Besides synchronizing the file contents of asp.net application in web farm, we also need to pay attention to synchronizing the
cache if you are using caching in asp.net

Please refer to http://www.eggheadcafe.com/articles/20030420.asp for details.

For synchronizing server keys and sharing encryption key values across the Web farm, please refer to MSDN article
"Best Practices for Authentication for Web Farms"
http://msdn.microsoft.com/library/en...asp?frame=true

Hope them help.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "Christophe r D. Wiederspan" <wi********@net quote.com>
!Subject: Synchronizing ASP.NET Content Across WebFarm
!Date: Wed, 30 Jul 2003 08:40:55 -0600
!Lines: 15
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.3790.0
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
!Message-ID: <eE************ **@TK2MSFTNGP10 .phx.gbl>
!Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
!NNTP-Posting-Host: 67.96.151.130
!Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP10.phx.g bl
!Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1633 79
!X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
!
!We are getting ready to move an ASP.NET application off of a single
!development machine and onto a "webfarm". Basically our webfarm is a bunch
!of identical servers with the load-balancing provided by a network
!appliance. What I'm wondering is what is the best way to keep the ASP.NET
!(.aspx and .dll) files synchronized across all of the servers in the farm.
!Our ASP.NET application is very simple - we could just copy the content to
!all of the servers in the farm, but with a large farm, it's fairly messy to
!ensure that everything gets updated systematically.
!
!Any ideas would be greatly appreciated.
!
!Thanks,
!Chris
!
!
!
Nov 17 '05 #3

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

Similar topics

3
2530
by: Keith Veleba | last post by:
Hello to all fellow c.l.p'ers! Long-time listener, first-time caller. Background: I'm working on a project where I have to do some serious multithreading. I've worked up a decorator in Python 2.3.4 to implement the lock semantics required for specific functions I want to synchronize:
3
1842
by: Fabio R. | last post by:
I'm developing a web application that needs to support a webfarm scenario so I've used a filecachedependency on a shared folder (for now, always in my local machine) to clear cache on all application processes / server when I update some data... On some articles (like http://msdn.microsoft.com/msdnmag/issues/02/12/WebFarms/) someone suggests to use a webservice call on every server in the farm, this webservice simply invalidate or update...
0
2330
by: Komil | last post by:
Hey Guys, We are using a webfarm environment to host our current site. There are three machine involved in this webfarm. I have copied the same machinekey information that was generated from http://www.aspnetresources.com/tools/keycreator.aspx, to the web.config's on all three machines. I am still receiving this error. We are using the F5 Networks's BigIP that is using round robbin to distribute load to all three servers.
1
1631
by: Prabha | last post by:
Hi, My appliaction is hosted in webfarm, how to upload a file to all the server in webfarm. Please help me, its very urgent. Millions of advance thanx. Regards
1
2037
by: GNoter | last post by:
Scenario: I've a WebFarm with 2 web servers which are NLBs (network load balanced). Web1 and Web2; they are not part of a domain. I have a third server, Server3, which is part of a domain and on the same physical network, and it has an MSAccess database which is used on the external webfarm as well as on the internal intranet. I can connect via the intranet because the DB file is on the same box from which the intranet is being served...
3
1706
by: javelin | last post by:
Does anyone have any suggestions for synchronizing multiple websites? We have a dev server, a testing server, and a live server. Now, we have 3 developers, and we are having trouble tracking which files on which server are the latest. I know it should be obvious, but this is a bit complicated, as many of you may have experienced. Any suggestions for software and/or methods/techniques for file management?
5
3244
by: javelin | last post by:
Can someone recommend a utility (preferably open-source) to synchronize changes across servers? I need to bring only data over in some cases, and only objects in other cases. Any ideas? Thx!
12
1626
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
Is there any doc to config webfarm for asp.net 3.5 app? I have found below article: PRB: Session State Is Lost in Web Farm If You Use SqlServer or StateServer Session Mode http://support.microsoft.com/default.aspx?scid=kb;EN-US;q325056 Does this article apply to asp.net 3.5 app?
0
7946
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7877
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8374
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8009
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 most users, this new feature is actually very convenient. If you want to control the update process,...
1
5739
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5411
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3867
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3903
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2389
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 we have to send another system

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.