473,465 Members | 4,823 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Deploy ASP.NET 1.1 project on live sites

I have a ASP.NET 1.1 project that I want to be able to deploy on my web-servers
while they have real traffic (40 requests/second).

When I copy the projects assembly in the bin-directory of the website directory
the application gets restarted and the web server needs to recompile all
my aspx-pages. Because the traffic is high the web server needs to recompile
a lot of aspx-pages at the same time.
Because of this alot of requests gets queued and I get so me "Server too
busy" errors (because the queue got full).

What are the best practices for deployment on these kinds of scenarios? I
want do minimize the delay the users get when I deploy a new version.

I have a web garden (2 worker processes) on each web server (because I want
increased stability). Is it true that I need to compile each page twice if
I have 2 worker processes?
Is it necessary to have 2 worker processes if stability is not a problem?

/nisse
Nov 19 '05 #1
2 1868
Hi Nisse,

Welcome to ASPNET newsgroup.
As for the questions with deploying updating components in asp.net web
application, here are some of my understanding and suggestions:

Generally all the private components(non- strong named) are all put in the
private bin dir, and when there occur any modificatio in the bin dir, the
application's running appDomain will restart. And during the reinitilize
of the new appdomain, there'll occur some operations , such as the
recompilation of the dynamic pages or components you mentioned, also the
runtime will shadow copy some of the used private assemlies. And such
dynamic compiled assmelies or shadow copied ones's target location is also
appDomain specific (the target temp dir), so in WebGarden scenario, whether
each appdomain in separate process will need to dynamically recompile the
pages or shadow copy the components also depend on the internal
implemenation(whether they'll share the same dynamic code generation or
shadow copy temp dir location). IMO, I think the current implemenation
will share such setting for each application so as to avoid additional
overhead, but the reload of each appdomain in multi asp.net process is
unavoidavable.

In addition, for webgarden, if not necessary( for stability), of course we
recommend that we avoid using it since web garden or other webfarm (loading
balance ...) will cause problems for state management such as the
Inproc session , Applicaiton in memory datas( the Asp.net Cache
collection... ).

Thanks,

Steven Cheng
Microsoft Online Support

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


--------------------
| Message-ID: <ab*************************@msnews.microsoft.co m>
| From: =?iso-8859-1?Q?Nils=20Hedstr=f6m?= <Ni***@online.nospam>
| Subject: Deploy ASP.NET 1.1 project on live sites
| MIME-Version: 1.0
| Content-Transfer-Encoding: 8bit
| Content-Type: text/plain; charset=iso-8859-1; format=flowed
| X-Newsreader: JetBrains Omea Reader 671.6
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Date: Wed, 21 Sep 2005 09:49:29 -0700
| NNTP-Posting-Host: static-213-115-146-117.sme.bredbandsbolaget.se
213.115.146.117
| Lines: 1
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:126175
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I have a ASP.NET 1.1 project that I want to be able to deploy on my
web-servers
| while they have real traffic (40 requests/second).
|
| When I copy the projects assembly in the bin-directory of the website
directory
| the application gets restarted and the web server needs to recompile all
| my aspx-pages. Because the traffic is high the web server needs to
recompile
| a lot of aspx-pages at the same time.
| Because of this alot of requests gets queued and I get so me "Server too
| busy" errors (because the queue got full).
|
| What are the best practices for deployment on these kinds of scenarios? I
| want do minimize the delay the users get when I deploy a new version.
|
| I have a web garden (2 worker processes) on each web server (because I
want
| increased stability). Is it true that I need to compile each page twice
if
| I have 2 worker processes?
| Is it necessary to have 2 worker processes if stability is not a problem?
|
| /nisse

|
|

Nov 19 '05 #2
Hi Nisse,

How are you doing on this issue and does the things in my last reply helps
a littile. If there're any further questions or anything else we can help,
please feel free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

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

