I'm looking to switch this local environment to use Windows Authentication in order to facilitate the usage of the following logic inside of the code.
User.IsInRole("BRV_Projects_Edit");
I'm launching dotnet core locally in a windows environment using the command
"dotnet run"
My understanding is this will launch the Main() entry point
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
}
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>().UseIIS();
}
Does the UseIIS() indicate that this will launch IISExpress locally? Does this mean I should be able to locate a web.config to change the authentication scheme?