Azure App Service libraries for .NET
Overview
Azure App Service allows you to deploy and scale websites, web applications, services, and REST APIs.
Management API
Deploy, manage, and scale elements hosted in Azure App Service with the management API.
Install the NuGet package directly from the Visual Studio Package Manager console or with the .NET Core CLI.
Visual Studio package manager
Install-Package Microsoft.Azure.Management.AppService.Fluent
.NET Core CLI
dotnet add package Microsoft.Azure.Management.AppService.Fluent
Code Example
Create a new web app.
/* Include these "using" directives...
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;
using Microsoft.Azure.Management.AppService.Fluent;
*/
IWebApp app1 = azure.WebApps
.Define("MyUniqueWebAddress")
.WithRegion(Region.USWest)
.WithNewResourceGroup("MyResourceGroup")
.WithNewWindowsPlan(PricingTier.StandardS1)
.Create();
Samples
View the complete list of Azure App Service samples.
Feedback
Submit and view feedback for