Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to perform web deploy in ASP.NET 5?

When I click publish ASP.NET 5 project in visual studio, only 3 target I can choose: Microsoft Azure Web Apps,
Import,
File System

There're no Web Deploy or Web Deploy package as shown in ASP.NET 4.6 Project.
How can I perform Web Deploy on ASP.NET 5 project?

like image 666
flysha Avatar asked May 29 '15 01:05

flysha


1 Answers

Publishing an ASP.NET 5 project to an IIS server with Web Deploy requires a few additional steps in comparison to an ASP.NET 4 project.

Before asp.net dev team provide a better solution, you can just follow the instruction from docs.asp.net Publishing to IIS with Web Deploy using Visual Studio 2015

To publish an ASP.NET 5 application to a remote IIS server the following steps are required.

  1. Configure your remote IIS server to support ASP.NET 5
  2. Create a publish profile
  3. Customize the profile to support Web Deploy publish
like image 163
MienDev Avatar answered Oct 21 '22 09:10

MienDev