PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, July 16, 2022

[FIXED] How to Publish .Net solution containing multiple projects through Visual Studio to Azure

 July 16, 2022     azure, azure-web-app-service, visual-studio, visual-studio-2017, web-deployment     No comments   

Issue

I'm having a .Net Solution with 2 Projects. I've created a webapp in azure for deployment. So, i downloaded publishsetting file from Azure webapp.

Is there anyway to publish the entire solution[multiple projects] to that webapp using downloaded publishsettings file.

I see that only one project can be published to azure. Please suggest


Solution

Hosting on the same Azure Web App with different slots

First, you'll need to define your second slot. This can be done in the portal by navigating to your Web App's management blade, then clicking the Deployment Slots menu option. Once a slot is defined, you can click on it under the Deployment Slots menu, and you'll be taken to a totally separate Overview tab for the slot. Note that on this page, you can download a totally separate Publish Profile for the slot.

With two web applications in the same Visual Studio solution, you can right click on each, choose "Publish", then use a primary or slot publish profile to determine where each web application will be published.

Multiple custom domain names for different web applications in one Azure Web App

Use the same steps as above. After publishing both of your sites (using two slots - the primary and the new slot you define), browse to the Custom Domains tab in each slot. Here, you can set up each custom domain so that Azure will route traffic to the appropriate slot accordingly.



Answered By - Rob Reagan
Answer Checked By - Robin (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing