Red Gate forums :: View topic - Deploying webapp with database and windows services
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Deployment Manager
Deployment Manager forum

Deploying webapp with database and windows services

Search in Deployment Manager forum
Post new topic   Reply to topic
Jump to:  
Author Message
aToMac



Joined: 17 Feb 2014
Posts: 2

PostPosted: Mon Feb 17, 2014 3:16 pm    Post subject: Deploying webapp with database and windows services Reply with quote

Somehow I can't connect the dots. I would like to deploy a webapp with a sql database and some windows services.

I understand how I can publish for deployment from Visual Studio. But this is only the web application.

I really don't understand how I can deploy the windows services. I have found a powershell script, but how do I create one package with the webapp, the web services and the powershell script(s)?

The windows services are in different project files. I can't package those with Rgpublish. Could someone please give some pointers?
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1121
Location: My desk.

PostPosted: Mon Feb 17, 2014 4:50 pm    Post subject: Reply with quote

You can't really do all this in one package. Each component (the web app, the windows service, the database) would usually be each in their own package. Your project in Deployment Manager would then have a "Step" for each component.

You can indeed publish the web-app package from Visual Studio using the VS Addin.
For the Service, you'd package up the build output folder using RGPublish along with the required powershell (an example is in our powershell forum linked from this one, which it sounds like you found already?)
For the database, you can either package it from within SSMS using the SSMS Addin, or alternatively using our SQL Automation tools (such as sqlci.exe)

The getting started overview (see here) takes you through the process of creating a project, package, and steps.

Hope that helps
Back to top
View user's profile Send private message
aToMac



Joined: 17 Feb 2014
Posts: 2

PostPosted: Tue Feb 18, 2014 10:49 am    Post subject: Reply with quote

Thank you. I missed this part in the rgpublish output:

Code:
/source=<path>
Path to a .csproj file, .nuspec file, or a directory to publish.
For example: "C:\My Project\Project.csproj" or "C:\My Project"


Or a directory to publish.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group