web-config

Do web.config header size limits override http.sys limits in the registry?

我们两清 提交于 2021-01-01 04:26:47
问题 I have an ASP.Net 4.0 application using Windows Integrated Authentication on IIS7.5 on Windows 2003. Some users are reporting errors with this message: Bad Request - Request Too Long HTTP Error 400. The size of the request headers is too long. Others succeed in loading pages but have errors loading other resources and performing AJAX calls. One of the users experiencing intermittent errors has a Kerberos Authorization header of about 5700 characters. This user is a member of 250 AD groups. My

Simplest way to add Basic authentication to web.config with user/pass

不羁岁月 提交于 2020-12-25 03:50:24
问题 I'm setting up an Azure API Management with with an ASP.NET WebApi 2 app behind it. API Management recommends setting up Basic auth between the API Management proxy and the ASP.NET WebApi to make sure the WebApi is only accessible through the API Management proxy. (Of course OAuth tokens will be still sent with requests for the "real" authentication, but I'll add that later.) With this in mind, I don't really want to implement the Basic auth in the application, I would like to have it handled

Simplest way to add Basic authentication to web.config with user/pass

陌路散爱 提交于 2020-12-25 03:50:10
问题 I'm setting up an Azure API Management with with an ASP.NET WebApi 2 app behind it. API Management recommends setting up Basic auth between the API Management proxy and the ASP.NET WebApi to make sure the WebApi is only accessible through the API Management proxy. (Of course OAuth tokens will be still sent with requests for the "real" authentication, but I'll add that later.) With this in mind, I don't really want to implement the Basic auth in the application, I would like to have it handled

When is the web.config file “executed”?

旧时模样 提交于 2020-12-08 10:51:41
问题 Is it executed / read-by-the-server every time a page on the site is loaded? 回答1: The web.config is loaded into memory when the Application is created. This is typically the first request to a page/resource in the application. IIS (ASP.NET) monitors the web.config for changes and will restart your Application if a change is made. If your question is actually "will web.config settings automatically update when the file is changed?" The answer is YES HOWEVER your Application will be restarted