You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deployment/deploying-applications-services-and-components-resources.md
+72-17Lines changed: 72 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
---
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
5
6
ms.topic: "overview"
6
7
dev_langs:
7
8
- "FSharp"
@@ -15,7 +16,7 @@ ms.workload:
15
16
- "multiple"
16
17
---
17
18
18
-
# Overview of deployment in Visual Studio
19
+
# Deploy your app to a folder, IIS, Azure, or another destination
19
20
20
21
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.
21
22
@@ -30,19 +31,27 @@ From within Visual Studio, applications can be published directly to the followi
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)
36
37
37
38
## Azure
38
39
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
+

47
+
39
48
### Azure App Service
40
49
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.
42
51
43
52
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.
44
53
45
-
### When to choose Azure App Service
54
+
####When to choose Azure App Service
46
55
47
56
- You want to deploy a web application that's accessible through the Internet.
48
57
- 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
51
60
52
61
> 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/).
53
62
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.
55
75
56
76
### Azure Virtual Machines
57
77
@@ -61,7 +81,7 @@ Scaling an application that's hosted on virtual machines involves spinning up ad
61
81
62
82
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.
63
83
64
-
### When to choose Azure App Virtual Machines
84
+
####When to choose Azure Virtual Machines
65
85
66
86
- You want to deploy a web application that's accessible through the Internet, with full control over the lifetime of assigned IP addresses.
67
87
- 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
94
114
95
115
For more information, see [Quickstart - Deploy to a local folder](quickstart-deploy-to-local-folder.md)
96
116
97
-
## Custom targets (IIS, FTP)
117
+
## FTP/FTPS server
98
118
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.
100
120
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:
102
122
103
123
- The configuration you want to deploy.
104
124
- Whether to remove existing files from the destination.
105
125
- Whether to precompile during publishing.
106
126
- Whether to exclude files in the App_Data folder from deployment.
107
127
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.
109
129
110
-
### When to choose custom deployment
130
+
### When to choose FTP/FTPS server deployment
111
131
112
132
- You're using cloud services on a provider other than Azure that can be accessed through URLs.
113
133
- You want to deploy using credentials other than the ones that you use within Visual Studio, or those tied directly to your Azure accounts.
114
134
- You want to delete files from the target each time you deploy.
115
135
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)
0 commit comments