azure-web-sites

Cannot access cer text “App setting” in “Application Settings” on Azure share

戏子无情 提交于 2019-12-12 03:44:32
问题 I have a .cer file that I have converted into an "App settings" under "Application Settings" on Azure. I then add the setting key value pair in my app.config file with dummy info (and via "programmagic" is supposed to be updated when running on the Azure... The code works on my machine, but it is not getting pulled from my Azure "App settings" when I run it on Azure ... . My "App Setting" in "Application Settings" on my MVC5 Web App: Name: MyCER Value: -----BEGIN CERTIFICATE-----

GET request using Azure app services and Intel Edison

﹥>﹥吖頭↗ 提交于 2019-12-12 03:43:37
问题 I wanted to read data from an azure app service's easy tables using REST API to an Intel Edison. Before I did the same using Azure Mobile Services and my code was this. PS: I'm programming the device by the Arduino IDE. void send_request() { Serial.println("\nconnecting..."); if (client.connect(server, 80)) { // POST URI sprintf(buffer, "GET /tables/%s HTTP/1.1", table_name); client.println(buffer); // Host header sprintf(buffer, "Host: %s", server); client.println(buffer); // Azure Mobile

Calling ApiController causes SignalR to stop working

风流意气都作罢 提交于 2019-12-12 03:33:04
问题 I have a monitoring/logging hub that uses SignalR (2.2.1) and Azure Mobile App for authentication. Regardless of whether the MobileAppController attribute is present on the ApiController, and even if the ApiController contains no hub calling code, calling /api/values from a browser immediately kills my SignalR hub. I have to restart the web app to get it to work again. In the meantime, the webpages will keep trying to connect/reconnect. The striped-down controller looks like public class

PhantomJs webdriver issue on Azure web job Exception- Cannot start the driver service on http://localhost:51293/

╄→гoц情女王★ 提交于 2019-12-12 03:32:09
问题 I am working with Phantomjs web diver to get page source .it's working fine on local but when i host webjob on azure then its giving me exception; OpenQA.Selenium.WebDriverException: Cannot start the driver service on http://localhost:51293/ http://localhost:51293/ this path changed at every run . 回答1: PhantomJS is not supported by Azure Web App/Web Jobs currently. It is noted in the end of following official document. Azure Web App sandbox - Unsupported frameworks Other scenarios that are

SignalR 500 errors during “ping” on Azure website

…衆ロ難τιáo~ 提交于 2019-12-12 03:27:38
问题 I've got an ASP.NET 4.5 web app using SignalR 1.0.0-rc1 which I've pushed out to an Azure website for some quick-and-dirty testing (I'm mostly interested in this page here: http://alantaappbeta.azurewebsites.net/api/v3.0/Tests/Sample.htm). The problem is that the page doesn't seem to want to talk to the SignalR service. The hubs and everything are registered correctly, as http://alantaappbeta.azurewebsites.net/signalr/hubs returns the correct client-side hubs file, and the call to /signalr

How to access the publishing credentials of a website using Azure RM and ResourceId

雨燕双飞 提交于 2019-12-12 03:24:59
问题 I'm trying to get the publishing credentials of a website using AzureRm and PowerShell using Invoke-AzureRmResourceAction and PowerShell. In this answer @David Ebbo explains how to do it using ResourceName and ResourceGroupName as parameters of the Invoke-AzureRmResourceAction cmdlet. I've tried that and it works perfectly and the object I get back has an Id property that looks a lot like a ResourceId . I've tried using that Id as the ResourceId parameter and removing ResourceName and

ERROR on Azure Web App Deployment of a msdeploy package

安稳与你 提交于 2019-12-12 03:22:36
问题 I encounter an error while deploying a package on an azure web app. The app is a .NET web application, compiled for 4.0 framework. Here is the command line I use for creating the package: "msdeploy.exe" -verb:sync -source:dirpath="C:\Users\Pierre\Documents\Projets\MyProject\MyApp" -dest:package=C:\Users\Pierre\Documents\MyProject\AzureResourceGroup\MyApp.zip Then, on deployment using azure resource groups templates I get the following error <?xml version="1.0" encoding="utf-8"?> <entries>

portal.azure.com WebApp Panel without info/tabs

风格不统一 提交于 2019-12-12 03:17:32
问题 I have 4 different azure accounts, each on with its own subscription and 5 WebApps on each subscription. On my last created account+subscription+WebApps something really strange is happening in the "WebApp Panel" of the portal.azure.com: when I select any of my webapps the panel does not have the usual information. It is best explained with pictures: A normal WebApp Panel: A fail WebApp Panel As you can see it doesn't contain the usual information. For more info, I don't know if it has any

Is stream Reading can make and send Null to blob storage

蹲街弑〆低调 提交于 2019-12-12 03:14:53
问题 I use stream for file with: memory stream, stream readinng or file stream such as byte[] buff = System.IO.File.ReadAllBytes(open.FileName); System.IO.MemoryStream ms = new System.IO.MemoryStream(buff); and I want to send it to blob storage and at that point my blob is empty, is it because of reading file by stream or it refers to other problem such as miss configuration on blob or CloudStorageAccount connection string. 回答1: Just use the below code. No need to convert memory stream, You can

Configuring Azure WebSite to always resolve to Custom Domain

*爱你&永不变心* 提交于 2019-12-12 03:10:04
问题 I have a Wordpress Blog hosted on an Azure Website. The blog itself works great, and the Custom domain resolves correctly to the Azure WebSite URL. However, I'm hoping to configure the site such that the user's browser will always display the custom domain, even when they click a link within the site, rather than what happens now, which is as soon as you click any link within the site, the URL changes to the http://MyBlog.AzureWebSites.Net/{Content Url} URL. I see the related question Custom