Microsoft Web Deploy Là Gì

Ý kiến phản hồi sẽ tiến hành gửi cho bboomersbar.com: bằng phương pháp nhấn nút gửi, chủ kiến phản hồi của bạn sẽ được áp dụng để nâng cao các sản phẩm và thương mại & dịch vụ của bboomersbar.com. Cơ chế về quyền riêng biệt tư.

Bạn đang xem: Microsoft web deploy là gì


Trong bài viết này

Applies to:

*
Visual Studio
*
Visual Studio for Mac

In this article, you"ll learn how lớn publish your first ASP.NET web phầm mềm to various locations including a local web vps such as IIS and a remote cloud environment such as Azure tiện ích Service.

This article supports ASP.NET and ASP.NET Core.

Prerequisites

You need Visual Studio installed with the ASP.NET and web development workload.

If you"ve already installed Visual Studio:

Install the latest updates in Visual Studio by selecting Help > Check for Updates.Add the workload by selecting Tools > Get Tools & Features.

Get started

In Solution Explorer, right-click your project và choose Publish.

*

If you"re publishing this web tiện ích for the first time, next you see the Publish wizard.

*


Note

Visual Studio filters the list of destinations depending on the type of web app.


Publish your web tiện ích to Azure

For detailed steps on publishing your website app, see Quickstart: Deploy an ASP.NET web app.

Publish your web ứng dụng to Docker Container Registry

You can publish your web tiện ích as a Docker container lớn any compatible Docker Container Registry.

*

Click Next & choose from the available options, such as Azure Container Registry or Docker Hub.

*

Azure Container Registry

Next, for Azure Container Registry, either select an existing instance or create a new one.

*

Docker Hub

Next, for Docker Hub, provide the publish credentials.

*

Other Docker Container Registry

Next, for other Docker container registries, provide the URI & publish credentials.

Xem thêm: Hướng Dẫn Tải Game Cài Đặt Mod Tiền Level Mod Xe Trong Game Euro Truck Simulator 2

*

Finish the Publish wizard

Next, you see the summary page for the new publish profile that you just created using the Publish wizard. Click Publish & Visual Studio deploys your web phầm mềm to the specified Docker Container Registry.

*


Note

The above screenshot is showing a publish profile targeting Azure Docker Registry, but the same Publish button is available for all three Docker Container Registry options.


Publish your web ứng dụng to a folder

You can publish your web ứng dụng to both local và network folders.

*

First, provide the path và click Finish khổng lồ complete the Publish wizard.

*

Next, you see the summary page for the new publish profile that you just created using the Publish wizard. Click Publish & Visual Studio deploys your web app to the provided path.

*

You can come back khổng lồ this summary page after you close it. Next time you right-click and choose Publish, Visual Studio opens this summary page. (To get back khổng lồ the Publish wizard just click New in the summary page.)

Publish your web phầm mềm to an FTP/FTPS server

You can publish your web ứng dụng using FTP or FTPS.

*

Provide the necessary connection details & choose Finish.

*

Next, you see the summary page for the new publish profile that you just created using the Publish wizard. Click Publish và Visual Studio deploys your web ứng dụng to the provided FTP or FTPS Server.

*

You can come back to this summary page after you close it. The next time you right-click & publish, Visual Studio opens this summary page. (To get back to the Publish wizard just click New in the summary page.)

Publish your web ứng dụng to Web hệ thống (IIS)

You can publish your web tiện ích to IIS.

*

Pick the desired deployment mode (if you"re unsure, use the default).

*

Web Deploy

Provide the necessary connection details and choose Finish.

*

Web Deploy Package

Click Browse... to mở cửa a Select Package Location dialog box and enter the path lớn where you want the package lớn be created, including the .zip file name.

*

Finish the Publish wizard

Next, you see the summary page for the new publish profile that you just created using the Publish wizard. Click Publish and Visual Studio deploys your web tiện ích to the specified IIS server.