C
C#5mo ago
lowendrumble

Cannot resolve AddAuthentication()

I'm setting up a Minimal API in C# with .NET 6.0 but cannot seem to be able to use the AddAuthentication() method when configuring my services. Is there some package I've forgotten to install maybe?
3 Replies
blueberriesiftheywerecats
try Microsoft.Extensions.DependencyInjection
mindhardt
mindhardt5mo ago
Also, why use .net 6 and not 8 that can create auth stuff for you?
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View