提高大麻的重建速度

发布于 2025-01-29 18:56:39 字数 184 浏览 4 评论 0原文

在更改我的Blazor Server项目时,现在相当大的重建大约需要30秒。在某些情况下,这是生产力的障碍。据我所知,在我的情况下,热重新加载几乎完全没有用。

如果我将这个项目分解为较小的项目,那么假设我只会更改一个子项目之一,这会减少重建时间吗?

如果建议这样做,我该如何与共享服务等单个功能性的外界项目一起协调这些子项目?

When making changes to my Blazor server project, which is quite massive now, the rebuild takes approximately 30 seconds. In some cases, this is serving as an impediment to productivity. Hot reload is, so far as I can tell, almost completely useless in my case.

If I break this project into smaller ones, would this then reduce the rebuild times, assuming I only change one of the sub projects?

If this is advisable, how would I go about coordinating those sub-projects into a single functioning Blazor project, with shared services and so on?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

雪化雨蝶 2025-02-05 18:56:39

顺便说一下,答案非常简单。您可以构建剃须刀级图书馆项目。

我当前的过程是在主要项目中构建和编辑新组件,然后在我不想暂时不工作时将它们移至库。

The answer to this, by the way, is quite simple. You can build a Razor class library project.

My current process is to build and edit new components in the main project, then move them to the library when I won't want to work on them for a while.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文