In ASP.NET Core how check if request is local

106

In ASP.NET Core how check if request is local -

if (Request.Host.Host == "localhost") 
{
  // do something 
}

Comments

Submit
0 Comments