azure-web-sites

How do I automatically install New Relic extension using Azure ARM Template?

て烟熏妆下的殇ゞ 提交于 2019-12-23 17:10:10
问题 I am using a azure arm template to create a web app in azure. Now I need to install New Relic Extension in the webapps which will be created using this template. So I was unable to find specific json format. Please help me out! 回答1: Please have a try to add the json code snipped in the ARM template. "resources": [ { "apiVersion": "2015-08-01", "name": "NewRelic.Azure.WebSites", "type": "siteextensions", "dependsOn": [ "[resourceId('Microsoft.Web/Sites', variables('webSiteName'))]" ],

Deploying .Net Core to Linux WebApps on Azure with DevOps

南笙酒味 提交于 2019-12-23 17:05:09
问题 I have a build/release for a .Net Core WebApp that works on windows machines perfectly, however I want to be able to deploy the same codebase to Linux. I set up a build and release and am using the "Web App on Linux" to deploy to my Linux WebApp. I also made sure that the Runtime Stack(s) on BOTH the Build and on the WebApp are set to use .Net Core 2.2: The builds and the release run perfectly, however once the deployment is complete the website goes to a 404 (replacing the default Azure

How to set up an A-record for Azure hosted website / web role?

蹲街弑〆低调 提交于 2019-12-23 16:40:34
问题 We want to host a website on Windows Azure and it can technically be a Website or a Web role , we don't particularly care. Is there currently a way to set an A-record for either of them? It seems that shared Websites don't support DNS entries at all and that the reserved instances support CNAME only. Do web roles support A-type DNS records? If not, how real-world deployments on Azure deal with that? For our web site, it is absolutely necessary that it serves both www.example.com and example

CSS ignored when deploying MVC5 project to Azure

久未见 提交于 2019-12-23 16:26:20
问题 I have developed a website on MVC5 and deployed it to Azure websites. The site works as expected but on browsing to the website hosted in Azure, the site ignores the changes I have made to the default bootstrap.css file. This file is set as "Copy Always" to the output directory, so it is present in Azure as well with the rest of the code. Refreshing the browser does not show the website as it should be displayed. Neither does restarting the azure website help. Below is my code: Site.master

Azure Website/Visual Studio Online Continuous Deployment fails for Website

你说的曾经没有我的故事 提交于 2019-12-23 16:24:20
问题 I hooked up a Web Site project in Visual Studio 2013 to the continuous deployments within Azure Web Sites. Checking-in triggers a build, but I receive the following error: Exception Message: The deployment package file (*.zip) was not found. Ensure that PackageAsSingleFile msbuild property is not set to False. (type FileNotFoundException) Exception Stack Trace: at Microsoft.TeamFoundation.Deployment.Workflow.Activities.FindPackageAndParametersFile.Execute(CodeActivityContext context) at

Azure Website/Visual Studio Online Continuous Deployment fails for Website

丶灬走出姿态 提交于 2019-12-23 16:23:04
问题 I hooked up a Web Site project in Visual Studio 2013 to the continuous deployments within Azure Web Sites. Checking-in triggers a build, but I receive the following error: Exception Message: The deployment package file (*.zip) was not found. Ensure that PackageAsSingleFile msbuild property is not set to False. (type FileNotFoundException) Exception Stack Trace: at Microsoft.TeamFoundation.Deployment.Workflow.Activities.FindPackageAndParametersFile.Execute(CodeActivityContext context) at

Wrong Azure Website server timezone data

南楼画角 提交于 2019-12-23 14:55:28
问题 I'm from Russia, and 1,5 days ago (at 2AM, Oct 26) our timezone (ok, offset of our timezone) has changed - from UTC+4 became UTC+3. Please, don't ask why now - it's out ******* goverment :( But it changed. My home Win 8.1 machine updated automatically. But only one (!) of my Azure resources is updated. One Cloud Service updated, while one more Cloud Service and 4 websites are not updated - they are still at UTC+4 offset. I know, all Azure servers are in UTC in settings, but I speak about

ASP.NET 5 (RC1) Bad Gateway: The specified CGI application encountered an error and the server terminated the process

此生再无相见时 提交于 2019-12-23 12:44:46
问题 I am running an ASP.NET 5 project in an Azure Web App. When calling on an API endpoint with a file (form-data) of about 1.5mb or larger, I get a 502 Bad Gateway with the follow message in the reponse body: The specified CGI application encountered an error and the server terminated the process. The strange thing is that when uploading a smaller file, the call works fine. It seems to produce the 502 at around the 1.5mb mark, but it's not entirely consistent. I am using ASP.NET 5 RC1. In

Windows Azure Web sites python

≡放荡痞女 提交于 2019-12-23 12:33:55
问题 After a whole load of hard work I've eventually got a hello world flask app running on Windows Azure, the app is built locally and runs fine, deploying it to Azure is a nightmare though. So I've sort of got two questions here. I can't seem to get a stack trace at all, I've tried setting things in web.config, but the documentation on how to use all this stuff is just apawling, all I can find is just literally badly written blog posts dotted around one of microsoft's millions of blogs. Which

Can't reconnect to Azure Redis via StackExchange.Redis

守給你的承諾、 提交于 2019-12-23 12:23:12
问题 Caveat : Okay so this is a weird one, and i'm not sure if SO is the right place. I have an Azure Website connecting to an Azure Redis Cache instance. (using StackExchange.Redis) Everything was great, then one day - the website couln't connect to Redis. Error: It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. SocketFailure on PING Here's my connection string: mycache.redis.cache.windows.net,ssl=true,password=xxxxxx