azure-deployment

Windows Azure: Authentication error when trying to create credentials

谁都会走 提交于 2019-12-07 04:38:25
问题 UPDATE at bottom: I am trying to upload a test app to Windows Azure for the first time and having problems when creating credentials. These are the steps I'm following: I create the credentials and certificate in Visual Studio, and upload the certificate to Azure as follows: right click Windows Azure Compute in server explorer Select Add deployment environment right click "Windows Azure Subscriptions" Select Manage Select New In "Windows Azure Project Management Authentication" In "Create or

Calling Set-AzureServiceDiagnosticsExtension with Role parameter fails

旧街凉风 提交于 2019-12-06 05:09:07
问题 I'm trying to set Azure diagnostics on a deployed cloud service using the Azure Powershell cmdlets and the Set-AzureServiceDiagnosticsExtension command: Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $diagnosticsConfiguration.FullName -ServiceName $serviceName -Slot Production -Role "MyService.Web"-Verbose Doing so I get the following error Exception: Microsoft.WindowsAzure.CloudException: BadRequest: The extension ID MyService.Web

Automating Deployment in Bot Framework (Bot + LUIS+ QnA + Table Storage)

白昼怎懂夜的黑 提交于 2019-12-05 15:26:44
We have a bot deployed on Azure but we want to give it to a client so he can deploy it run it using his own resources. We need to give them a Powershell script that magically create and deploy all the resources needed for the bot to work. My bot architecture consists on the following parts: Bot's Logic (ASP.NET Web API Project deployed over an Azure App Service ) LUIS Model (published over a Cognitive Services Account ) QnA Service Knowledge Base done with QnA Maker ( published directly from the QnaMaker Portal (have no idea where it's deployed ) Azure Table Storage My Questions are: 1) How to

How to deploy only worker/web role in Azure

本秂侑毒 提交于 2019-12-04 21:01:40
问题 If you have a web AND a worker role in an Azure solution, all the waiting for the publishing an update package, uploading to the cloud storage, waiting for the package to be deployed could be exhausting, an waste a lot of time. How to upload/deploy only the worker or web role of an Microsoft Azure Solution, that contains both roles, and save both internet traffic and time? 回答1: There is no option to build a package for only one of the both roles, but if you have limited bandwidth or traffic,

Transform web.config for Azure Website Deployment for each release environment

别来无恙 提交于 2019-12-04 13:53:55
问题 In Visual Studio Team Services (was Visual Studio Online), I have three release environments each with an Azure Website Deploy step. I can transform the web.config for the build step by specifying the "BuildConfiguration" variable (e.g. Uat) which picks up the Web.Uat.config. However I have multiple release environments that use this build configuration which all need to transform the web config (e.g. Dev,Test,Uat,Live). Is it possible to specify the the web config transform to use for each

Deploying a plain ASP.NET Core 2.2 Web App in Azure using Web Deploy is throwing an error

随声附和 提交于 2019-12-04 01:03:27
问题 I went to publish an asp.net core web application using Azure through the Publish screen in Visual Studio 2017. I used all of the defaults, but my app uses migrations so I had to tell it to run them in the publish profile. When I try to access the site I get: The page cannot be displayed because an internal server error has occurred. I feel like there is something I need to do with the connection string and the ASPNETCORE_ENVIRONMENT variable. I still have the default appsettings.json and

How to deploy only worker/web role in Azure

与世无争的帅哥 提交于 2019-12-03 15:19:04
If you have a web AND a worker role in an Azure solution, all the waiting for the publishing an update package, uploading to the cloud storage, waiting for the package to be deployed could be exhausting, an waste a lot of time. How to upload/deploy only the worker or web role of an Microsoft Azure Solution, that contains both roles, and save both internet traffic and time? There is no option to build a package for only one of the both roles, but if you have limited bandwidth or traffic, and want to save from the upload time (which can be quite a big portion if you have a lot of static content:

Not able to publish website on Windows Azure using publish through VS2010

[亡魂溺海] 提交于 2019-12-03 14:39:00
问题 I am facing this problem when I try to publish my web application on Windows Azure via Visual Studio 2010. I am trying by right click on project and select publish and importing publish profile downloaded from Windows Azure platform. I am getting this error: Error 1 Web deployment task failed. (Could not connect to the remote computer ("waws-prod-am2-001.publish.azurewebsites.windows.net"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web

How to deploy a solution with two projects to Azure App Service?

╄→尐↘猪︶ㄣ 提交于 2019-12-03 12:29:39
问题 I am trying to minimize the cost of running my web app in Azure App Service. I have a Visual Studio 2017 solution with two Web Projects: Web and API (both .NET Core). The entire solution is part of a single GitHub Repo. Before adding the API project, the build and deployment to Azure App Service was automated. My goal is to deploy both projects under the same App Service (to minimize cost) with two subdomains (e.g. www.example.com and api.example.com) and keep everything automated. Is this

Transform web.config for Azure Website Deployment for each release environment

六月ゝ 毕业季﹏ 提交于 2019-12-03 08:04:11
In Visual Studio Team Services (was Visual Studio Online), I have three release environments each with an Azure Website Deploy step. I can transform the web.config for the build step by specifying the "BuildConfiguration" variable (e.g. Uat) which picks up the Web.Uat.config. However I have multiple release environments that use this build configuration which all need to transform the web config (e.g. Dev,Test,Uat,Live). Is it possible to specify the the web config transform to use for each release environment before the Azure Website deploy step? Note: I realise that simple appsettings and