Rick Strahl's Web Log

Wind, waves, code and everything in between...
ASP.NET • C# • HTML5 • JavaScript • AngularJs
Contact   •   Articles   •   Products   •   Support   •   Search
Ad-free experience sponsored by:
ASPOSE - the market leader of .NET and Java APIs for file formats – natively work with DOCX, XLSX, PPT, PDF, images and more

WebLog Posts in Category IIS7

ASP.NET (236) .NET (120) JavaScript (71) jQuery (61) ASP.NET (60) Windows (50) AJAX (47) Visual Studio (44) CSharp (43) IIS (42) HTML (36) Localization (31) LINQ (30) Personal (30) WCF (28) MVC (25) HTML5 (23) ASP.NET Core (23) WPF (22) FoxPro (21) Web Services (19) Security (19) CSS (18) Web Api (16) COM (15) IIS7 (14) ADO.NET (13) C# (13) Angular (12) Vista (12) XML (10) HTTP (10) Sql Server (8) Microsoft AJAX (8) Web Connection (7) West Wind Ajax Toolkit (7) Entity Framework (6) C++ (5) Html Help Builder (5) ASPNET5 (5) Visual Studio (5) OWIN (5) SignalR (5) Silverlight (5) Live Writer (5) Mobile (4) NuGet (4) Source Control (4) Westwind.Globalization (4) .NET Core (4) IIS (4) .NET Core (4) ADO.NET (4) Angular (4) ISV (4) Cordova (4) Help Builder (3) Conferences (3) DataBinding (3) LetsEncrypt (3) IIS7 (3) Internet Explorer (3) Internet Explorer (3) Windows (3) WebLog (3) Software Development (3) Web Browser Control (3) Networking (3) Opinion (3) Razor (3) RegEx (2) RSS (2) Office (2) Speaking (2) Tools (2) WinForms (2) WinForms (2) WPF (2) .NET (2) ASP.NET vNext (2) ASP.NET Core (2) Installation (2) Help (2) Bugs (2) FireFox (1) Flexbox (1) Graphics (1) Hardware (1) Deployment (1) Dynamic Types (1) Control Development (1) Chocolatey (1) IOS (1) iPhone (1) JSON (1) Markdown (1) Markdown Monster (1) Maui (1) C# (1) FoxPro (1) HTML5 (1) .NET Standard (1) Linux (1) Localization (1) Markdown Monster (1) Migration (1) RazorPages (1) Security (1) Typescript (1) Azure (1) ASP.NET Markdown (1) Addins (1) wwHoverPanel (1) Windsurfing (1) Travel (1) Testing (1) Threading (1) Web Deployment Projects (1) Web Design (1) Visual Studio Code (1) Musings (1) Linux (1) SEO (1)

Configuring ASP.NET and IIS Request Length for POST Data

One of the most infuriating things about IIS configuration in general is how the Request length is configured in the IIS and ASP.NET. There are several places that control how much content you can send to the server and over the years this setting has changed in a number of ways. The places where it's configured is not super obvious and they can be fluid because some of these features are...

Mysteriously stubborn IIS 401.2 Errors

I ran into a nasty IIS issue yesterday that took me the better part of a day to get myself out of. It involved particularily stubborn Authentication requests from ASP.NET applications when there shouldn't have been any. It turns out the culprit was some corrupted config files - here's the why and how.

ASP.NET MVC HttpVerbs.Delete/Put Routes not firing

If you're using ASP.NET MVC to build API endpoints in your application you might have run into a problem where the PUT and DELETE HTTP operations don't work - you get a 404 instead. Turns out that the IIS default configuration doesn't include the verbs for a required handler. Here's what the problem is, and how to fix it if it hits you.

IIS SSL Certificate Renewal Pain

IIS SSL Certificate renewals always seem to be a pain. Rarely does it just go right and I never seem to remember whether I should renew, or just issue a new cert. The answer is the latter, but this post discusses some of the issues and how to avoid them when renewing or installing new SSL certificates.

Set-Cookie Headers getting stripped in ASP.NET HttpHandlers

Ran into a nasty problem with Cookies not getting sent in HttpHandler code when using Response.AppendHandler() with the Set-Cookie key. It turns out it's a very narrow edge case, but one that can bite in unexpected system level applications.

Caveats with the runAllManagedModulesForAllRequests in IIS 7/8

IIS 7 and 8 support using Managed Modules to handle access to all IIS request content which is very powerful. But sometimes you actually want to not handle non-ASP.NET content and it's not very obvious how to minimize access to non-ASP.NET requests in managed modules.

A tiny Utility to recycle an IIS Application Pool

Here's a small console app to recycle an Application Pool which seems to be something I've needed to do repeatedly in the past.

Physical Directories vs. MVC View Paths

Physical directories that map paths that are also mapped by ASP.NET MVC routes can cause some consternation, especially if you're not aware that there's pathing overlap between the two. This post is a story about an operator error episode of an accidental file move that took a while to trace down due physical path interference.

Built-in GZip/Deflate Compression on IIS 7.x

IIS 7.x makes content compression via GZip very easy. Here's how compression on IIS works and how you can set it up on your server in a few simple steps.

ASP.NET GZip Encoding Caveats

GZip and Deflate compression is easy to use in ASP.NET applications, but there are a few caveats that you need to watch out for. This post reviews the basics of implementing compression in ASP.NET code and describes a couple of scenarios that can cause problems when using programmatic compression via Response.Filter.

Error on 64 Bit Install of IIS – LoadLibraryEx failed on aspnet_filter.dll

Ran into a problem on my 64 bit machine with IIS trying to load 32 bit dlls. Turns out this is a misconfiguration that occurred from some additional installation that failed to set a specific bitness valuie and pointed to 32 bit install. Here's what happened and how it got fixed.

ASP.NET Routing not working on IIS 7.0

Got caught be a difference in behavior between IIS 7.0 and IIS 7.5 with how module management to extensionless URLs are fired in IIS. Routing was working fine on my dev machine, but not on my live server. Here's what you need to watch out for.

Microsoft Introduces WebMatrix

Microsoft recently released a preview of WebMatrix a tool geared towards hobby/non-developer types to build Web applications. This all in one environment is supposed to simplify Web development with having to be an expert. In this post I review some of the interesting features and how they stack up.

HttpModule and HttpHandler sections in IIS 7 web.config files

Moving between IIS 5/6 and IIS 7 often causes some web.config conflict between the system.web and system.webserver handler and module sections. IIS 7 expects its handlers and modules defined only in its configuration section - if you still have handlers in system.web a configuration error occurs. Here's a useful switch that lets you turn off validation of system.web handlers and modules so you can ship web.config files that contain both.
West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2018