C
C#11mo 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
mindhardt11mo ago
Also, why use .net 6 and not 8 that can create auth stuff for you?
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server