azure-web-sites

Visual Studio Online Build treats git output as errors

删除回忆录丶 提交于 2019-12-01 08:19:51
My build in Visual Studio Online tries to deploy my Azure web site via Kudu . The script works fine, and deployment goes through, but VSO treats git output as errors for some reason, and declares the whole build failed. Take a look at the screenshot below. Some details: This is a "new scripted" build, not a XAML-defined one. Build definition has just one step, which executes a PowerShell script, which runs F# FAKE (not sure if this is relevant). When I run the same script on my local machine, I don't see any "strange" output, including the [K at the end of each line. After running on my local,

Azure PowerShell: Enable Application Diagnostics and Site Diagnostics

假装没事ソ 提交于 2019-12-01 08:17:34
问题 I am configuring Diagnostics & IIS Logs for Azure Websites. Azure Manage Portal shows options to store Application Diagnostics to Azure Table Storage: And pops up a dialog on clicking 'manage table storage' to provide Azure Table details: Site Diagnostics to Blob Storage: I am searching for Azure Cmdlet to enable these using PowerShell at deployment time. Here is the Cmdlet i could find but it doesnt have any option to provide table details: Enable-AzureWebsiteApplicationDiagnostic C:\PS

Installing certificates to the trusted root certificate store on azure web apps

六眼飞鱼酱① 提交于 2019-12-01 08:17:02
How can I install a certificate into an Azure Web App so that my azure webapp can communicate with a remote service via SSL (this particular certificate is not signed by a public CA) I generated an ssl certificate with openssl and when I install it to the trusted root certificate authentication store on my local computer the runs fine. However when I upload the cert via the management portal I get errors that the certificate isn't trusted (which is correct) and the correct error for when a certificate is not installed. How can I install a private SSL certificate into the trusted root

Internal Server Error - Azure App Service Custom Controller

北城余情 提交于 2019-12-01 08:12:41
问题 I have a Azure Mobile App Service (not old mobileservice), with multiple custom controllers, and the flow works perfectly. Today an error occurred about Internal Server Error . I attached the debugger an stepped through the code, and the controller gets to the end without any errors and hits the return Ok . Therefore I have not been able to find the root. But the client then gets the error that there is an internal server error. I make a server call like: DTO.UserDTO uploadImage = await ((App

NotificationHub Push Notification returns : The Token obtained from the Token Provider is wrong

一笑奈何 提交于 2019-12-01 08:11:09
I have Wp8.1 Silverlight app that receives push notification (WNS) from Mobileservice (the old azure service). I therefore wanted to update to the new service because of the new features. I have now created/upgraded a new server to use App Service - Mobile App. And tested push notification with the sample app from azure (everything works). Going back to my app WP8.1 -> Adding the new package Microsoft.Azure.Mobile.Client through NuGet (2.0.1), there is the issue that the Microsoft.WindowsAzure.Mobile.Ext does not contain the 'GetPush' extension. It seems like it is missing it? looking to the

How to deploy a static website to Azure from Visual Studio Team Services

匆匆过客 提交于 2019-12-01 08:01:56
I have an existing website that I would like to deploy on Azure , using Visual Studio Team Services . The website is made up of static files, there's no ASP.NET or anything else involved. Within Visual Studio Team Services, I created a build which executes npm install and a gulp build. This results in a dist folder containing all the files for the website. In Azure, everything is set up correctly (subscription, web app,...). However, I'm unsure on how to push my code to Azure. Exploring the options in the Release tab in VSTS, an 'artifact' always seems to be required, but I just have a bunch

Polling an Azure Service Bus Queue from an Azure WebJob using Node.js

房东的猫 提交于 2019-12-01 07:12:01
问题 Trying to poll an Azure Service Bus Queue using a WebJob written in Node.js. I created 2 WebJobs. The first is on demand and sends 10 unique messages to the queue. The second job is continuous and polls the queue for messages. Encountering the following issues: The polling is SLOW. It takes an average of about 10 minutes to receive 10 messages. See sample log details below. Basically unusable at this speed. All the delay is from getting a response from receiveQueueMessage . Response times

Installing certificates to the trusted root certificate store on azure web apps

情到浓时终转凉″ 提交于 2019-12-01 07:10:30
问题 How can I install a certificate into an Azure Web App so that my azure webapp can communicate with a remote service via SSL (this particular certificate is not signed by a public CA) I generated an ssl certificate with openssl and when I install it to the trusted root certificate authentication store on my local computer the runs fine. However when I upload the cert via the management portal I get errors that the certificate isn't trusted (which is correct) and the correct error for when a

How to remove WebDAV module from IIS?

左心房为你撑大大i 提交于 2019-12-01 06:46:19
I am struggling for days to enable PUT and DELETE request for my PHP app at MS Azure. Some answers I found suggest to remove the WebDAV module from IIS. How would I do so? I've spent a whole day on this and tried every solution I ran into yet nothing worked for me. What finally worked was turning off the "WebDAV Publishing" feature from Turn Windows features on or off. This is located under: Internet Information Services\World Wide Web Services\Common HTTP Features\WebDAV Publishing. I am hosting a PHP application in Azure App Services and I was able to solve this problem by manually creating

Can I open ports on Azure Websites?

情到浓时终转凉″ 提交于 2019-12-01 06:26:22
If I want to self host WCF in a Windows Azure Website by spinning up my own ServiceHost can I host end points on 8080 or any other port I want to? Is there any specific usable range of ports I have access to or is port access entirely blocked? Edit: for absolute clarification this question is NOT about web or worker roles and is only about Azure Websites This blog post is slightly out dated now as Windows Azure Websites have more features now (like staging and production slots, WebJobs, etc) but the part regarding ports is still true for Azure Websites. When to use Cloud Services [...] Windows