Skip to content

Commit 54adbd6

Browse files
authored
Merge pull request #7043 from Mikejo5000/mikejo-deploy
Deployment updates
2 parents a3d0613 + fc570d1 commit 54adbd6

File tree

4 files changed

+88
-33
lines changed

4 files changed

+88
-33
lines changed

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

Lines changed: 72 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: "Deployment overview | Microsoft Docs"
3-
ms.custom: "seodec18"
4-
ms.date: 06/22/2018
2+
title: "Deploy your Visual Studio app to a folder, IIS, Azure, or another destination"
3+
description: "Learn more about publishing options for your app using the Publish Wizard"
4+
ms.custom: "contperfq1"
5+
ms.date: 08/21/2020
56
ms.topic: "overview"
67
dev_langs:
78
- "FSharp"
@@ -15,7 +16,7 @@ ms.workload:
1516
- "multiple"
1617
---
1718

18-
# Overview of deployment in Visual Studio
19+
# Deploy your app to a folder, IIS, Azure, or another destination
1920

2021
By deploying an application, service, or component, you distribute it for installation on other computers, devices, servers, or in the cloud. You choose the appropriate method in Visual Studio for the type of deployment that you need.
2122

@@ -30,19 +31,27 @@ From within Visual Studio, applications can be published directly to the followi
3031
- [Azure](#azure)
3132
- [Docker Container Registry](#docker-container-registry)
3233
- [Folder](#folder)
33-
- [Custom targets (IIS, FTP)](#Custom targets (IIS, FTP))
34-
35-
On the **Publish** tab, you can select an existing publish profile, import an existing one, or create a new one using the options described here. For a tour of the publishing options in the IDE for different app types, see [First look at deployment](../deployment/deploying-applications-services-and-components.md).
34+
- [FTP/FTPS server](#ftpftps-server)
35+
- [Web server(IIS)](#web-server-iis)
36+
- [Import profile](#import-profile)
3637

3738
## Azure
3839

40+
When you choose Azure, you can choose between:
41+
42+
- Azure App Service running on Windows, Linux, or as a Docker image
43+
- A Docker image deployed to Azure Container Registry
44+
- An Azure Virtual Machine
45+
46+
![Choose an Azure service](../deployment/media/quickstart-choose-azure-service.png)
47+
3948
### Azure App Service
4049

41-
[Azure App Service](/azure/app-service/app-service-web-overview) which help developers quickly create scalable web applications and services without maintaining infrastructure. An App Service runs on cloud-hosted virtual machines in Azure, but those virtual machines are managed for you. Each app in an App Service will be assigned a unique \*.azurewebsites.net URL; all pricing tiers other than Free allow assigning custom domain names to the site.
50+
[Azure App Service](/azure/app-service/app-service-web-overview) helps developers quickly create scalable web applications and services without maintaining infrastructure. An App Service runs on cloud-hosted virtual machines in Azure, but those virtual machines are managed for you. Each app in an App Service will be assigned a unique \*.azurewebsites.net URL; all pricing tiers other than Free allow assigning custom domain names to the site.
4251

4352
You determine how much computing power an App Service has by choosing a [pricing tier or plan](/azure/app-service/azure-web-sites-web-hosting-plans-in-depth-overview) for the containing App Service. You can have multiple Web apps (and other app types) share the same App Service without changing the pricing tier. For example, you can host development, staging, and production Web apps together on the same App Service.
4453

45-
### When to choose Azure App Service
54+
#### When to choose Azure App Service
4655

4756
- You want to deploy a web application that's accessible through the Internet.
4857
- You want to automatically scale your web application according to demand without needing to redeploy.
@@ -51,7 +60,18 @@ You determine how much computing power an App Service has by choosing a [pricing
5160

5261
> If you want to use Azure App Service in your own datacenter or other on-premises computers, you can do so using the [Azure Stack](https://azure.microsoft.com/overview/azure-stack/).
5362
54-
For more information on publishing to App Service, see [Quickstart - Publish to Azure App Service](quickstart-deploy-to-azure.md) and [Quickstart - Publish ASP.NET Core to Linux](quickstart-deploy-to-linux.md).
63+
For more information on publishing to App Service, see:
64+
- [Quickstart - Publish to Azure App Service](quickstart-deploy-to-azure.md) and [Quickstart - Publish ASP.NET Core to Linux](quickstart-deploy-to-linux.md).
65+
- [Troubleshoot ASP.NET Core on Azure App Service and IIS](/aspnet/core/test/troubleshoot-azure-iis).
66+
67+
### Azure Container Registry
68+
69+
[Azure Container Registry](/azure/container-registry/) allows you to build, store, and manage Docker container images and artifacts in a private registry for all types of container deployments.
70+
71+
#### When to choose Azure Container Registry
72+
73+
- When you have an existing Docker container development and deployment pipeline.
74+
- When you want to build Docker container images in Azure.
5575

5676
### Azure Virtual Machines
5777

@@ -61,7 +81,7 @@ Scaling an application that's hosted on virtual machines involves spinning up ad
6181

6282
For additional information, refer to the [detailed comparison](https://azure.microsoft.com/documentation/articles/choose-web-site-cloud-service-vm/) between Azure App Service, Azure Virtual Machines, and other Azure services that you can use as a deployment target using the Custom option in Visual Studio.
6383

64-
### When to choose Azure App Virtual Machines
84+
#### When to choose Azure Virtual Machines
6585

6686
- You want to deploy a web application that's accessible through the Internet, with full control over the lifetime of assigned IP addresses.
6787
- You need machine-level customizations on your servers, which includes additional software such as a specialized database system, specific networking configurations, disk partitions, and so forth.
@@ -94,26 +114,61 @@ Note that if for any reason (such as machine access) you are not able to use clo
94114

95115
For more information, see [Quickstart - Deploy to a local folder](quickstart-deploy-to-local-folder.md)
96116

97-
## Custom targets (IIS, FTP)
117+
## FTP/FTPS server
98118

99-
A custom target lets you deploy your application to a target other than Azure App Service, Azure Virtual Machines, or the local file system. It can deploy to a file system or any other server (Internet or Intranet) to which you have access, including those on other cloud services. It can work with web deploy (files or .ZIP) and FTP.
119+
An FTP/FTPS server lets you deploy your application to a server other than Azure. It can deploy to a file system or any other server (Internet or Intranet) to which you have access, including those on other cloud services. It can work with web deploy (files or .ZIP) and FTP.
100120

101-
When choosing a custom target, Visual Studio prompts you for a profile name, and then collect additional **Connection** information including the target server or location, a site name, and credentials. You can control the following behaviors on the **Settings** tab:
121+
When choosing a FTP/FTPS server, Visual Studio prompts you for a profile name, and then collect additional **Connection** information including the target server or location, a site name, and credentials. You can control the following behaviors on the **Settings** tab:
102122

103123
- The configuration you want to deploy.
104124
- Whether to remove existing files from the destination.
105125
- Whether to precompile during publishing.
106126
- Whether to exclude files in the App_Data folder from deployment.
107127

108-
You can create any number of Custom deployment profiles in Visual Studio, making it possible to manage profiles with different settings.
128+
You can create any number of FTP/FTPS deployment profiles in Visual Studio, making it possible to manage profiles with different settings.
109129

110-
### When to choose custom deployment
130+
### When to choose FTP/FTPS server deployment
111131

112132
- You're using cloud services on a provider other than Azure that can be accessed through URLs.
113133
- You want to deploy using credentials other than the ones that you use within Visual Studio, or those tied directly to your Azure accounts.
114134
- You want to delete files from the target each time you deploy.
115135

116-
For more information, see [Quickstart - Deploy to a web site](quickstart-deploy-to-a-web-site.md)
136+
## Web Server (IIS)
137+
138+
An IIS web server lets you deploy your application to a web server other than Azure. It can deploy to an IIS server (Internet or Intranet) to which you have access, including those on other cloud services. It can work with Web Deploy or a Web Deploy package.
139+
140+
When choosing an IIS web server, Visual Studio prompts you for a profile name, and then collect additional **Connection** information including the target server or location, a site name, and credentials. You can control the following behaviors on the **Settings** tab:
141+
142+
- The configuration you want to deploy.
143+
- Whether to remove existing files from the destination.
144+
- Whether to precompile during publishing.
145+
- Whether to exclude files in the App_Data folder from deployment.
146+
147+
You can create any number of IIS web server deployment profiles in Visual Studio, making it possible to manage profiles with different settings.
148+
149+
### When to choose web server (IIS) deployment
150+
151+
- You're using IIS to publish a site or service that can be accessed through URLs.
152+
- You want to deploy using credentials other than the ones that you use within Visual Studio, or those tied directly to your Azure accounts.
153+
- You want to delete files from the target each time you deploy.
154+
155+
For more information, see [Quickstart - Deploy to a web site](quickstart-deploy-to-a-web-site.md). For help troubleshooting ASP.NET Core on IIS, see [Troubleshoot ASP.NET Core on Azure App Service and IIS](/aspnet/core/test/troubleshoot-azure-iis).
156+
157+
## Import Profile
158+
159+
You can import a profile when publishing to IIS or Azure App Service. You can configure deployment using a *publish settings file* (*\*.publishsettings*). A publish settings file is created by IIS or Azure App Service, or it can be manually created, and then it can be imported into Visual Studio.
160+
161+
Use of a publish settings file can simplify deployment configuration and works better in a team environment versus manually configuring each deployment profile.
162+
163+
### When to choose import profile
164+
165+
- You're publishing to IIS and want to simplify deployment configuration.
166+
- You're publishing to IIS or Azure App Service and want to speed up deployment configuration for re-use or for team members publishing to the same service.
167+
168+
For more information, see the following:
169+
170+
- [Import publish settings and deploy to IIS](tutorial-import-publish-settings-iis.md)
171+
- [Import publish settings and deploy to Azure](tutorial-import-publish-settings-azure.md)
117172

118173
## Next steps
119174

docs/deployment/index.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ landingContent:
2323
linkLists:
2424
- linkListType: overview
2525
links:
26-
- text: Overview of deployment
27-
url: deploying-applications-services-and-components-resources.md
2826
- text: First look at deployment
2927
url: deploying-applications-services-and-components.md
28+
- text: Deploy to a folder, IIS, or Azure
29+
url: deploying-applications-services-and-components-resources.md
3030

3131
# Card (optional)
3232
- title: Get started
@@ -58,18 +58,8 @@ landingContent:
5858
- text: Package a desktop app for Windows Store
5959
url: /windows/msix/desktop/desktop-to-uwp-packaging-dot-net
6060

61-
# Card
62-
- title: Deploy .NET packages to NuGet.org
63-
linkLists:
64-
- linkListType: tutorial
65-
links:
66-
- text: Publish to NuGet.org (.NET Standard)
67-
url: /nuget/quickstart/create-and-publish-a-package-using-visual-studio
68-
- text: Publish to NuGet.org (.NET Framework)
69-
url: /nuget/quickstart/create-and-publish-a-package-using-visual-studio-net-framework
70-
7161
# Card
72-
- title: Deploy ASP.NET apps
62+
- title: Deploy ASP.NET Core apps
7363
linkLists:
7464
- linkListType: tutorial
7565
links:
@@ -105,3 +95,13 @@ landingContent:
10595
links:
10696
- text: Publish to Linux App Service
10797
url: ../javascript/publish-nodejs-app-azure.md
98+
99+
# Card
100+
- title: Deploy .NET packages to NuGet.org
101+
linkLists:
102+
- linkListType: tutorial
103+
links:
104+
- text: Publish to NuGet.org (.NET Standard)
105+
url: /nuget/quickstart/create-and-publish-a-package-using-visual-studio
106+
- text: Publish to NuGet.org (.NET Framework)
107+
url: /nuget/quickstart/create-and-publish-a-package-using-visual-studio-net-framework
Loading

docs/deployment/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
href: index.yml
33
- name: Overview
44
items:
5-
- name: Overview of deployment
5+
- name: First look at deployment
6+
href: deploying-applications-services-and-components.md
7+
- name: Deploy to a folder, IIS, or Azure
68
href: deploying-applications-services-and-components-resources.md
79
- name: Quickstarts
810
items:
9-
- name: First look at deployment
10-
href: deploying-applications-services-and-components.md
1111
- name: Deploy to Azure App Service
1212
href: quickstart-deploy-to-azure.md
1313
- name: Deploy to App Service for Linux

0 commit comments

Comments
 (0)