Click here to Skip to main content
15,891,607 members
Articles / Web Development / ASP.NET / ASP.NET Core

Getting host information from current the URL in ASP.NET Core 3.1

31 Jan 2020CPOL1 min read 17.4K   1  
This tip will tell, how one can get the host information of web app having situational based URLs without hardcoding
This is an old version of the currently published tip/trick.

Only logged in members can view this content

Please go to the ASP.NET Table of Contents to view the list of available articles in this section.