Are there no Rest Api for deploying Azure Websites? - azure

I have been over the documentation, http://msdn.microsoft.com/en-us/library/windowsazure/ee460799.aspx and dont see any reference for Azure Websites?
How do visual studio or Webmatrix deploy the site to Azure Websites? an internal API or did I miss the documentation for deploying a Azure Website from Code?

There's a REST API for websites which is used by Visual Studio and CLI tools behind the scenes however it is not publicly available. One thing you could do is take a look at the source code for CLI tools on Github: https://github.com/WindowsAzure/azure-sdk-tools-xplat and figure out the REST API from there.

Related

Azure API Mangagement & Web API best practices

We are going to develop Web API using Asp.net core 2.2
Now we want to use it as serverless, so decided to use API Management (APIM) for the same.
When we started looking into how to deploy API in APIM, it seems, we 1st need to deploy API in App Service and then configure it in APIM.
As in this case, we are not going with serverless architecture (i.e. paying only for calls) and we are paying for both i.e. App Service and APIM (to have under VNet, £1500 more)
Is this the right approach?
While going thru more on this, i found that we also can write Azure functions using Visual Studio code OR Visual Studio 2017. Hopefully it will be similar kind of development experience as we have with Web API.
So with Azure Functions, it will be serverless architecture.
Only issue is that AzureFunctions#Edge is not available as of now and we need to use 3rd party CDN like CloudFlare for the same.

Using VS 2013, publishing a web site to Azure through the wizard, where would I find this website for later management within my MSDN Azure account?

I've recently built an ASP.NET website using C#.
Using the publishing wizard within Visual Studio 2013 I see that I can publish to "Microsoft Azure Websites", and I have done so. It worked great.
However, logging into the Azure account I'm not able to locate this website anywhere so that I may manage it directly, and see what the burn rate (costs) are.
Where are these "Microsoft Azure Websites" stored once they are published, within Azure?
Many thanks in advance.
Bob
Under Web Apps in the old portal and under App Services in the new one.

Development environment in Azure

I've recently started using Microsoft Azure and Visual Studio Team Services.
We use VS Team Services for cloud storage of our source repositories in TFS.
Continous deployment is configured to build and deploy on every commit.
As of now, our development environment is public and can be visited by anyone (published to azurewebsites.net)
However, we would like our development environment to be private and not accessible using a userfriendly url. We could implement some authorization on the web site to prevent others seeing our development site, but there must be another way.
There are ways to accomplish this using deployment slots in a staging area (will give me some guid url), but it doesn't seem right.
Is there any built in support to Azure (or Visual Studio Team Services) to accomplish this?
You could leverage domain and / or IP address restrictions to limit who can connect into your host. See: http://azure.microsoft.com/blog/2013/12/09/ip-and-domain-restrictions-for-windows-azure-web-sites/.

Azure Websites Dropbox Sync from API

I have been looking through the C# and Rest API's for the Microsoft Azure web sites but I cannot find a way of executing the drop box sync command that can be done through the azure portal. Is this possible from an API that any one knows of?
There is support for deploying a WebDeploy file to a Website using PowerShell, so there must be a corresponding API for it.
If you download the publish settings for the website, you'll se that it has a PublishUrl which is the WebDeploy endpoint for the server, along with a msdeploySite, which is your unique site on the server. A WepDeploy file is nothing more than a fancy zip (AFAIK), so by digging into this it should be possible to come up with something which can talk to the webdeploy endpoint and thereby publish.
I don't think that API is something Microsoft publishes though, so you might have to dig deep.

AS3 Integration With Azure Cloud Hosting

Does anyone know if Aptana Studio 3 can integrate directly with Azure cloud hosting like it does with Heroku or Engine Yard? Want to avoid the GitHub option if possible as public account.
From the official site for Aptana Studio 3 I see that it supports FTP as a standard publishing method.
You can use this method (ftp) to Deploy your application to Windows Azure Web Sites. And here is a quick tutorial on how to publish to Azure Web Sites using FTP. It will guide you through the process of creating deployment credentials and how to get the FTP site address.
I have been looking at other IDE solutions and recently came across PHPStorm - it has ftp, SVN and Azure integration as standard (amongst others) so am going to stick with it and because it's also an excellent code editor. Happy days!

Resources