How do I get the dynamic port at run time used by visual studio? e.g, http://localhost:1807

Posted by Velika on Stack Overflow See other posts from Stack Overflow or by Velika
Published on 2010-03-07T21:04:10Z Indexed on 2010/03/08 5:06 UTC
Read the original article Hit count: 348

Filed under:

I am using Google Checkout and I could like to create an absolute URL for returning to our web site to edit he cart and I would like the code to work in debug mode as well as production mode.

Req.EditCartUrl = "http://localhost:1807/WebSite/calculator.aspx"

© Stack Overflow or respective owner

Related posts about ASP.NET