Skip to content

Commit 4c0db93

Browse files
authored
Merge pull request #1999 from MicrosoftDocs/master
5/9 AM Publish
2 parents 8d84276 + 967c2a6 commit 4c0db93

39 files changed

+382
-75
lines changed

docs/debugger/includes/remote-debugger-install-web-deploy.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ translation.priority.ht:
1616
---
1717
1. If you intend to deploy your applications with Web Deploy in Visual Studio, install the latest version of Web Deploy on the server.
1818

19-
To install Web Deploy, use the [Web Platform Installer (WebPI)](https://www.microsoft.com/web/downloads/platform.aspx). You find Web Deploy in the Applications tab. You can also obtain an installer directly from the [Microsoft Download Center](https://www.microsoft.com/search/result.aspx?q=webdeploy&form=dlc).
19+
To install Web Deploy, use the [Web Platform Installer (WebPI)](https://www.microsoft.com/web/downloads/platform.aspx). (To find the Web Platform Installer link from IIS, select **IIS** in the left pane of Server Manager. Right-click the server and select **Internet Information Services (IIS) Manager**.)
20+
21+
In the Web Platform Installer, you find Web Deploy in the Applications tab. You can also obtain an installer directly from the [Microsoft Download Center](https://www.microsoft.com/search/result.aspx?q=webdeploy&form=dlc).
2022

2123
2. Verify that Web Deploy is running correctly by opening **Control Panel > System and Security > Administrative Tools > Services** and make sure that **Web Deployment Agent Service** is running (the service name is different in older versions).
2224

docs/debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Depending on your security settings, it may save you time to add the following t
4646
- go.microsoft.com
4747
- download.microsoft.com
4848
- visualstudio.com
49+
- iis.net
4950

5051
If you are using Internet Explorer, you can add the trusted sites by going to **Internet Options > Security > Trusted Sites > Sites**. These steps are different for other browsers. (If you need to download an older version of the remote debugger from my.visualstudio.com, some additional trusted sites are required to sign in.)
5152

@@ -55,6 +56,8 @@ When you download the software, you may get requests to grant permission to load
5556

5657
If you want more detailed information to install ASP.NET on IIS, see [IIS 8.0 Using ASP.NET 3.5 and ASP.NET 4.5](/iis/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45).
5758

59+
1. In the left pane of Server Manager, select **IIS**. Right-click the server and select **Internet Information Services (IIS) Manager**.
60+
5861
1. Use the Web Platform Installer (WebPI) to install ASP.NET 4.5 (from the Server node in Windows Server 2012 R2, choose **Get New Web Platform Components** and then search for ASP.NET)
5962

6063
![RemoteDBG_IIS_AspNet_45](../debugger/media/remotedbg_iis_aspnet_45.png "RemoteDBG_IIS_AspNet_45")
@@ -74,7 +77,7 @@ If you want more detailed information to install ASP.NET on IIS, see [IIS 8.0 Us
7477

7578
1. Open Windows Explorer and create a new folder, **C:\Publish**, where you will later deploy the ASP.NET project.
7679

77-
2. Open the **Internet Information Services (IIS) Manager**. (In the left pane of Server Manager, select **IIS**. Right-click the server and select **Internet Information Services (IIS) Manager**.)
80+
2. If it's not already open, open the **Internet Information Services (IIS) Manager**. (In the left pane of Server Manager, select **IIS**. Right-click the server and select **Internet Information Services (IIS) Manager**.)
7881

7982
3. Under **Connections** in the left pane, go to **Sites**.
8083

docs/debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Depending on your security settings, it may save you time to add the following t
5151
- go.microsoft.com
5252
- download.microsoft.com
5353
- visualstudio.com
54+
- iis.net
5455

5556
If you are using Internet Explorer, you can add the trusted sites by going to **Internet Options > Security > Trusted Sites > Sites**. These steps are different for other browsers. (If you need to download an older version of the remote debugger from my.visualstudio.com, some additional trusted sites are required to sign in.)
5657

@@ -73,7 +74,7 @@ When you download the software, you may get requests to grant permission to load
7374

7475
1. Open Windows Explorer and create a new folder, **C:\Publish**, where you will later deploy the ASP.NET project.
7576

76-
2. Open the **Internet Information Services (IIS) Manager**. (In the left pane of Server Manager, select **IIS**. Right-click the server and select **Internet Information Services (IIS) Manager**.)
77+
2. If it's not already open, open the **Internet Information Services (IIS) Manager**. (In the left pane of Server Manager, select **IIS**. Right-click the server and select **Internet Information Services (IIS) Manager**.)
7778

7879
3. Under **Connections** in the left pane, go to **Sites**.
7980

docs/debugger/remote-debugging-azure.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,19 @@ From Visual Studio, you can quickly publish and debug your app to a fully provis
7979

8080
You can create an Azure VM for Windows Server and then install and configure IIS and the other required software components. This takes more time than deploying to an Azure App Service and requires that you follow the remaining steps in this tutorial.
8181

82-
First, follow all the steps described in [Install and run IIS](/azure/virtual-machines/virtual-machines-windows-hero-role).
82+
First, follow all the steps described in [Install and run IIS](/azure/virtual-machines/windows/quick-create-portal).
8383

8484
When you open port 80 in the Network security group, also open port 4022 for the Remote Debugger. That way, you won't have to open it later.
8585

8686
### Update browser security settings on Windows Server
8787

88-
Depending on your browser security settings, it may save you time to add the following trusted sites to your browser so you can easily download the software described in this tutorial. Access to these sites may be needed:
88+
Depending on your browser security settings, it may save you time to add the following trusted sites to your browser so you can more quickly download the software described in this tutorial. Access to these sites may be needed:
8989

9090
- microsoft.com
9191
- go.microsoft.com
9292
- download.microsoft.com
9393
- visualstudio.com
94+
- iis.net
9495

9596
If you are using Internet Explorer, you can add the trusted sites by going to **Internet Options > Security > Trusted Sites > Sites**. These steps are different for other browsers. (If you need to download an older version of the remote debugger from my.visualstudio.com, some additional trusted sites are required to sign in.)
9697

@@ -109,7 +110,7 @@ When you download the software, you may get requests to grant permission to load
109110

110111
[!INCLUDE [remote-debugger-install-web-deploy](../debugger/includes/remote-debugger-install-web-deploy.md)]
111112

112-
### <a name="BKMK_deploy_asp_net"></a> Configure ASP.NET Web site on the Windows Server computer
113+
### <a name="BKMK_deploy_asp_net"></a> Configure the ASP.NET Web site on the Windows Server computer
113114

114115
1. Open the **Internet Information Services (IIS) Manager** and go to **Sites**.
115116

docs/deployment/TOC.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
### [Building ClickOnce Applications from the Command Line](building-clickonce-applications-from-the-command-line.md)
1515
## ASP.NET
1616
### [Publish an ASP.NET Core app to Azure](/aspnet/core/tutorials/publish-to-azure-webapp-using-vs)
17+
### [Import publish settings and deploy to Azure](tutorial-import-publish-settings-azure.md)
18+
### [Import publish settings and deploy to IIS](tutorial-import-publish-settings-iis.md)
1719
### [Continuous deployment of ASP.NET Core to Azure with Git](/aspnet/core/publishing/azure-continuous-deployment)
1820
### [Deploy ASP.NET to IIS](/iis/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45)
1921
## Native

docs/deployment/creating-bootstrapper-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ms.workload:
2424
- "multiple"
2525
---
2626
# Create bootstrapper packages
27-
The Setup program is a generic installer that can be configured to detect and install redistributable components such as Windows Installer (.msi) files and executable programs. The installer is also known as a bootstrapper. It is programmed through a set of XML manifests that specify the metadata to manage the installation of the component. Each redistributable component, or prerequisite, is a bootstrapper package. A bootstrapper package is a group of directories and files that contain manifest files that describe how the prerequisite should be installed.
27+
The Setup program is a generic installer that can be configured to detect and install redistributable components such as Windows Installer (.msi) files and executable programs. The installer is also known as a bootstrapper. It is programmed through a set of XML manifests that specify the metadata to manage the installation of the component. Each redistributable component, or prerequisite, that appears in the **Prerequisites** dialog box for ClickOnce is a bootstrapper package. A bootstrapper package is a group of directories and files that contain manifest files that describe how the prerequisite should be installed.
2828

2929
The bootstrapper first detects whether any of the prerequisites are already installed. If prerequisites are not installed, first the bootstrapper shows the license agreements. Second, after the end-user accepts the license agreements, the installation begins for the prerequisites. Otherwise, if all the prerequisites are detected, the bootstrapper just starts the application installer.
3030

docs/deployment/deploying-applications-services-and-components.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ See the Tutorials for step-by-step instructions.
3434

3535
### Deploy to local folder
3636

37-
- **ASP.NET**, **ASP.NET Core**, **Node.js**, **Python**, and **.NET Core**: Use the Publish tool to deploy to a local folder. The exact options available depend on your app type. In Solution Explorer, right-click your project and choose **Publish**, and then choose **Folder**. For more information, see [Deploy to a local folder](quickstart-deploy-to-local-folder.md).
37+
- **ASP.NET**, **ASP.NET Core**, **Node.js**, **Python**, and **.NET Core**: Use the Publish tool to deploy to a local folder. The exact options available depend on your app type. In Solution Explorer, right-click your project and choose **Publish**. (If you have previously configured any publishing profiles, you must then click **Create new profile**.) Next, choose **Folder**. For more information, see [Deploy to a local folder](quickstart-deploy-to-local-folder.md).
3838

3939
![Choose Publish](../deployment/media/quickstart-publish.png)
4040

@@ -44,10 +44,12 @@ See the Tutorials for step-by-step instructions.
4444

4545
- **ASP.NET**, **ASP.NET Core**, **Node.js**, **Python**, and **.NET Core**: You can use the Publish tool to deploy to a website using FTP or Web Deploy. For more information, see [Deploy to a web site](quickstart-deploy-to-a-web-site.md).
4646

47-
In Solution Explorer, right-click the project and choose **Publish**. In the Publish tool, choose the option you want and follow the configuration steps.
47+
In Solution Explorer, right-click the project and choose **Publish**. (If you have previously configured any publishing profiles, you must then click **Create new profile**.) In the Publish tool, choose the option you want and follow the configuration steps.
4848

4949
![Choose IIS, FTP, etc.](../deployment/media/quickstart-publish-iis-ftp.png)
5050

51+
For information on importing a publish profile in Visual Studio, see [Import publish settings and deploy to IIS](../deployment/tutorial-import-publish-settings-iis.md).
52+
5153
You can also deploy ASP.NET applications and services in a number of other ways. For more information, see [Deploying ASP.NET web applications and services](http://www.asp.net/aspnet/overview/deployment).
5254

5355
- **Visual C++ runtime**: You can deploy the Visual C++ runtime using central deployment. For more information, see [Deploying Native Desktop Applications (Visual C++)](/cpp/ide/deploying-native-desktop-applications-visual-cpp).
@@ -56,19 +58,17 @@ See the Tutorials for step-by-step instructions.
5658

5759
### Publish to Azure
5860

59-
- **ASP.NET, ASP.NET Core, Python, Node.js, and .NET Core** web applications: You can use the Publish tool to quickly deploy apps to Azure App Service or to an Azure Virtual Machine. In Solution Explorer, right-click the project and choose **Publish**. In the Publish dialog box, choose either **Microsoft Azure App Service** or **Microsoft Azure Virtual Machines**, and then follow the configuration steps.
61+
- **ASP.NET, ASP.NET Core, Python, Node.js, and .NET Core** web applications: You can use the Publish tool to quickly deploy apps to Azure App Service or to an Azure Virtual Machine. In Solution Explorer, right-click the project and choose **Publish**. (If you have previously configured any publishing profiles, you must then click **Create new profile**.) In the Publish dialog box, choose either **Microsoft Azure App Service** or **Microsoft Azure Virtual Machines**, and then follow the configuration steps.
6062

6163
![Choose Azure App Service](../deployment/media/quickstart-publish-azure.png "Choose Azure App Service")
6264

63-
To publish to an Azure Virtual Machine, scroll right and select **Microsoft Azure Virtual Machines**.
65+
For information on importing a publish profile from Azure App Service to Visual Studio, see [Import publish settings and deploy to Azure](../deployment/tutorial-import-publish-settings-azure.md).
6466

6567
For a quick introduction, see [Publish to Azure](quickstart-deploy-to-azure.md). Also, see [Publish an ASP.NET Core app to Azure](/aspnet/core/tutorials/publish-to-azure-webapp-using-vs). For deployment using Git, see [Continuous deployment of ASP.NET Core to Azure with Git](/aspnet/core/publishing/azure-continuous-deployment).
6668

6769
> [!NOTE]
6870
> If you do not already have an Azure account, you can [sign up here](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=doc&utm_campaign=visualstudio).
6971
70-
- Other **Azure services**: See the specific [Azure service](/azure/#pivot=products) documentation for different deployment options that may be supported by Visual Studio.
71-
7272
### Publish to Microsoft Store
7373

7474
From Visual Studio, you can create app packages for deployment to Microsoft Store.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Web Deploy 3.6 for Hosting Servers provides additional configuration features that enable the creation of the publish settings file from the UI.
2+
3+
1. If you have Web Deploy 3.6 already installed on Windows Server, uninstall it using **Control Panel** > **Programs** > **Uninstall a Program**.
4+
5+
2. Next, install Web Deploy 3.6 for Hosting Servers on Windows Server.
6+
7+
To install Web Deploy for Hosting Servers, use the [Web Platform Installer (WebPI)](https://www.microsoft.com/web/downloads/platform.aspx). (To find the Web Platform Installer link from IIS, select **IIS** in the left pane of Server Manager. Right-click the server and select **Internet Information Services (IIS) Manager**.)
8+
9+
In the Web Platform Installer, you find **Web Deploy for Hosting Servers** in the Applications tab.
10+
11+
3. On Windows Server, go to **Select server roles** > **Web Server (IIS)** > **Management Tools**, and then select the **IIS Management Scripts and Tools** role, click **Next**, and then install the role.
12+
13+
![Install IIS Management Scripts and Tools](../../deployment/media/tutorial-iis-management-scripts-and-tools.png)
14+
15+
This role is required to enable the generation of the publish settings file.
16+
17+
4. Verify that Web Deploy is running correctly by opening **Control Panel > System and Security > Administrative Tools > Services** and make sure that **Web Deployment Agent Service** is running (the service name is different in older versions).
18+
19+
If the agent service is not running, start it. If it is not present at all, go to **Control Panel > Programs > Uninstall a program**, find **Microsoft Web Deploy <version>**. Choose to **Change** the installation and make sure that you choose **Will be installed to the local hard drive** for the Web Deploy components. Complete the change installation steps.
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

docs/deployment/quickstart-deploy-to-a-web-site.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,19 @@ You can use the **Publish** tool to publish ASP.NET apps to a website.
1919

2020
These steps apply to ASP.NET, ASP.NET Core, .NET Core, and Python apps in Visual Studio. For Node.js, the steps are supported but the user interface is different.
2121

22+
## Prerequisites
23+
24+
* You must have Visual Studio 2017 installed and the **ASP.NET** and **.NET Framework** development workload. For a .NET Core app, you also need the **.NET Core** workload.
25+
26+
If you haven't already installed Visual Studio, install it for free [here](http://www.visualstudio.com).
27+
2228
## Create a new project
2329

2430
1. In Visual Studio, choose **File > New Project**.
2531

2632
1. Under **Visual C#** or **Visual Basic**, choose **Web**, and then in the middle pane choose either **ASP.NET Web Application (.NET Framework)** or (C# only) **ASP.NET Core Web Application**, and then click **OK**.
2733

28-
1. Choose **MVC**, make sure that **No Authentication** is selected, and then click **OK**.
34+
1. Choose **MVC** (or choose **Web Application (Model-View-Controller)** for .NET Core), make sure that **No Authentication** is selected, and then click **OK**.
2935

3036
1. Type a name like **MyWebApp** and click **OK**.
3137

@@ -39,7 +45,9 @@ These steps apply to ASP.NET, ASP.NET Core, .NET Core, and Python apps in Visual
3945

4046
![Choose Publish](../deployment/media/quickstart-publish-aspnet.png "Choose Publish")
4147

42-
1. In the **Publish** pane, choose **IIS, FTP, etc**.
48+
1. If you have previously configured any publishing profiles, the **Publish** pane appears. Click **Create new profile**.
49+
50+
1. In the **Pick a publish target** dialog box, choose **IIS, FTP, etc**.
4351

4452
![Choose IIS, FTP, etc.](../deployment/media/quickstart-publish-iis-ftp.png "Choose IIS, FTP, etc.")
4553

@@ -51,7 +59,7 @@ These steps apply to ASP.NET, ASP.NET Core, .NET Core, and Python apps in Visual
5159

5260
1. In the **Publish method** field, choose a method such as **Web Deploy** or **FTP**.
5361

54-
The settings that you see next correspond to your publishing method.
62+
The settings that you see next correspond to your publishing method. Web Deploy simplifies deployment of Web applications and Web sites to IIS servers, and must be installed as an application on the server. Use the [Web Platform Installer](https://www.microsoft.com/web/downloads/platform.aspx) to install it.
5563

5664
1. Configure required settings for the publish method and click **Validate Connection**.
5765

@@ -69,4 +77,7 @@ These steps apply to ASP.NET, ASP.NET Core, .NET Core, and Python apps in Visual
6977

7078
## Next steps
7179

72-
- [Deploy ASP.NET to IIS](/iis/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45)
80+
In this quickstart, you learned how to use Visual Studio to create a publishing profile. You can also configure a publishing profile by importing publish settings.
81+
82+
> [!div class="nextstepaction"]
83+
> [Import publish settings and deploy to IIS](tutorial-import-publish-settings-iis.md)

0 commit comments

Comments
 (0)