forum

Home / DeveloperSection / Forums / How to get Domain name

How to get Domain name

Anonymous User210804-Oct-2014
i want to get domain name in asp.net
i'm using this code

string DomainName = HttpContext.Current.Request.Url.Host;

my url is http://localhost:55589/ but it is return only localhost

now i'm want to get http://localhost:55589/ how to possible



Updated on 04-Oct-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By