✅ HttpRequestException: Failed to proxy the request to http://localhost:4200/ Asp.Net Core Angular



✅ HttpRequestException: Failed to proxy the request to http://localhost:4200/ Asp.Net Core Angular

✅ HttpRequestException: Failed to proxy the request to http://localhost:4200/ Asp.Net Core Angular

solved: https://codedocu.com/Software/Angular/Angular-Error/Error_colon_-An-unhandled-exception-occurred-while-processing-the-request_dot_-HttpRequestException_colon_-Failed-to-proxy?2809

insert the lines in the startup.cs
spa.UseAngularCliServer(npmscript: “start”);
spa.UseProxyToSpaDevelopmentServer(“http://localhost:4200”);

📝 Please SUBSCRIBE the channel and COMMENT, before asking for help.

Fullstack C# Angular React Typescript

Comments are closed.