Last post Jun 17, 2019 06:18 PM by mgebhard
Jun 17, 2019 06:01 PM|Gorsey|LINK
Fairly new with ASP.NET Core and decided to use this to build an intranet site.
Obviously will be taking advantage of Windows Authentication in an Active Directory domain but how do I test this while on my development machine? If I start without debugging, this starts a local IIS express server on my laptop so will not show myself logged
The way I am testing at the moment is by publishing it to our IIS machine, and I literally have three seperate laptops set up with user accounts logged in to test different areas of the intranet based on their group memberships.
This seems cumbersome and I lose the ability to step by step debug using my development machine
I feel like I'm developing it incorrectly
Jun 17, 2019 06:18 PM|mgebhard|LINK
If I start without debugging, this starts a local IIS express server on my laptop so will not show myself logged in.
Did you enable Windows Authentication? Keep in mind, Core is multi-platform and Windows Authentication is not plus Windows Authentication is a IIS/Windows feature. The user credentials are passed along to the Core application.
Take a look at the reference docs and make sure the app is configured correctly.
If the issue is testing accounts then you'll need to log out and log in as a different users.