Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical back up.
Quickstart: Publish an ASP.Net web app
Article
3 minutes to read
Cheers.
In this commodity, y'all'll larn how to publish your offset ASP.NET web app to various locations including a local web server such as IIS and a remote deject surround such every bit Azure App Service.
This article supports ASP.Cyberspace and ASP.NET Cadre.
Prerequisites
You need Visual Studio installed with the ASP.NET and spider web evolution workload.
If you lot've already installed Visual Studio:
Install the latest updates in Visual Studio by selecting Aid > Check for Updates.
Add together the workload by selecting Tools > Get Tools and Features.
Become started
In Solution Explorer, right-click your project and choose Publish.
If you're publishing this web app for the first fourth dimension, next you see the Publish sorcerer.
Notation
Visual Studio filters the listing of destinations depending on the type of web app.
Azure
Docker
Folder
FTP/FTPS
Web Server
Import profile
Publish your web app to Azure
For detailed steps on publishing your web app, see Quickstart: Deploy an ASP.Net web app.
Publish your web app to Docker Container Registry
You lot can publish your web app as a Docker container to whatever compatible Docker Container Registry.
Click Next and cull from the available options, such every bit 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
Side by side, for other Docker container registries, provide the URI and publish credentials.
Cease the Publish wizard
Next, yous come across the summary page for the new publish profile that you simply created using the Publish sorcerer. Click Publish and Visual Studio deploys your spider web app 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 iii Docker Container Registry options.
Publish your web app to a folder
You can publish your spider web app to both local and network folders.
First, provide the path and click Finish to complete the Publish wizard.
Next, you run into the summary page for the new publish profile that yous just created using the Publish wizard. Click Publish and Visual Studio deploys your spider web app to the provided path.
Yous can come back to this summary page after you lot close it. Adjacent time you lot right-click and choose Publish, Visual Studio opens this summary page. (To get back to the Publish wizard but click New in the summary page.)
Publish your spider web app to an FTP/FTPS server
You lot tin can publish your web app using FTP or FTPS.
Provide the necessary connection details and cull Finish.
Next, you come across the summary page for the new publish profile that yous simply created using the Publish wizard. Click Publish and Visual Studio deploys your web app to the provided FTP or FTPS Server.
You can come back to this summary folio after you close information technology. The side by side fourth dimension you right-click and publish, Visual Studio opens this summary page. (To go back to the Publish wizard merely click New in the summary page.)
Publish your web app to Web Server (IIS)
You can publish your web app to IIS.
Pick the desired deployment style (if you're unsure, use the default).
Web Deploy
Provide the necessary connection details and cull Finish.
Web Deploy Bundle
Click Browse... to open a Select Package Location dialog box and enter the path to where you desire the package to be created, including the .cypher file proper name.
Finish the Publish wizard
Next, you run into the summary page for the new publish profile that you just created using the Publish sorcerer. Click Publish and Visual Studio deploys your web app to the specified IIS server.
Import Profile
You can import publish settings from IIS and Azure App Service
0 Response to "Upload From Visual Studio to Free Asp.net Hosting"
Post a Comment