473,804 Members | 3,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deployment Best Practices

Does anyone have suggesstions for ASP.NET deployment best practices. This is
in the context of a large organization where developers do not have admin
access to web servers. The idea of buliding msi packages for each deploy
seems difficult to implement because the server admins do not have the time
to constantly be running msi's and moving applications between environments.
Are there any proven products that can automate this process for .net
applications?
Nov 18 '05 #1
2 3421
What about having some sort of folder structure in VSS (or whatever source
control you are using), that mimics the deployed structure. Then a build is
just doing a get latest of what's in there.

"sstevens" <ss******@discu ssions.microsof t.com> wrote in message
news:EE******** *************** ***********@mic rosoft.com...
Does anyone have suggesstions for ASP.NET deployment best practices. This is in the context of a large organization where developers do not have admin
access to web servers. The idea of buliding msi packages for each deploy
seems difficult to implement because the server admins do not have the time to constantly be running msi's and moving applications between environments. Are there any proven products that can automate this process for .net
applications?

Nov 18 '05 #2
"sstevens" <ss******@discu ssions.microsof t.com> wrote in message
news:EE******** *************** ***********@mic rosoft.com...
Does anyone have suggesstions for ASP.NET deployment best practices. This
is
in the context of a large organization where developers do not have admin
access to web servers. The idea of buliding msi packages for each deploy
seems difficult to implement because the server admins do not have the
time
to constantly be running msi's and moving applications between
environments.
Are there any proven products that can automate this process for .net
applications?


I know this response is late, but I was intrigued by your question.

You said that the system admins don't have time to be running msi's. Don't
they do installs all the time? Also, if you have an msi, can't it be run
unattended?

Of course, a better issue is that web setup projects can only install to the
default web site on a machine...

What I have done in a lower-volume production environment is:

0) Create a virtual directory on a web server accessible from the build
machine
1) Empty the VD
2) the Copy Project feature of VS.NET to copy only the "files necessary for
this project" to the VD
2a) If the VD is on a staging server, test here
3) On acceptance, have the VD copied up to a new directory in production. If
you use versioning, name the new directory to include the version,
otherwise, to include a timestamp.
0a) Production has two versions for each web application. The real one, and
the "next" one.
4) Configure IIS to point the "next" application to the newly-copied
directory.
5) Do final sanity checking
6) Configure IIS to point the "real" application to the newly-copied
directory

This worked well for a moderate volume of deployments.

John Saunders
jo************* *@hotmail.com

Nov 18 '05 #3

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

Similar topics

136
9463
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their code was littered with document.all and eval, for example, and I wanted to create a practical list of best practices that they could easily put to use. The above URL is version 1.0 (draft) that resulted. IMO, it is not a replacement for the FAQ,...
3
1212
by: Oscar Thornell | last post by:
Hi, Up until now I have only developed relativly simple .NET solutions where the app could run on a single box.. Could anyone direct med to some articles/books/best practices for developing/deploying scalable clustered .NET solutions...something like 5-7 HTTP front machines...connecting to a couple of buisness machines...connecting to a datastore or legacy systems...I have never done this in .NET only in J2EE/UNIX...
0
2648
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't any method or component to wrote registry) After I used "InstallUtil" to registry Enterprise Library (those DLLs) to the deployment server, the application runs smoothly. Now I wonder why i need to registry those Enterprise Library DLLs into
4
5689
by: Frank Rizzo | last post by:
I have a SmartClient/ClickOnce app that needs to be deployed to a whole bunch of sites. The app.config would have to be different for each site. I am trying to do this in an automated manner (by calling MSBuild). So MSBuild builds and publishes the app - in the process it takes all the files and creates a hash. The problem is that the hash would be different for every site (since app.config is different). Is there a utility (or an...
1
1756
by: jason | last post by:
In a small shop with 3 .net developers. What would typically be considered a good deployment practice if there is a chance of developers might be working on the same websites at the same time? Do most developers work on the desktop and deploy individual sources using xcopy compiling on the remote web servers? I noticed VS.NET acts kinda strange when just images are opened with other tools while you attempt to added them to a project....
3
2248
by: John Dalberg | last post by:
I am looking for an ASP.NET application on CodePlex which exemplifies best practices for the following: - Use of interfaces - Seperation of the UI, business and data tiers - Data Tier that uses Enterprise Libraries data layer (if possible) - Use of providers (if possible) - use of factories (if possible) - use of caching - Session management
6
4071
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
0
1025
by: Chris | last post by:
I've just built my first system of reasonable complexity. I have built it on my own so deploying has been copy and paste. Soon other people will be working on it. Does anyone have any suggestions on deployment stategies and creating a test environment. I can't really find anything on best practices for this. Bear in mind I work in a small company which doesn't even have source control (I know, I know). I was thinking: Develop on your...
3
1200
by: DGleeson3 | last post by:
Hello All Hope Im posting in the right place. If not please point me elsewhere. We are developing a reasonably standard Web application. VS2005 ASP.NET SQL server 2005. The unusual requirement comes from the deployment (installation) of
0
9705
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
10567
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10074
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9138
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
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
6847
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
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2983
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.