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

ASp.net Core wepapi with reactjs in one solution

$
0
0

I have reactjs and core 2.0 webapi projects in one solution but in different projects(react web app and service). I have created on API in service project and added its reference in react webapp project. Then I called this API in react webapp and it was working but next day when I tried again its not working. The issue is when I make service project as set as startup project and run API is returning json but when I make react web app project as set as startup project then api is showing 404 not found error. I dont know why its working one day and then stopped working next day. Please let me know how can I work on react app in VS 2017 with core api in same solution.  


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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