azure-app-service-envrmnt

Azure LocalCache not setting the Ready environment variable on ASE

不羁的心 提交于 2019-12-22 11:16:40
问题 I have moved my WebApp to the Azure App Service Environment and have enabled the new LocalCache option as documented at https://azure.microsoft.com/en-us/documentation/articles/app-service-local-cache/ However, the environment variable that is supposed to tell you that the cache is ready does not exist. If I use Kudo and go to Process Explorer, Click on properties for the w3wp (without the scm label) process, then click on Environment Variables the only variables I see are: WEBSITE_LOCAL

restrict azure appservice / website to a domain

早过忘川 提交于 2019-12-21 12:28:34
问题 I have a WCF service running on a azure app service. I want to restrict this WCF to a few azure website, external IPs and some other deployments. I am using IPSecurity tag for that in my WCF web.config My issue is the IP restrictions work, but the azure website domains that i allow access to, dont seem to work. for exmaple, i have an azure website with a custom domain, abcdef.info. i am trying to give this domain access to wcf, but it doesnt seem to be working. below is my configuration.

How to restart Azure App Service Instance

懵懂的女人 提交于 2019-12-21 07:15:19
问题 I have an Azure App Service that contains 1 Web App with 1 slot. I have 2 instances assigned to the App Service. This week, the App Service shows about 60% CPU usage, and its usually about 10-15%. Upon further investigation, it looks like 1 of the two instances is maxed out. When opening up the Site Metrics per Instance, I can see that HTTP Response times are in the 1000s of milliseconds for one instance, and less than 200ms for the other. I have tried restarting the W3P process on the

Azure App Service vs Azure Service Fabric [closed]

孤街醉人 提交于 2019-12-20 09:33:16
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 11 months ago . Can anyone direct me to something that will explain when I should create an Azure Service Fabric application vs an Azure App Service application? I have an application I want to build but can not determine whether I should build it using the Azure Service Fabric or the

Azure project Kudu accepts uploaded zip file to the Zipdeploy endpoint but does not deploy

北战南征 提交于 2019-12-18 09:42:06
问题 I have an ASP.NET Core 2.0 API as an Azure App Service with a deployment slot for QA that I have been using for a few months. I develop in VS2017 and I publish to Azure using the built in Publish to Azure App Service component of the project. This is working just fine. I am now trying to move the deployment to a Bamboo deployment server. I am generally following a process similar to this link how to use azure kudu zipdeploy from a bamboo deployment server In my Bamboo build, I run a

How to check Azure Network Security Group outbound IP Allowed or not?

。_饼干妹妹 提交于 2019-12-18 07:19:49
问题 I have few problems regarding Azure Network Security Group. Currently I'm using Azure App Services to publish my website and in Azure, App Services, Network Side Controlled By NSG such as inbound and outbound security and other things. I'm working with sagepay payment gateway.they asked me to do following steps in order to success my sagepay integration. Please ensure that all of the following IP addresses are allowed within your Server or Firewall: For outbound traffic to our gateway: 195

How to check Azure Network Security Group outbound IP Allowed or not?

痴心易碎 提交于 2019-12-18 07:19:05
问题 I have few problems regarding Azure Network Security Group. Currently I'm using Azure App Services to publish my website and in Azure, App Services, Network Side Controlled By NSG such as inbound and outbound security and other things. I'm working with sagepay payment gateway.they asked me to do following steps in order to success my sagepay integration. Please ensure that all of the following IP addresses are allowed within your Server or Firewall: For outbound traffic to our gateway: 195

Azure power shell command to remove IP restrictions on App service

喜你入骨 提交于 2019-12-12 06:57:19
问题 I did my part of RnD and could not find Azure Powershell command remove IP restrictions on App service. Can someone help me out here plz. 回答1: Try the command below, it works fine on my side. $r = Get-AzureRmResource -ResourceGroupName "yourresourcegroup" -ResourceType Microsoft.Web/sites/config -ResourceName yourappservicename/web -ApiVersion 2016-08-01 $p = $r.Properties $p.ipSecurityRestrictions = @() Set-AzureRmResource -ResourceGroupName "yourresourcegroup" -ResourceType Microsoft.Web

400-BadRequest while call rest api of azure Web App

岁酱吖の 提交于 2019-12-12 03:27:43
问题 var client = new HttpClient(); client.DefaultRequestHeaders.Add("x-ms-version", "2016-05-31"); var content = new FormUrlEncodedContent(new KeyValuePair<string, string>[] { new KeyValuePair<string, string>("api-version", "2016-08-01") }); content.Headers.ContentType = new MediaTypeHeaderValue("application/xml"); var response = client.PostAsync("https://management.azure.com/subscriptions/SuscriptionID/resourceGroups/Default-Web-SoutheastAsia/providers/Microsoft.Web/sites/MyAppName/stop?",

Error in WCF service hosted with Azure app service: HTTP Error 405.0 - Method Not Allowed

吃可爱长大的小学妹 提交于 2019-12-11 19:39:13
问题 Ok, totally newbie with WCF here, so be patient with me, please. I have a WCF web service published on Azure app service, and a Xamarin.forms application that must connect to the service. I made the WCF service, at first I tried to self host it and I made the client on my xamarin app by using the visual studio 2017 "Add service". So it added the Reference.cs file, and I made the proxy class and interface to connect to the service and what not. I was having problems to connect to the service