I have a Cloud Service Package file and a Service Configuration file uploaded on Azure File Storage. Now, I want to write a C# code to pull the files from the storage and upload it to the Cloud Service Staging Deployment and eventually run it as a WebJob.
I was able to achieve this using Powershell script (Publish-AzureServiceProject) on my local machine (with both the package and service file on my local machine) but faced issues while running it as a WebJob. Apparently, Azure PS commands are not completely supported on Azure Webjobs / Websites.
Could someone let me know how to achieve this using C#.