473,385 Members | 1,720 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,385 software developers and data experts.

Deployment Approach

I have an ASP.NET app (all VB code) that is ready to deploy. I’ve created a
Windows Installer package for it, which is working, but I'm wondering whether
this is really the best approach. I'd appreciate any input from someone with
more experience in deployment packages, etc.

Some people don't seem to think that using an installer package is really
necessary for a web app, since you don't typically have to repeat the
installation many times. But this app uses two Class Libraries (.dll) files
that need to be shared with other apps and I want them in the Global Assembly
Cache. I see where the Microsoft recommendation is that you should use the
installer for this. (One of these dlls also makes calls to several third
party dlls, so they need to be in the GAC as well.) Since I need to release
this for beta-testing and then onto another server for production later on, I
really like the idea of delivering a package to the administrators and let
them take it from there. Otherwise, I think we're looking at installing
gacutil.exe on both the test and production boxes and somebody having to
remember to install dlls and then uninstall and reinstall them each time
something changes. But I remain open to suggestions.

One thing I've noticed is that I seemingly have to “publish” the web site in
order to create the compiled code to be deployed. (I haven't found any other
way to compile code-behind modules without writing a command-line .bat file.
But I haven't found a way to use Studio 2005 to generate command-line build
to use as an example to work from, like I did with Studio 2003. Is there
really no way to do a release build on a web application in Studio 2005, or
am I just missing something?).

However, this turned out OK. I just published the whole durn things to a
folder on my own C: drive and then included all the files that the publish
step produced in the Target Machine folders of my Setup Project. Then I made
sure all the dlls I need are there and the ones that need to be shared are in
the GAC folder in the setup project. In fact, it makes it easier. You don’t
have to go through the home directory and pick out all the individual files
to exclude code-behind source, etc. Whatever gets published, gets deployed.

So, this is presenting itself as a viable option. However, I made some code
changes, republished, and then went to rebuild the setup project. The second
published version changed the names of the dlls containing the compiled
code-behind. Does this mean I have to rework the setup project every time I
need to make changes and redeploy? (I see where there's an option to publish
with "fixed naming" but that produces a plethora of "single page assemblies"
that I don't especially feel like dealing with either.)

Thanks in advance for any thoughts you'd like to share.

--
Richard Laird, MCSD.NET
Apr 27 '06 #1
0 1028

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

Similar topics

1
by: Mike | last post by:
All, I'm working on a system for deployment on a corporate network. I would like to use a technology like Java Web Start to take care of the client deployment. And I would also like the...
0
by: rmike | last post by:
Hi, I have deployed a .NET winform application using a web server. The application has some dependencies on a 3rd party assemblies. 1) If I have those assemblies dlls in a client's GAC, the...
2
by: Brian Scott | last post by:
Hi, We are currently using MSDE as a local database for our customer focussed applications. Does anyone else deploy MSDE with their applications and if so what model do you use?
1
by: webfitz | last post by:
I just wanted to hear some ideas and what some have done on this. I'm having a problem deciding how to build or setup our application. This will be an application for our entire company of 700...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: Johnny Holland | last post by:
Hi there, We are trying to decide whether to go the ASP.NET route or the rich client route with no touch deployment as described in this article...
0
by: Andrew E Chapman | last post by:
I've just started using VB.NET, so the following two questions are probably going to seem ludicrous, but... 1). When some items are added to a project, how exactly are they used? For example, if...
1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
3
by: Chuck P | last post by:
I need to deploy and asp.net 2.0 application that has dpapi/machine encrypted connection strings. I tried using the VS Build Publish menu selection and then putting the encryption in the...
0
by: blkwebman | last post by:
I'm trying to create a "standalone" install package (without any of the dialog boxes that a standard setup package would have). I think I understand how to do it in VB6 (using PDCmdLn.exe); I have...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
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
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...

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.