Get Root URL MVC - C#

Get Root URL MVC - C#

code snippet

c#
private string getBaseURL()
{
     return string.Format("{0}://{1}{2}", Request.Url.Scheme, Request.Url.Authority, Url.Content("~"));
}

"Thinking: the talking of the soul with itself"

Contact me!

Have questions? Feel free to use the form or send me an email with any questions.

I will be responsive to your requests and your questions.