🚀 Pre-alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
This update significantly reduces the time required to start the frontend with Aspire, improving the startup time from approximately 10 seconds to less than 1 second, depending on the machine.
Until now, starting the Aspire AppHost required a full build of all frontend artifacts by the WebApp, resulting in slow startup times and a subpar developer experience. When developing, we use the RSPack devserver, so these frontend artifacts were not needed. The WebApp.esproj has been updated to only generate the API contract based on the OpenAPI Api.json generated by the API build.
The GitHub workflow has been updated to build the frontend bundles needed for production.
Checklist
[x] I have added a Label to the pull-request
[x] I have added tests, and done manual regression tests
[x] I have updated the documentation, if necessary
Summary & Motivation
This update significantly reduces the time required to start the frontend with Aspire, improving the startup time from approximately 10 seconds to less than 1 second, depending on the machine.
Until now, starting the Aspire AppHost required a full build of all frontend artifacts by the WebApp, resulting in slow startup times and a subpar developer experience. When developing, we use the RSPack devserver, so these frontend artifacts were not needed. The
WebApp.esproj
has been updated to only generate the API contract based on the OpenAPIApi.json
generated by the API build.The GitHub workflow has been updated to build the frontend bundles needed for production.
Checklist