How to debug UrlRewriter.NET?

Posted by vfilby on Stack Overflow See other posts from Stack Overflow or by vfilby
Published on 2010-03-12T16:50:30Z Indexed on 2010/03/12 16:57 UTC
Read the original article Hit count: 539

I have looked at their help page it seems like I can register a debug logger that outputs information to the 'standard ASP.NET debug window'. My problem is I don't know what that means, if it means the debug output window in Visual Studio (where you see build output, debug output and more) I am not seeing any UrlRewriter debug output.

The rules are working (mostly) I just want to get more debug output to fix issues.

I added the register call to the rewriter section like this:

<rewriter>
    <register logger="Intelligencia.UrlRewriter.Logging.DebugLogger, Intelligencia.UrlRewriter" />
    ....
</rewriter>

I am hosting this website locally in IIS on Vista, to debug it I attach the debugger to the w3wp process.

Other selected parts from the web.config"

<compilation debug="true">
    <assemblies>
        ...
    </assemblies>
</compilation>
<trace enabled="true"/>

Where should I see the debug output from UrlRewriter.NET? If it is in the Visual Studio debug output window, any ideas why I am not seeing it there?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about url-rewriting