Thomas Marquardt's Blog

ASP.NET v4.0 Security Update and ISAPI Filters on IIS 6.0

A security patch for ASP.NET v4.0 was released recently. The details of the patch can be found at...

Author: Thomas L. Marquardt Date: 10/08/2010

How to Disable the ASP.NET v4.0 Extensionless URL feature on IIS 6.0

You can disable the v4.0 ASP.NET extensionless URL feature on IIS6 by setting a DWORD at...

Author: Thomas L. Marquardt Date: 06/18/2010

How Extensionless URLs Are Handled By ASP.NET v4

ASP.NET v4.0 has a new feature, when hosted on IIS 7, that enables the execution of extensionless...

Author: Thomas L. Marquardt Date: 05/26/2010

Performing Asynchronous Work, or Tasks, in ASP.NET Applications

In this post I hope to clear up some misconceptions about the use of threads in ASP.NET applications...

Author: Thomas L. Marquardt Date: 04/14/2010

How ASP.NET MVC Routing Works and its Impact on the Performance of Static Requests

Recently a number of people have asked how MVC and ASP.NET routing impacts the performance of static...

Author: Thomas L. Marquardt Date: 04/01/2010

Correct use of System.Web.HttpResponse.Redirect

Try very, very hard to avoid using Response.Redirect(url), instead, use Response.Redirect(url,...

Author: Thomas L. Marquardt Date: 06/25/2009

Obtaining more information from an HttpException

ASP.NET throws HttpException for numerous types of errors, making it difficult to determine exactly...

Author: Thomas L. Marquardt Date: 03/10/2009

Using IIS 7.0 Dynamic Compression with ASP.NET Output Cache

This post discusses an efficient way to compress content served by the ASP.NET output cache. In .NET...

Author: Thomas L. Marquardt Date: 08/27/2008

ASP.NET Cache can notify you before an entry is removed

.NET Framework v2.0 SP2, which will be included with .NET Framework v3.5 SP1, is scheduled to...

Author: Thomas L. Marquardt Date: 07/22/2008

If you allocate from the Large Object Heap each time an ASPX page is requested, your performance will be dismal.

I've been giving this advice for years internally, and the problem pops up way too often. I'm sure...

Author: Thomas L. Marquardt Date: 04/29/2008

ASP.NET File Change Notifications, exactly which files and directories are monitored?

Perhaps one of the most loved and hated features of ASP.NET is the ability to detect file changes...

Author: Thomas L. Marquardt Date: 11/01/2007

Things you didn't know (and perhaps don't want to know) about ASP.NET Session State

I've uploaded a brief summary on the extensibility of ASP.NET Session State (see link to...

Author: Thomas L. Marquardt Date: 10/10/2007

IIS 7.0, ASP.NET, pipelines, modules, handlers, and preconditions

1.0 What is the IIS Pipeline Conceptually, the IIS pipeline is a state machine with the following...

Author: Thomas L. Marquardt Date: 08/30/2007

IIS7 kernel-mode authentication

This appears to be undocumented. By default, IIS7 uses kernel-mode authentication, which happens to...

Author: Thomas L. Marquardt Date: 08/29/2007

An Ounce of Prevention: Using System.Threading.Timer in an ASP.NET Application

Using a timer in an ASP.NET application is not as simple as it seems. There are three problems that...

Author: Thomas L. Marquardt Date: 07/21/2007

ASP.NET Thread Usage on IIS 7.5, IIS 7.0, and IIS 6.0

I'd like to briefly explain how ASP.NET uses threads when hosted on IIS 7.5, IIS 7.0 and IIS 6.0, as...

Author: Thomas L. Marquardt Date: 07/20/2007

Some history on the ASP.NET cache memory limits

When v1.0 released, the only OS that ASP.NET supported was Win2k, the only process model was...

Author: Thomas L. Marquardt Date: 06/25/2007

Orcas Beta 1 Visual Studio F5 Debugging on IIS 7 / Windows Vista

In Visual Studio Orcas Beta 1, the AJAX ScriptModule is listed in the web.config template used for...

Author: Thomas L. Marquardt Date: 06/13/2007

The CLR Profiler

The ClrProfiler 1.0 Where can I get it?...

Author: Thomas L. Marquardt Date: 06/08/2007

Introduction

Good afternoon! My name is Thomas Marquardt. I am a developer at Microsoft on the ASP.NET team. I...

Author: Thomas L. Marquardt Date: 06/08/2007