The docs point to the "legacy" way of doing things with the old Spa.Extensions library.
We revamped the way this works in 6.0 to leverage the same architecture followed by frontend frameworks to integrate with backends. The docs for angular and react should reflect that and cover the common use cases.
There is content here with details on how this works.
We should cover the following:
- How it works in development. (Frontend Dev Proxy proxies requests to ASP.NET Core)
- How it works in production. (Apps are just static files sitting in your wwwroot folder).
The important files on the ClientApp:
Development modes:
- Launch frontend and backend simultaneously by launching the backend (as you are used to)
- Launch frontend and backend separately (by launching the frontend manually with npm run start) and avoid having to start the frontend server every time.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The docs point to the "legacy" way of doing things with the old Spa.Extensions library.
We revamped the way this works in 6.0 to leverage the same architecture followed by frontend frameworks to integrate with backends. The docs for angular and react should reflect that and cover the common use cases.
There is content here with details on how this works.
We should cover the following:
The important files on the ClientApp:
Development modes:
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.