public static string GetHost(this IWebHost host, bool isHttps = false) { return(host.GetUri(isHttps).Host); }
public static string GetHost(this IWebHost host, bool isHttps = false) => host.GetUri(isHttps).Host;
public static string GetHost(this IWebHost host, bool isHttps = false) { return(host.GetUri(isHttps).Host); }
public static string GetHost(this IWebHost host, bool isHttps = false) => host.GetUri(isHttps).Host;