473,406 Members | 2,705 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,406 software developers and data experts.

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 3678
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
"Christopher D. Wiederspan" <wi********@netquote.com> wrote in message
news:eE**************@TK2MSFTNGP10.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: "Christopher D. Wiederspan" <wi********@netquote.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.public.dotnet.framework.aspnet
!NNTP-Posting-Host: 67.96.151.130
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:163379
!X-Tomcat-NG: microsoft.public.dotnet.framework.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
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...
3
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...
0
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...
1
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
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...
3
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...
5
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
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...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
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
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
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...

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.