I have created a new Project, selected ASP.NET Core Web Application (.NET Core), then selected Web Application, Individual User Accounts.
All is good and the project works perfectly, but I want to add WebAPI functionality to this project, so that http://website.com/Home is MVC, and http://website.com/api/whatever is my api, I would like them both to use the same authentication database (so you can register on the MVC site and authenticate to the API).
I do not want to add a second project to the solution if I can avoid it.
Someone posted how to add WebAPI 4 to an existing MVC project but those instructions failed at step 1, add x to the Global.asax, which doesn't exist for an ASP.Net Core MVC Project.
Please help.