Advice on how to create deployment package

T

Terry Holland

I have just created my first asp.net application and I am ready to deploy.
The solution consists of the following:
A single asp.net assembly to be deployed to web server
A number of vb.net assemblies to be deployed to application server. Some of
these assemblies will be shared by future applications.

There is also a SQL Server DB that I need to install onto live server.

The only way I have deployed asp.net app before is to copy my files manually
but I would like a packaged solution for this. Could someone point me in
the
right direction please.

Thanks

Terry Holland
 
S

Steven Cheng[MSFT]

Hi Terry,

Thank you for posting.

Regarding on this issue, I've also seen your another former thread
discussin on the same problem in this newsgroup. I've just posted my
response there. I've pasted my response here for your convenience. Also, if
you feel it proper that we continue to discuss in this thread, please feel
free to post here.:

========================
Hi Terry,

Thank you for posting.

Regarding on the ASP.NET web application deployment question, I think you
can create a VS.NET Web Setup project, it'll help generate the code for
copy web application's page content or assemblies. And for your shared
assemblies, you can use some command batch file or script file to register
them through the "GacUtil.exe" tool. In addition, for database creating,
you should create some custom code (use the Custom Action in VS setup
project) to programmatically connect to database and execute database
creating sql script. here are some good tech articles describing on this:

#Deployment of a Web Setup Project
http://msdn.microsoft.com/library/en-us/vsintro7/html/vbcondeploymentovernet
work.asp?frame=true

#Deploying ASP.NET Applications - Part 1
http://www.15seconds.com/issue/030806.htm

#Walkthrough: Using a Custom Action to Create a Database at Installation
http://msdn2.microsoft.com/en-US/library/49b92ztk(VS.80).aspx

Hope this helps.
===============================

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top