hi,
at Core 1.1, I can use app.UseWhen for different area using different authentication.
like this sample code:
https://weblogs.asp.net/imranbaloch/conditional-middleware-in-aspnet-core
But upgrade to Core 2.0, authentication moved to services.AddAuthentication,
how can I do the same things??
Thank you.