How to retrieve exact url in a asp.net web application which uses the UIP application block?

238 Views Asked by At

The incoming URL in this application has some URL parms but when I put a breakpoint on the base page, all I see is the internally UIP mapped URL which loses the parm information.

So, for UIP based applications what is the method to retrieve the original URL?

I tried Request.Url.AbsoluteUri but it just gives the ../index.aspx url instead of the non-templated url which is incoming.

1

There are 1 best solutions below

0
HatSoft On

Please try using the property Request.Url.OriginalString;

The property gets the original URI string that was passed to the Uri constructor.