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

3D-printed gun pioneer in jail on sex assault charge
Code-cracking WW2 Bombe operation recreated at Bletchley
Women harassed after seeking sperm donors online
Facebook stops sending staff to help political campaigns
Tech Tent: Do the police have your biometric digits?
Amazon makes Alexa-controlled microwave
China blocks Twitch game-streaming service
Instagram's IGTV recommended 'abusive' videos
Internet regulator considered for UK
GoPro Hero 7 camera films smooth videos without gimbal