-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request for Angular Alternative #710
Comments
I agree that decoupling FE and BE is good idea... Currently app is serverd as static from API project which has also advantages with CORS etc... Decoupling can be done by moving Angular from API to custom FE folder and create custom registration for serving static files... ( UseAngularFre(...), UseReactFe(..)... ) What you will lost, is ability to start frontend with backend... Or if you require to keep behaviour, than you need to handle some paths how to strat FE with Backend... |
If we are serving static files , can we build our FE to a folder and serve that folder?. If we can , can we do it while development too? |
Ofcourse you can.. dotnet has some templeates for react: 'dotnet new react' or something similar.. snd you can integrate clean architecture to that templeate.. |
Thanks for the suggestion. I am considering adding options for Web API only, Angular (existing), and React (new). I need to try it out first, I might not have the capacity to maintain so many options. |
@jasontaylordev I'm converting it to an Web API (only) right now. I would appreciate that feature. I'm working with React Native clients. It is proving to be somewhat of a challenge to get a Web API (only) published into Azure using this template. |
In my case, I chose a different FE (Svelte) and replaced Microsoft.AspNetCore.SpaProxy with AspNetCore.SpaYarp. Lets me decide whether to serve the FE as a part of API or as a separate launch with minimal changes/config. |
Hello @Van-Dame, |
I've added support for React in #872 |
Support for API only covered by #786 |
I would like to have an option to choose between major SPA's like React, Vue etc.
The text was updated successfully, but these errors were encountered: