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

Huawei Honor View20 and Samsung A8s have hole-punch cameras
Apple denies iPhone import ban in China
Elon Musk has 'no respect' for US regulator
Facebook's hidden battle against ad-blockers
China's new games censors take tough stance
Fortnite: Gamer charged with assault during live stream
Twitter CEO Jack Dorsey criticised for 'tone deaf' Myanmar tweets
YouTube Rewind 2018 becomes site's second-most disliked video
Bionic 3D-printed arm 'gives confidence' to young amputees
NHS told to ditch 'absurd' fax machines