application_authenticaterequest does not fire when using Page.GetRouteUrl

Posted by msoumare on Stack Overflow See other posts from Stack Overflow or by msoumare
Published on 2012-11-30T19:39:49Z Indexed on 2012/12/02 17:05 UTC
Read the original article Hit count: 126

Filed under:

I'm converting some URLs from a web application using ASP.NET 4.0 friendly SEO Urls:

From <a href="profile.aspx" ></a>

To <a href="<%= Page.GetRouteUrl("Profile", null) %>" ></a>

The problem is before conversion when I try to hit profile.aspx it would fire the application_authenticaterequest but after conversion when I try to hit Page.GetRouteUrl it would not fire the application_authenticaterequest.

Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET