azure-app-service-envrmnt

Could not load file or assembly after publishing to Azure app service

邮差的信 提交于 2021-02-19 23:21:37
问题 I am suddenly seeing this error when running my app (published on Azure app service: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. at SharePointLibrary.SPClient.GetAllUsers() at ADVWKSP.Managers.UserManager.GetUsers() in C:\Users\bassie\source\repos\TFS\ADVWKSP\ADVWKSP\Managers\UserManager.cs:line 21 It runs fine on my machine, and it used

Azure App Services Deployment Slot Transformations

六月ゝ 毕业季﹏ 提交于 2021-02-08 10:55:54
问题 I would like to start using the deployment slots in my Azure App Services for a staging to production task. The problem that I am running into is I can't seem to find a way to do transformations on the web.config outside of the appsetting and connectionstrings. I seem to be missing something, but I need to be able to adjust other configurations, from logging levels, to other integrated config sections. We currently have been using direct deployments from our build server with msdeploy and

Is there a way to see when the Azure Functions Runtime was updated?

佐手、 提交于 2021-01-28 21:59:51
问题 We started seeing some new errors in one of our functions in relation to a DryIoc accessing a disposed Singleton object. There are several posts suggesting to set the FUNCTIONS_WORKER_RUNTIME to a specific version. I can see in the Azure Portal that our runtime is currently set 2.0.13759.0 which was released on June 1, 2020. There have been a few more releases since that time, which leads me to my question. I'm not necessarily saying it is the cause of our issue, but how can I tell when a

Is there a way to see when the Azure Functions Runtime was updated in Linux?

可紊 提交于 2021-01-07 06:57:45
问题 For an Azure Function, how can I tell when an Azure App Service Plan's FUNCTION_EXTENSION_VERSION was updated on a Linux server? Note this is in relation to the same exact question answered for Windows. 回答1: For an Azure Function, how can I tell when an Azure App Service Plan's FUNCTION_EXTENSION_VERSION was updated on a Linux server? Linux azure function is different from windows azure function. Their design methods are different. I first tried to use ftp and connected to the physical path

Scale up and scale down of azure app service plan (Based on non-business hours) using azure automation script

房东的猫 提交于 2020-06-28 04:24:07
问题 I have to Scale up and scale down of azure app service plan (Based on non-business hours) using azure automation service. I have visited lot of websites but everywhere it is about scale out or increasing/decreasing the instance count. But my requirement is I want to change app service plan from S2 to S1 and vice versa based on timings. Please help me.... 回答1: this is what you are looking for: Set-AzureRmAppServicePlan -ResourceGroupName $ResourceGroupName -Name $ServicePlanName -Location

How to check the availability for the internal app services hosted inside internal App Service Environment

南楼画角 提交于 2020-03-23 08:14:39
问题 I am trying to setup the availability test (URL-Ping test) in Azure Application Insights, but the endpoint that requires the basic authentication. And the endpoint(Azure App Services) resides in internal App Service Environment (ASE). So, can anyone suggest me how to check the availability for the internal azure app services hosted inside internal App Service Environment. 回答1: A bit late the response, but here it goes. Please have a look at this article that explains how to do it. Basically

Azure Web App Code Not Updating After Publish Until Restart (VS2017)

我的梦境 提交于 2020-02-20 09:52:11
问题 I am developing a multi-tier web application consisting of multiple Web APIs in an Azure App Service Environment. Recently after upgrading to VS2017 I have noticed that the apps will randomly fail to update after I publish new code (from VS). Remote debuggers will not load correctly and the old code will continue to run after publishing. I am selecting "Remove additional files at destination" in the publish settings. Restarting the apps usually fixes the problem temporarily, though sometimes

Azure Web App Code Not Updating After Publish Until Restart (VS2017)

左心房为你撑大大i 提交于 2020-02-20 09:48:21
问题 I am developing a multi-tier web application consisting of multiple Web APIs in an Azure App Service Environment. Recently after upgrading to VS2017 I have noticed that the apps will randomly fail to update after I publish new code (from VS). Remote debuggers will not load correctly and the old code will continue to run after publishing. I am selecting "Remove additional files at destination" in the publish settings. Restarting the apps usually fixes the problem temporarily, though sometimes

Azure App service - User has insufficient permissions to collect Windows Performance Counters

白昼怎懂夜的黑 提交于 2020-01-25 07:53:06
问题 We have hosted a .Net application as an Azure App Service. I am trying to install an APM called New Relic. I am stuck at this error. The executing user, IIS APPPOOL\XXX, has insufficient permissions to collect Windows Performance Counters. I understand how this can be handled in a VM with access to IIS Application insight monitor doesn't send data to portal due to insufficient permission I also didn't find any setting via Azure KUDU console. However, I am trying to find how to setup "Users