C#C
C#3y ago
bwca

Need authentication from MVC to WebAPI

Hi all,
Can someone point me in the right direction here. I want to do something simple. I want to spin up a new .netcore8 solution. I'm going to have 2 stand-alone projects. A MVC and a WebAPI project. When deployed, both of these will be running in their own IIS instances.

I need to authorize the MVC app to talk to the WebAPI app. No identity server. No 3rd party stuff. (eg no Okta/AD or anything else)

This is going to be super simple, and a POC. I'm going to store the creds in each appSettings file.

Can someone point me in the right direction on either:
a)A sample solution template
or
b)Which nuget packages do I need to install/explore?

All my google searches are way to complicated for what I want to do.

Thanks!
Was this page helpful?