reference:
https://www.codeproject.com/Articles/1117287/How-to-Use-React-with-Visual-Studio-and-ASP-NET-We
https://poznajprogramowanie.pl/course-asp-net-core-react-part-1/
https://blog.pusher.com/how-to-use-react-with-visual-studio-and-asp-net-web-api/
https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-2.1
axios
Using Axios has quite a few advantages over the native Fetch API:supports older browsers (Fetch needs a polyfill)
has a way to abort a request
has a way to set a response timeout
has built-in CSRF protection
supports upload progress
performs automatic JSON data transformation
works in Node.js
https://alligator.io/react/axios-react/
https://www.npmjs.com/package/axios
axios chain requests
https://github.com/axios/axios/issues/371troubleshoot
https://stackoverflow.com/questions/45852382/visual-studio-help-the-runcommand-property-is-not-defined
https://stackoverflow.com/questions/39680132/react-native-fetch-failing-to-setstate-when-error-is-thrown
cors
https://docs.microsoft.com/en-us/aspnet/core/security/cors?view=aspnetcore-2.1
No comments:
Post a Comment