Notikumi
Power BI DataViz pasaules čempionāts
14. febr. 16 - 31. marts 16
Ar 4 iespējām piedalīties, jūs varētu laimēt konferences paketi un iekļūt LIVE Grand Finale Lasvegasā
Uzzināt vairākŠī pārlūkprogramma vairs netiek atbalstīta.
Jauniniet uz Microsoft Edge, lai izmantotu jaunāko līdzekļu, drošības atjauninājumu un tehniskā atbalsta sniegtās priekšrocības.
By Brady Gaster
Azure App Service is a Microsoft cloud computing platform service for hosting web apps, including ASP.NET Core.
Piezīme
This article refers to publishing an ASP.NET Core SignalR app from Visual Studio. For more information, see SignalR service for Azure.
This article covers publishing using the tools in Visual Studio. Visual Studio Code users can use Azure CLI commands to publish apps to Azure. For more information, see Publish an ASP.NET Core app to Azure with command line tools.
Right-click on the project in Solution Explorer and select Publish.
Confirm that App Service and Create new are selected in the Pick a publish target dialog.
Select Create Profile from the Publish button drop down.
Enter the information described in the following table in the Create App Service dialog and select Create.
Item | Description |
---|---|
Name | Unique name of the app. |
Subscription | Azure subscription that the app uses. |
Resource Group | Group of related resources to which the app belongs. |
Hosting Plan | Pricing plan for the web app. |
Select Azure SignalR Service in the Service Dependencies section. Select the + button:
In the Azure SignalR Service dialog, select Create a new Azure SignalR Service instance.
Provide a Name, Resource Group, and Location. Return to the Azure SignalR Service dialog and select Add.
Visual Studio completes the following tasks:
The format of the app's URL is {APP SERVICE NAME}.azurewebsites.net
. For example, an app named SignalRChatApp
has a URL of https://signalrchatapp.azurewebsites.net
.
If an HTTP 502.2 - Bad Gateway error occurs when deploying an app that targets a preview .NET Core release, see Deploy ASP.NET Core preview release to Azure App Service to resolve it.
Piezīme
This section only applies to apps not using the Azure SignalR Service.
If the app uses the Azure SignalR Service, the App Service doesn't require the configuration of WebSockets and session affinity, also called Application Request Routing (ARR) affinity, described in this section. Clients connect their WebSockets to the Azure SignalR Service, not directly to the app.
For apps hosted without the Azure SignalR Service, enable:
WebSockets and other transports are limited based on the App Service Plan selected. For more information, see the Azure Cloud Services limits and App Service limits sections of the Azure subscription and service limits, quotas, and constraints article.
ASP.NET Core atsauksmes
ASP.NET Core ir atklātā pirmkoda projekts. Atlasiet saiti, lai sniegtu atsauksmes:
Notikumi
Power BI DataViz pasaules čempionāts
14. febr. 16 - 31. marts 16
Ar 4 iespējām piedalīties, jūs varētu laimēt konferences paketi un iekļūt LIVE Grand Finale Lasvegasā
Uzzināt vairākApmācība
Modulis
Publish a web app to Azure with Visual Studio - Training
Learn how to use Azure App Service to create a new ASP.NET-based web app, then publish and update directly from Visual Studio.
Sertifikācija
Microsoft Certified: Azure Developer Associate - Certifications
Build end-to-end solutions in Microsoft Azure to create Azure Functions, implement and manage web apps, develop solutions utilizing Azure storage, and more.