ASP.NET CORE 1.0, Impersonation
问题 I'm writing an Intranet application. Target framework in project.json is dnx451. That's my publishing command: dnu publish --runtime dnx-clr-win-x86.1.0.0-rc1-update1 --no-source Database Connection string: Server=name;Database=name;Trusted_Connection=True; I'm trying to impersonate the database access but it's not working. When I start the application my windows user is recognized and it says Hello, Domain\Username on top right. As soon as I try to access the database I get the error "Login