Loading..
 

Find Website Url with Port Number in asp.net c#

In ASP.NET, Following will give server url with port number if associated,

HttpContext.Current.Request.ServerVariables["HTTP_HOST"]

Further asp.net articles, http://siddharthboraniait.wordpress.com

Siddharthborania.in



On, 27/07/2013, 27 July, 2013

Latest News

Martin Lewis drops Facebook legal action
Daily Mail demands browser warning U-turn
Xiaomi reveals fold-in-three smartphone
Chinese censor calls Tencent news app 'vulgar'
Social media stars agree to declare when they post ads
Has Fyre Festival burned influencers?
Rush to fix computers in England's courts
Meng Wanzhou: US to 'move ahead with Huawei executive extradition'
Huawei warns it may pull out of some countries
Tesla reverses charging prices hike