I am new person to Azure development. Is it possible to add custom domain names to web apps using .Net REST API?
相关问题
- running headless chrome in an microsoft azure web
- Docker task in Azure devops won't accept "$(pw
- Register MicroServices in Azure Active Directory (
- Removing VHD's from Azure Resource Manager aft
- Cannot use the Knowledge academic API
相关文章
- SQL Azure Reset autoincrement
- How to cast Azure DocumentDB Document class to my
- Can't get azure web role to run locally using
- Azure WebApp - Unable to auto-detect the runtime s
- How to change region for Azure WebSite
- Azure webjob vs cloud service
- Azure data transfer Identity Column Seed Jumped by
- Download Azure web app?
https://docs.microsoft.com/en-us/azure/app-service/scripts/app-service-powershell-configure-custom-domain
Most easily done with PowerShell.
yes, you can do that.
1) Install the NuGet Web Sites Management Package into your project.
2) Get Azure Publish Settings file (for example, by using Powershell Get-AzurePublishSettingsFile). You will need that later (the value of the management certificate field inside of that file).
2) Instantiate WebSiteManagementClient. That should help with the understanding of the code.
3) Next, the code is below. I just tested and it works. First, it lists the webspaces, then the websites inside of each of webspace, and you should copy and paste the website webspace into the