Sign In
Thomas Marquardt's Blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Extensionless URLs
Archive
Archives
October 2010
(1)
June 2010
(1)
May 2010
(1)
April 2010
(2)
June 2009
(1)
March 2009
(1)
August 2008
(1)
July 2008
(1)
April 2008
(1)
November 2007
(1)
October 2007
(2)
August 2007
(2)
July 2007
(2)
June 2007
(4)
MSDN Blogs
>
Thomas Marquardt's Blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Thomas Marquardt's Blog
ASP.NET v4.0 Security Update and ISAPI Filters on IIS 6.0
Posted
over 2 years ago
by
Thomas123456
4
Comments
A security patch for ASP.NET v4.0 was released recently. The details of the patch can be found at http://www.microsoft.com/technet/security/bulletin/ms10-070.mspx . I really only have one thing to say in this blog post: If you use an ISAPI Rewrite...
Thomas Marquardt's Blog
How to Disable the ASP.NET v4.0 Extensionless URL feature on IIS 6.0
Posted
over 2 years ago
by
Thomas123456
17
Comments
You can disable the v4.0 ASP.NET extensionless URL feature on IIS6 by setting a DWORD at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\EnableExtensionlessUrls = 0. After changing the value, you will need to restart IIS in order for us to pick...
Thomas Marquardt's Blog
How Extensionless URLs Are Handled By ASP.NET v4
Posted
over 2 years ago
by
Thomas123456
2
Comments
ASP.NET v4.0 has a new feature, when hosted on IIS 7, that enables the execution of extensionless URLs. This feature has a dependency on a QFE from IIS that enables extensionless handler mappings. See KB 980368 for more information and a link to download...
Thomas Marquardt's Blog
Performing Asynchronous Work, or Tasks, in ASP.NET Applications
Posted
over 2 years ago
by
Thomas123456
19
Comments
In this post I hope to clear up some misconceptions about the use of threads in ASP.NET applications so that you know the best way to perform asynchronous work in your ASP.NET applications. If you’re in a hurry and don’t want to read the rest...
Thomas Marquardt's Blog
How ASP.NET MVC Routing Works and its Impact on the Performance of Static Requests
Posted
over 2 years ago
by
Thomas123456
15
Comments
Recently a number of people have asked how MVC and ASP.NET routing impacts the performance of static requests (HTML, JPG, GIF, CSS, JS, etc). I'll answer that question below while explaining how routing is implemented in the ASP.NET pipeline on IIS 6...
Thomas Marquardt's Blog
Correct use of System.Web.HttpResponse.Redirect
Posted
over 3 years ago
by
Thomas123456
1
Comments
Try very, very hard to avoid using Response.Redirect(url), instead, use Response.Redirect(url, false ). Response.Redirect(url), after writing a 302 redirect response to the response buffers, calls Response.End. This is very expensive. The alternative...
Thomas Marquardt's Blog
Obtaining more information from an HttpException
Posted
over 3 years ago
by
Thomas123456
1
Comments
ASP.NET throws HttpException for numerous types of errors, making it difficult to determine exactly what went wrong programmatically. You can parse the error message, but the message can be localized, and therefore parsing it can be non-trivial. There...
Thomas Marquardt's Blog
Using IIS 7.0 Dynamic Compression with ASP.NET Output Cache
Posted
over 4 years ago
by
Thomas123456
5
Comments
This post discusses an efficient way to compress content served by the ASP.NET output cache. In .NET Framework v2.0 SP1, included with Windows Server 2008, the ASP.NET Output Cache includes a new feature that allows cached responses to vary by the response...
Thomas Marquardt's Blog
ASP.NET Cache can notify you before an entry is removed
Posted
over 4 years ago
by
Thomas123456
2
Comments
.NET Framework v2.0 SP2, which will be included with .NET Framework v3.5 SP1, is scheduled to release this summer. This release contains a long awaited ASP.NET Cache feature, which will notify you when an entry becomes invalid and leave the stale entry...
Thomas Marquardt's Blog
If you allocate from the Large Object Heap each time an ASPX page is requested, your performance will be dismal.
Posted
over 4 years ago
by
Thomas123456
0
Comments
I've been giving this advice for years internally, and the problem pops up way too often. I'm sure it will be addressed eventually, in a future version of the CLR, but for now, every released version of the CLR has this problem. If you allocate objects...
Thomas Marquardt's Blog
ASP.NET File Change Notifications, exactly which files and directories are monitored?
Posted
over 5 years ago
by
Thomas123456
6
Comments
Perhaps one of the most loved and hated features of ASP.NET is the ability to detect file changes and automatically recompile or reconfigure the application. In development scenarios it’s very nice because you can access the application in a browser...
Thomas Marquardt's Blog
Things you didn't know (and perhaps don't want to know) about ASP.NET Session State
Posted
over 5 years ago
by
Thomas123456
1
Comments
I've uploaded a brief summary on the extensibility of ASP.NET Session State (see link to AspNetSessionState.pdf below). Many people aren't aware of how easy it is to implement a custom session state provider. Having your very own disk based (file based...
Thomas Marquardt's Blog
Server.TransferRequest hangs or takes a long time to execute
Posted
over 5 years ago
by
Thomas123456
3
Comments
Server.TransferRequest is a new API in the IIS 7.0 release of ASP.NET. It is essentially a server-side redirect. When invoked, a new request context is created, called the child request, and it goes through the entire IIS 7.0/ASP.NET integrated pipeline...
Thomas Marquardt's Blog
IIS 7.0, ASP.NET, pipelines, modules, handlers, and preconditions
Posted
over 5 years ago
by
Thomas123456
4
Comments
1.0 What is the IIS Pipeline Conceptually, the IIS pipeline is a state machine with the following states: BEGIN_REQUEST AUTHENTICATE_REQUEST AUTHORIZE_REQUEST RESOLVE_REQUEST_CACHE MAP_REQUEST_HANDLER ACQUIRE_REQUEST_STATE PRE_EXECUTE_REQUEST_HANDLER...
Thomas Marquardt's Blog
IIS7 kernel-mode authentication
Posted
over 5 years ago
by
Thomas123456
0
Comments
This appears to be undocumented. By default, IIS7 uses kernel-mode authentication, which happens to have a large performance benefit. There is a bug in kernel-mode authentication where requests that send credentials will fail unless an anonymous request...
Thomas Marquardt's Blog
An Ounce of Prevention: Using System.Threading.Timer in an ASP.NET Application
Posted
over 5 years ago
by
Thomas123456
2
Comments
Using a timer in an ASP.NET application is not as simple as it seems. There are three problems that commonly occur: ASP.NET applications shutdown for a number of reasons, and if the timer is not disposed before the AppDomain is unloaded, the timer...
Thomas Marquardt's Blog
ASP.NET Thread Usage on IIS 7.5, IIS 7.0, and IIS 6.0
Posted
over 5 years ago
by
Thomas123456
57
Comments
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 well as the configuration changes that you can make to alter the defaults. Please take a quick look at the “Threading Explained” section in...
Thomas Marquardt's Blog
Some history on the ASP.NET cache memory limits
Posted
over 5 years ago
by
Thomas123456
15
Comments
When v1.0 released, the only OS that ASP.NET supported was Win2k, the only process model was aspnet_wp, and the only architecture we supported was x86. The aspnet_wp process model had a memory limit that was calculated at runtime during startup. The limit...
Thomas Marquardt's Blog
Orcas Beta 1 Visual Studio F5 Debugging on IIS 7 / Windows Vista
Posted
over 5 years ago
by
Thomas123456
0
Comments
In Visual Studio Orcas Beta 1, the AJAX ScriptModule is listed in the web.config template used for version 3.5 web projects. There is a known bug (DevDivBugs 78367) that prevents Visual Studio F5 debugging from working on IIS7 / Windows Vista when a module...
Thomas Marquardt's Blog
The CLR Profiler
Posted
over 5 years ago
by
Thomas123456
2
Comments
The ClrProfiler 1.0 Where can I get it? http://www.microsoft.com/downloads/details.aspx?FamilyId=A362781C-3870-43BE-8926-862B40AA0CD0&displaylang=en 2.0 Should I use it? When running performance tests, if the CPU is maximized...
Thomas Marquardt's Blog
Introduction
Posted
over 5 years ago
by
Thomas123456
0
Comments
Good afternoon! My name is Thomas Marquardt. I am a developer at Microsoft on the ASP.NET team. I implemented/designed the ASP.NET/IIS7 integrated pipeline. I own the core of ASP.NET, the pipeline, the hosting interfaces, and application services including...
Page 1 of 1 (21 items)