hello everybody,
i am puzzled by what i am currently facing with regards to calling webAPI that is integrated with razor pages. here is my setup basically i am using razor pages with angularjs on the client then added an API controller while on development stage i can call the API without any issue and it is primed for deployment but before that i published it to a test server with IIS everything is working except for the API and when i tried calling the API through angularjs it returns 404 that is where i am puzzled. Now my question is is there a special configuration for the API like the routing? and how come when it's on development stage i could perfectly call it but upon deployment it always says 404?
Thanks in advance