azure-web-app-service

ThreadPool SetMinThreads - the impact of setting it

扶醉桌前 提交于 2020-05-25 11:34:05
问题 I am trying to understand the impact of setting ThreadPool.SetMinthreads . I have multiple virtual applications running in one Azure App Service. My understanding is that all these virtual applications will share the App Pool, and will have only one worker process (Assuming the App Pool's max worker process will be 1). I have the below two questions. In this setup, if I set ThreadPool.SetMinThreads to let's say 100 worker threads and IO threads, can I safely assume that each app domain will

HTTP Error 500.30 - ANCM In-Process Start Failure Asp.net-Core 3.1

半世苍凉 提交于 2020-05-16 19:15:27
问题 I am writing an API using Asp.net Core 3.1 . I'm using IHostedService for background processing in the API . IHostedService class: public class DataUpdateBackgroundService : Microsoft.Extensions.Hosting.BackgroundService { private ITurkeyProvinceDataService _dataService; public DataUpdateBackgroundService(ITurkeyProvinceDataService dataService) { _dataService = dataService; } protected override async Task ExecuteAsync(CancellationToken stoppingToken) { stoppingToken.Register(() => Console

HTTP Error 500.30 - ANCM In-Process Start Failure Asp.net-Core 3.1

一个人想着一个人 提交于 2020-05-16 19:15:18
问题 I am writing an API using Asp.net Core 3.1 . I'm using IHostedService for background processing in the API . IHostedService class: public class DataUpdateBackgroundService : Microsoft.Extensions.Hosting.BackgroundService { private ITurkeyProvinceDataService _dataService; public DataUpdateBackgroundService(ITurkeyProvinceDataService dataService) { _dataService = dataService; } protected override async Task ExecuteAsync(CancellationToken stoppingToken) { stoppingToken.Register(() => Console

HTTP Error 500.30 - ANCM In-Process Start Failure Asp.net-Core 3.1

我的梦境 提交于 2020-05-16 19:13:36
问题 I am writing an API using Asp.net Core 3.1 . I'm using IHostedService for background processing in the API . IHostedService class: public class DataUpdateBackgroundService : Microsoft.Extensions.Hosting.BackgroundService { private ITurkeyProvinceDataService _dataService; public DataUpdateBackgroundService(ITurkeyProvinceDataService dataService) { _dataService = dataService; } protected override async Task ExecuteAsync(CancellationToken stoppingToken) { stoppingToken.Register(() => Console

HTTP Error 500.30 - ANCM In-Process Start Failure Asp.net-Core 3.1

感情迁移 提交于 2020-05-16 19:13:08
问题 I am writing an API using Asp.net Core 3.1 . I'm using IHostedService for background processing in the API . IHostedService class: public class DataUpdateBackgroundService : Microsoft.Extensions.Hosting.BackgroundService { private ITurkeyProvinceDataService _dataService; public DataUpdateBackgroundService(ITurkeyProvinceDataService dataService) { _dataService = dataService; } protected override async Task ExecuteAsync(CancellationToken stoppingToken) { stoppingToken.Register(() => Console

DNN UrlRewrite (“DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules”) does not run custom rewrite rule on web.config

ⅰ亾dé卋堺 提交于 2020-05-15 21:35:29
问题 On our DNN site hosted in an Azure app service, we have the following custom rule set on our web.config: <rewrite> <rules> <rule name="Proxy" stopProcessing="true"> <match url="^base3/?(.*)" /> <action type="Rewrite" url="https://(a website hosted in aws s3)/tx/{R:1}" /> <serverVariables> <set name="HTTP_ACCEPT_ENCODING" value="" /> <set name="HTTP_X_ORIGINAL_HOST" value="{HTTP_HOST}" /> <set name="HTTP_X_Blog" value="1" /> </serverVariables> </rule> </rules> We have also setup the following

Where can I find docker container logs for Azure App Service

余生颓废 提交于 2020-05-12 20:46:10
问题 I do have a Docker container running a .net core 2 app. The logging is configured using this code in Program.cs public static IWebHostBuilder CreateWebHostBuilder(string[] args) => WebHost.CreateDefaultBuilder(args) .ConfigureLogging((hostingContext, logging) => { logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging")); logging.AddConsole(); logging.AddDebug(); }) .UseStartup<Startup>(); and the appsettings.json file { "Logging": { "LogLevel": { "Default": "Information" }

Azure Web App + Node.js + Azure AD = Error 431

亡梦爱人 提交于 2020-05-08 15:39:11
问题 I created a Node.js based web application, running in an Azure Web App, that I wanted to put behind an Azure Active Directory authentication. After activating "App Service Authentication", the login process works normally, however upon returning to my app, it just returns a HTTP 431 "Request Header Fields Too Large". To validate it's not my app, I checked the Azure web app sample for Node.js and even this returns a 431 when activating AAD. Steps to reproduce: Create new Azure resource -> Web

Azure Web App + Node.js + Azure AD = Error 431

帅比萌擦擦* 提交于 2020-05-08 15:38:06
问题 I created a Node.js based web application, running in an Azure Web App, that I wanted to put behind an Azure Active Directory authentication. After activating "App Service Authentication", the login process works normally, however upon returning to my app, it just returns a HTTP 431 "Request Header Fields Too Large". To validate it's not my app, I checked the Azure web app sample for Node.js and even this returns a 431 when activating AAD. Steps to reproduce: Create new Azure resource -> Web

Azure webapp: Stack settings

半城伤御伤魂 提交于 2020-05-08 15:02:22
问题 I can set my stack for a webapp through the portal: I deploy my infra through an ARM template: "apiVersion": "2015-08-01", "type": "Microsoft.Web/sites", "name": "[variables('name')]", "location": "[parameters('location')]", "dependsOn": [ "[concat(parameters('customer'),'-','webapp-small','-' , 'plan','-',parameters('env'))]" ], "properties": { "clientAffinityEnabled": false, "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', concat(parameters('customer'),'-','webapp-small','-' ,