--------------------
| X-Tomcat-ID: 51533423
| References: <ab*************************@msnews.microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: st*****@online.microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Thu, 22 Sep 2005 03:15:26 GMT
| Subject: RE: Deploy ASP.NET 1.1 project on live sites
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <d4*************@TK2MSFTNGXA01.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 89
| Path: TK2MSFTNGXA01.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:126299
| NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
|
| Hi Nisse,
|
| Welcome to ASPNET newsgroup.
| As for the questions with deploying updating components in asp.net web
| application, here are some of my understanding and suggestions:
|
| Generally all the private components(non- strong named) are all put in
the
| private bin dir, and when there occur any modificatio in the bin dir, the
| application's running appDomain will restart. And during the reinitilize
| of the new appdomain, there'll occur some operations , such as the
| recompilation of the dynamic pages or components you mentioned, also the
| runtime will shadow copy some of the used private assemlies. And such
| dynamic compiled assmelies or shadow copied ones's target location is
also
| appDomain specific (the target temp dir), so in WebGarden scenario,
whether
| each appdomain in separate process will need to dynamically recompile the
| pages or shadow copy the components also depend on the internal
| implemenation(whether they'll share the same dynamic code generation or
| shadow copy temp dir location). IMO, I think the current implemenation
| will share such setting for each application so as to avoid additional
| overhead, but the reload of each appdomain in multi asp.net process is
| unavoidavable.
|
| In addition, for webgarden, if not necessary( for stability), of course
we
| recommend that we avoid using it since web garden or other webfarm
(loading
| balance ...) will cause problems for state management such as the
| Inproc session , Applicaiton in memory datas( the Asp.net Cache
| collection... ).
|
| Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
|
|
|
|
| --------------------
| | Message-ID: <ab*************************@msnews.microsoft.co m>
| | From: =?iso-8859-1?Q?Nils=20Hedstr=f6m?= <Ni***@online.nospam>
| | Subject: Deploy ASP.NET 1.1 project on live sites
| | MIME-Version: 1.0
| | Content-Transfer-Encoding: 8bit
| | Content-Type: text/plain; charset=iso-8859-1; format=flowed
| | X-Newsreader: JetBrains Omea Reader 671.6
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | Date: Wed, 21 Sep 2005 09:49:29 -0700
| | NNTP-Posting-Host: static-213-115-146-117.sme.bredbandsbolaget.se
| 213.115.146.117
| | Lines: 1
| | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| | Xref: TK2MSFTNGXA01.phx.gbl
| microsoft.public.dotnet.framework.aspnet:126175
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | I have a ASP.NET 1.1 project that I want to be able to deploy on my
| web-servers
| | while they have real traffic (40 requests/second).
| |
| | When I copy the projects assembly in the bin-directory of the website
| directory
| | the application gets restarted and the web server needs to recompile
all
| | my aspx-pages. Because the traffic is high the web server needs to
| recompile
| | a lot of aspx-pages at the same time.
| | Because of this alot of requests gets queued and I get so me "Server
too
| | busy" errors (because the queue got full).
| |
| | What are the best practices for deployment on these kinds of scenarios?
I
| | want do minimize the delay the users get when I deploy a new version.
| |
| | I have a web garden (2 worker processes) on each web server (because I
| want
| | increased stability). Is it true that I need to compile each page twice
| if
| | I have 2 worker processes?
| | Is it necessary to have 2 worker processes if stability is not a
problem?
| |
| | /nisse
|
| |
| |
|
|

Nov 19 '05 #3

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

Similar topics

0
by: JP | last post by:
Is there a way to acess .NEt web projects though UNC path (aka network path)? Heres the situation: 1. Dont want to use FP Extentions 2. Can get a web project to open using //IP of server/site...
1
by: TM | last post by:
I am trying to learn ASP.net as part of my learning of .net in general, and was wondering how applications are developed and then deployed most of the time ? Do people do development on a...
2
by: Marcus | last post by:
I have seen many posts of people with the same problem as me (attached below), but I have yet to see any solutions posted. Has anyone figured out how to deploy an Asp.net web site to the webserver...
9
by: Wayne Wengert | last post by:
I built an ASP application and it runs fine on my local IIS. I am trying to move the application to my web service (ISP) out on the internet. I've read several of the help articles but they all...
3
by: John Holmes | last post by:
We have a couple of websites on our Intranet IIS server. We use the default website for some vended web apps, but the majority of our intranet exists on another IIS configured website. The problem...
3
by: JIM.H. | last post by:
Hello, I used copy project and create a copy of my project with file required at run time to deploy my asp.net application to a DMZ web server. I copied the folder to Web sever and created a web...
2
by: yootaeho | last post by:
Hi Gurus, It would be appreciated if you guys give me some idea to tackle our current problem. About 10 developers in our company are working one a couple of web projects using source safe,...
8
by: news.microsoft.com | last post by:
I have two completely distinct ASP.NET (2.0) web applications. They share no code, they have distinct web.config files, they don't even link to each other. During development, they have lived...
5
by: Ron | last post by:
Hi all, I am new at .net 2.0 deployment so can any one recommend me a good way or article to follow? What I want to do is (1)to deploy the website on the server2003 with IIS6 (2)we have...
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
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...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...
0
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...
0
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 ...

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.