Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to deploy a single solution with multiple projects?

I have developed a well-decoupled website using WebAPI and AngularJS as follows:

SOLUTION
  |—— WEB.API Project  
  |—— Website pages Project
  '—— Other projects related to functionalities

This setup is on my own computer.

Now I'm here wanting to deploy to my web server (iis 7.5, privately owned, WebDeploy installed). It is possible to deploy both projects on a single web site? (other projects are class libraries, so no hassle)

For what I know, I have to deploy the WebAPI part to a website, and the UI part to another website. May I put them on a single website?

like image 843
Valerio Avatar asked May 19 '15 07:05

Valerio


People also ask

How many projects can be created inside a solution?

You can have as many projects as you like in a solution, but there can be only one solution open at a time in a particular instance of VS.NET.

How many projects is too many in a solution?

Research suggests 2-3 projects at a time is optimal for individual focus and collective scheduling. If you're asking people to juggle more than this then you are lowering their productivity. Too Many Projects will damage your business and drive you into a self-perpetuating low productivity fire-fighting culture.

Can a Visual Studio solution contain multiple projects?

We have a Visual studio solutions with multiple projects(20 to 25). It was easy to create repository structure in VSS as individual projects.


1 Answers

You can put the Web API project in a virtual directory under the main web site. That's what we are actually doing in our current project.

like image 94
Paolo Costa Avatar answered Sep 18 '22 03:09

Paolo Costa