.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

How to get the url

Posted By:      Posted Date: September 30, 2010    Points: 0   Category :SharePoint


I have 2 sites,



Now in abc.com, I want to refer to abc.com:8080, but I don't want to hard code it as abc.com might change eventually to say http://abcd.com and the 8080 will change to http://abcd.com:8080

I know say for example if I want to refer a page http://abc.com/test/page.aspx, I can do /test/page.aspx How can I do something similar if I want to refer to the abc.com:8080 port's page from abc.com

Thanks in advance.

View Complete Post

More Related Resource Links

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend