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

MiSafes' child-tracking smartwatches are 'easy to hack'
Apple Stores to employ human trafficking victims
Call of Duty 'swatting' death prankster pleads guilty
Google accused of 'trust demolition' over health app
US asks London court to hand over two alleged hackers
IMF's Lagarde says central banks could issue digital money
'Ugly' mistake sends Google data to China
BBC newsreader 'speaks' languages he can’t
Detective Pikachu: 'Gross' furry Pokemon divides fans
Hitman 2: Sean Bean on being killed in video game