DEV Community


Discussion on: Secure ASP.NET Blazor WASM apps and APIs with Azure AD B2C

nhwilly profile image
nhwilly • Edited

Very cool stuff. Thank you for doing this. I am having a problem setting up the API as it is complaining about

    .AddMicrosoftWebApi(options =>
Enter fullscreen mode Exit fullscreen mode

It can't find the AddMicrosoftWebApi method. I can't find any reference to it, either. Is there a new approach? I checked the github code and it hasn't changed.

I'm using: Assembly Microsoft.AspNetCore.Authentication, Version=

Thanks in advance.

Edit: I loaded the old code and it's there, so it must have disappeared in a subsequent release.

nhwilly profile image

I think I found it, but I don't know why it wasn't showing up earlier. I know I looked.

It's called AddMicrosoftIdentityWebApi now.