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

Advice on how to create deployment package

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

Apr 12 '06 #1
7 4017
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...loymentovernet
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/lib...tk(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.)

Apr 21 '06 #2
Thanks Steven

I think I need something more specific with regard to the shared assemblies.
For example should I create a Web Setup project and add the project output
of my shared assembly to the setup project or should these shared assemblies
not be part of my web setup. If they are not to be part of web setup, could
you give me an example of what to do with them

Thanks

Terry

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:g0**************@TK2MSFTNGXA01.phx.gbl...
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...loymentovernet 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/lib...tk(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.)

Apr 21 '06 #3
Hi Terry,

If the shared assemblies you mentioned here is just those strong-named
assemblies you want to install into GAC at setup time, you can utilize the
VS setup project(include web setup project)'s "Global Assembly Cache
Folder" option, we can add this through

File System --->Special Folder---> Global Asssembly Cache Folder

This option is available in both VS 2003 and 2005 setup project:

#Deployment and the Global Assembly Cache
http://msdn2.microsoft.com/en-us/lib...zs(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.)


Apr 25 '06 #4
Thanks

Another part of this application are some web services.

Can I in a single web project do the following:
Install my business objects (vb.net assembly) into Program Files
Install my shared components (vb.net assembly) into GAC
Install my ASP pages into a web directory such as MyProject\MyWebPages
Install my web services into a web directory such as MyProject\MyWebServices

If this is possible could you please point me to an example that does all
this

Thanks

Terry Holland

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:ob**************@TK2MSFTNGXA01.phx.gbl...
Hi Terry,

If the shared assemblies you mentioned here is just those strong-named
assemblies you want to install into GAC at setup time, you can utilize the
VS setup project(include web setup project)'s "Global Assembly Cache
Folder" option, we can add this through

File System --->Special Folder---> Global Asssembly Cache Folder

This option is available in both VS 2003 and 2005 setup project:

#Deployment and the Global Assembly Cache
http://msdn2.microsoft.com/en-us/lib...zs(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.)

Apr 25 '06 #5
Hi Terry,

Thanks for the response.

As for the further question you mentioned,

===================
Install my business objects (vb.net assembly) into Program Files
Install my shared components (vb.net assembly) into GAC
Install my ASP pages into a web directory such as MyProject\MyWebPages
Install my web services into a web directory such as MyProject\MyWebServices
====================

I think it can be done in a single web setup project. The VS 2005 web setup
project can let us install contents into many special folder locations,
include "Program Files" folder", "GAC Folder", "Desktop Folder", ......

Also, for virtual directory folder, it can also support creating multiple
virtual directories( I think this can meet your requirement on install the
web application and webservice into different application virtual dir),
however, one limitation is that such multiple virtual directory seems can
only be installed under the same IIS site (since VS setup project doesn't
provide site selection for indivdual virtual directory).

You can get the detailed special folder list in the following msdn link:

#Special Folders and Custom Folders
http://msdn2.microsoft.com/en-us/library/s2esdf4x.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.)

Apr 26 '06 #6
Is this possible in vs 2003? I have not yet upgraded to 2005

"Steven Cheng[MSFT]" wrote:
Hi Terry,

Thanks for the response.

As for the further question you mentioned,

===================
Install my business objects (vb.net assembly) into Program Files
Install my shared components (vb.net assembly) into GAC
Install my ASP pages into a web directory such as MyProject\MyWebPages
Install my web services into a web directory such as MyProject\MyWebServices
====================

I think it can be done in a single web setup project. The VS 2005 web setup
project can let us install contents into many special folder locations,
include "Program Files" folder", "GAC Folder", "Desktop Folder", ......

Also, for virtual directory folder, it can also support creating multiple
virtual directories( I think this can meet your requirement on install the
web application and webservice into different application virtual dir),
however, one limitation is that such multiple virtual directory seems can
only be installed under the same IIS site (since VS setup project doesn't
provide site selection for indivdual virtual directory).

You can get the detailed special folder list in the following msdn link:

#Special Folders and Custom Folders
http://msdn2.microsoft.com/en-us/library/s2esdf4x.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.)

Apr 26 '06 #7
Thanks for your quick response Terry,

I've just take a quick look over the VS 2003 web setup project and found
that those special folders useful for you also available there. So I think
you can go on with VS 2003 web setup project also:)

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.)

Apr 26 '06 #8

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

Similar topics

2
by: ksskumar | last post by:
Hi Friends, My software's target is to creating a add-in for Outlook. I am struckup of creating deployment of my software. My software flow is as follows, 1. Complete functionality is...
1
by: Richard Lewis Haggard | last post by:
I'm new to C# deployment project way of doing things and have run into a problem with a deployment project that has me stumped. I've put together a deployment of a project which works just fine for...
0
by: Michael | last post by:
After a week of beating my head against a wall I still continue to receive the following error message when trying to deploy a package using the cabinet option. The same error occurs with a...
2
by: msnews.microsoft.com | last post by:
Im trying to deploy a windows service and a windows application together with my web application in the same setup msi. It works sometimes, but suddenly I cant build the msi. I get errors like: ...
1
by: SKarnis | last post by:
I have created a simple ASP.NET Web Service with VB on Win XP Pro SP2, IIS 5.1, .NET 1.1. Service works in Visual Studio environment. Created an deployment package. Tried running the deployment...
1
by: Terry Holland | last post by:
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...
1
by: RandomElle | last post by:
Can anyone help me out with locating & using the package and deployment wizard for Access 2003? I have searched for HOURS and cannot find the Package & Deployment wizard for Access2003 anywhere on...
1
by: =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post by:
On reflection, you could possibly make the app a self extracting zip file which extracts the EXE and a settings file and then starts the app, then when you app closes, it can repack the settings...
13
by: terry.holland | last post by:
I have a three tiered CRM application (ASP.Net UI, VB.Net Business Layer & VB.Net Data Access Layer) that consists of number of classes. The application will be deployed to a number of clients. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
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...
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...

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.