I'm developing an angular application with a webAPI 2 backend. I'm developing them entirely independently (in different repositories, different directories, etc. The angular project isn't a visual studio project at all. I'm using WebStorm for it).
Both the front and the backend are working great when debugging, but I can't figure out how to get the backend to work when deploying. I deployed it to <application>/api
and I put the angular application in <application>
.
However, whenever I go to <application.com>/api
, I get a 500 error. I also get a 500 whenever I call it from the angular app.
In IIS, I created a Website where the application lives. I clicked on the api folder and converted it to an Application. Is there anything else I need to be doing?