Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

A few API questions

$
0
0

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.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>