azure-web-sites

Is Azure App Service now supporting GDI+ (System.Drawing)?

喜你入骨 提交于 2019-12-11 17:18:19
问题 I've been dealing with deploying an API that uses System.Drawing for a few weeks. I had it running in an Azure App Service and I used to get a "GDI+ generic exception". Now, out of nowhere started working. I looked for Microsoft announcements but couldn't find anything. 回答1: GDI+ is still not supported now, please refer to here. A User voice has already been submitted. 来源: https://stackoverflow.com/questions/52364192/is-azure-app-service-now-supporting-gdi-system-drawing

Application hangs when sending from MVC Web Application to Azure IoT Hub Device

人盡茶涼 提交于 2019-12-11 17:14:58
问题 This is a controller code of an Azure Web App that handles a device notification logic. What I'm doing is invoking the code shown below from a ASP MVC Controller. But when I run it I get an ever-pending request from the browser(it hangs). I have a button on view, when clicked, it invokes Wakeup method in the controller. The code is not different from the one on MSDN for a console application. What am I missing? using System.Text; using Microsoft.Azure.Devices; public class

Nodemailer throws error on Azure

跟風遠走 提交于 2019-12-11 17:08:20
问题 I'm trying to use the nodemailer package in my NodeJS app, which I have deployed on Azure. If I execute the app on my localhost everything works fine. If I execute it on Azure it throws the following error: Thu Jan 25 2018 09:03:31 GMT+0000 (Coordinated Universal Time): Application has thrown an uncaught exception and is terminated: SyntaxError: Unexpected token ... at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416

Where do I get the 'IgnoreDatabaseOutOfSync' property

时光总嘲笑我的痴心妄想 提交于 2019-12-11 16:07:56
问题 I am trying to publish my app to Azure through Visual Studio, but I keep getting the following error: Severity Code Description Project File Line Error Publish Database Setting Source Verification Error: The connection 'DBConnection' in the publish profile has changed from what is currently declared for 'DBConnection (path_to_my_web.config)'. Because of this publishing has been blocked. If this was intended you can disable this check by specifying the value of "True" for the MSBuild property

Azure AD Multi-tenant Applications - How to implement Token Validation?

血红的双手。 提交于 2019-12-11 15:40:31
问题 I have a multi tenant Web app / API registered in Azure ad and that connected to an API App. The API App has Active Directory Authentication setup. At the moment only one other tenant needs access to api. I made sure only they can get access by putting https://sts.windows.net/<third party tenant>/ in the Issuer URL . My question is: How would I go about giving a second (or more) tenants access to the api? I can't add anymore tenant ids in the Issuer URL so I'm kinda at a loss Thanks 回答1: The

Azure file image path using java

时间秒杀一切 提交于 2019-12-11 15:35:16
问题 Hi I am trying to save image on azure storage , I already have configuration step and I have upload method AsynchronousFileChannel fileChannel = AsynchronousFileChannel.open(sourceFile.toPath()); TransferManager.uploadFileToBlockBlob(fileChannel, blob, 8 * 1024 * 1024, null).subscribe(response -> { System.out.println("Completed upload request."); System.out.println(response.response().statusCode()); }); How can I get the url image path on azure to save it on database and show it on my website

Installing wordpress on Azurewebsites running Django

送分小仙女□ 提交于 2019-12-11 14:30:05
问题 We are running Django application on Azure websites. We would like to install a blog on www.example.com/blog. We uploaded wordpress into root directory, www.example.com/blog. But Django URL handler is stopping the request to the subdirectory and issuing an 404 page. How to solve this issue? 回答1: It sounds like you want to deploy multiple apps (a wordpress in PHP & a Django in Python) on the same Azure website instance. So the steps as below, please try. First of all, please check the PHP

Azure same FTP url for all azure websites sharing same appservice plan

北战南征 提交于 2019-12-11 13:54:02
问题 I created few web applications for the one app service plan. For all these apps I am seeing one FTP url. Issue is that when I go to the URL, I can see one "Site/wwwroot" folder which only shows one application. Isn't is possible to access FTP of other web applications? All applications works fine. I don't understand how this FTP is being created. If it's showing just one application in FTP, what criteria is based on that? I am seeing the 1st application based on the alphabetical order. 回答1:

Does the Diagnostic Logging setting turn itself off by design?

会有一股神秘感。 提交于 2019-12-11 13:05:21
问题 I have enabled diagnostic logging (Error level only to file system or blob) on my azure website several times and confirmed that it is working. When I come back and check the next day it is switched off. I can't seem to find any documentation that suggest that this is by design. 回答1: If you're logging to File System, then it does disable itself after 12 hours. You can see this if you click the help bubble: The reason is that it could affect site performance due to excessive writing to the

Deploying Hexo on Azure.. not sure what i'm missing

半城伤御伤魂 提交于 2019-12-11 12:35:58
问题 I recently decided to start a small blog for personal use (for now) on Azure. I started digging into the blogging framework Hexo. Now i got the (first) basics under control with starting a Hexo blog locally, but i want to push it to Azure. I configured a basic web-app with a GIT connection for continuous deployment (https://github.com/lmeijdam/demo-repo). I tried a tutorial with a server.js file package.json .gitignore Above will result in a working response and installed node_modules... But