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

Kim Dotcom sues New Zealand government for damages
Alstom testing automated freight train in the Netherlands
Apple's Tim Cook keeps nephew off social media
Overwatch pro player suspended over homophobic slur
Boing Boing blog sued over Playboy centrefolds link
HQ Trivia app launches UK version
L'Oreal hijab model pulls out of campaign after backlash
Only one in four trust social media, says survey
Amazon's checkout-free store opens
Net firms 'better' at removing hate speech, says EU