© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
4 replies
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!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Setup of Mixed-Authentication WebApi
C#CC# / help
3mo ago
WebAPI authentication with Blazor WASM
C#CC# / help
8mo ago
❔ AspNetCore web MVC app - Authentication
C#CC# / help
3y ago