Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure websites deploy specific web project

Tags:

I have a solution with multiple web projects. I want to run them inside Azure Websites, each as a separate website, from the same Git repository.

How do I specify which website runs which web project?

AppHarbor handles this with multiple solution files named after the applications, containing the respective web project. I cannot find anything about Azure websites.

like image 417
CMircea Avatar asked Nov 29 '12 19:11

CMircea


People also ask

Can I host a dynamic website on Azure?

Can I host My Website on Azure. The answer is Yes, you can host your website on Azure. In Fact, if you are using App service F1 Free tier plan, you can host your website at free of cost.


1 Answers

Now it is as simple as using App.Settings instead of a .deployment file.

This also allows for multi-project solutions in one Repo, so for example, if you have a WebAPI and a Web App in one solution you can configure an Azure Web Site to deploy a specific project. like so:

Azure App.Settings Example

Source: https://github.com/projectkudu/kudu/wiki/Customizing-deployments#using-app-settings-instead-of-a-deployment-file

I have tried this and works a treat.

like image 78
SimonGates Avatar answered Oct 11 '22 18:10

SimonGates