Daniel Vasquez Lopez's Blog Posts

How to escape {curly brackets} in URL Rewrite rule

There is no escaping character in an URL Rewrite expression, but here is how you include curly bracket within an URL Rewrite expression. For opening { curly bracket you will always require to use the UrlDecode function to generate the { character from...

URL Rewrite 2.0 Performance

Do performance work it is easy when you have the right tools for measuring gains or lost. I will share some thoughts about how to improve performance during rewriting, but please keep in mind that any change you do must be well thought and with performance...

Registry values for IIS URL Rewrite

The following registry values can be set for the IIS URL Rewrite module and will affect the global behavior of the module; use them at your own risk :) All these values (DWORD) can be set under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp...

Faster proxy detection for HttpWebRequest

Do a web request using System.Net classes, HttpWebRequest or WebClient. For example: new   WebClient().DownloadFile( "http://tinyurl.com/d5yy8a" , @"C:\Temp\file.xml" ) ; Or: HttpWebRequest.Create( "http://tinyurl.com/d5yy8a"...

How to consume ETW events from C#

Technorati Tags: ETW , OpenTrace , ProcessTrace , CloseTrace , TDH , TdhGetEventInformation , Rewrite , IIS In my previous post I explained how to collect ETW events from URL Rewrite (or any other IIS provider) and then display those structured events...

How to display URL Rewrite ETW Events in the Event Viewer

IIS Failed Request Tracing is a powerful way to troubleshoot Web Requests, it provides an easy way to track each execution step for one specific request. URL Rewrite Module provides several events that can be tracked using Failed Request Tracing, here...

Write your own UI Rewrite Template Extension!

The GoLive release of URL Rewrite Module is now available and has a lot of improvement thanks to the IIS Community feedback (and tons of internal brainstorm meetings!). A new feature is the ability to create Rewrite Rules by using Rewrite Templates, Rewrite...

URL Rewrite for IIS 7.0 / Regular Expressions and Wildcards

Last week we shipped the first preview of URL Rewrite Module for IIS 7.0. If you are not familiar with URL Rewriting engines, please check out the walkthroughs: http://learn.iis.net/page.aspx/460/using-url-rewrite-module/ . If you are you familiar with...