I have an ASP.NET Core application that operates on a SQL database using Entity Framework Core. However, instead of the application pool user I would like to log in to SQL as the user sending the http request (currently using Windows Authentication through IIS). Is this supported by Entity Framework?
services.AddDbContext<Data.MyDbContext>(o =>
o.UseSqlServer(Configuration.GetConnectionString("MyConnectionString")));
My connection string is "Server=MYSERVER;Database=MyDatabase;Trusted_Connection=True;"