Let's say that I am in an action RetrieveByID like this on localhost, with a virtual dir MyWebApp :
When I will deploy to my host it will be
If from this action I want to retrieve the bolded strings
( http://localhost/MyWebApp/ or http://www.DoNotKnow.ABC/ )
that are the "root" of my site , how could I do ?
(Let's say I want to make a link in an email : You just visited product ... .For more details, visit our site ???ROOT??? )
(putting in web.config a constant is a solution that I do not like very much)
View Complete Post