Hi
I am changing my web app from mvc to core, and I am changing from razor to angular.
I have started building and would prefer to put my API in a seperate project to the angular, whats the best way to achive this, would it be in a better having two solutions and running them both at the same time?
Also when the API is made public over the internet how do i protect it from unauthorised websites or requests accessing it, I know how to authorise users i will be using identity when people need to be logged in, but how do i make sure it is along accessed by the websites i want, is that at server level or something i need to code in?
Any suggestions would be appriciated.