Skip to content

Blazor server app slow build time #10616

Open
@kuldipmis

Description

@kuldipmis

Hi,

As the title suggests we are working on a Blazor Server App with .net 8 and we are seeing quite slow build times. We are migrating a legacy application (.net framework 4.8) to Blazor and its expected that the project will hit close to (if not exceed) 5000 components (both routable and non-routable).

At the moment we are seeing local build times of around 1 minute 30 seconds with around 1200 components (Routable and non), I cannot make the code for this available as it contains company IP so I have prepared a sample application which can be found at Repo the average build time of this application is around 20 - 30 seconds. We have also prepared both bin and comp logs for the build process to help diagnose what the potential issue could be.

I also wanted to mention that we have a dependency on Telerik UI controls for Blazor, just by adding this package to the project (not using any of the controls) inflates the build time by an average of between 30% - 40%

Any insight into why the process is taking so long would be useful as the more we migrate into the Blazor re-write the slower its going to get.

As a side note hot reload is also an issue, it doesn't seem to be working for the new project

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions