XBAP 启动性能改进

发布于 2024-09-29 15:45:00 字数 263 浏览 0 评论 0原文

我有一个 XBAP 应用程序,大小约为 1.3MB。我试图将应用程序的大小减小到尽可能小,但除其他外,还依赖于 WPF Toolkit,因此受到限制。

目前,我在以下方面遇到启动缓慢的情况:

  • 初始下载(可能是 应用程序大小)
  • 第二个应用程序运行,在应用程序启动之前需要一段时间来检查版本
  • 应用程序启动(加载数据和应用程序大小) 渲染)

我可以采取哪些措施来为我的 XBAP 应用程序获得更好的启动性能?

I have an XBAP application which is approximately 1.3MB in size. I have tried to get the size of the application down to as small as possible but have dependencies on the WPF Toolkit amongst other things and am limited there.

Currently I am experiencing slow start ups in the following areas:

  • Initial Download (probably
    application size)
  • Second Application run, takes a while to check version before application starts
  • Application startup (Loading data &
    rendering)

What things can I do to get better startup performance for my XBAP application?

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

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

发布评论

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

评论(1

在梵高的星空下 2024-10-06 15:45:01

最后,我通过修改以下方面设法缩短了启动时间:

  • 应用程序启动后异步数据加载。
  • 将较大的 DLL 拆分为单独的下载组,然后在应用程序启动后异步下载它们。

对于对第二点感兴趣的其他人,您可以在 单击一次下载组

In the end I managed to improve startup times by modifying the following areas:

  • Asynchronous data loading after application startup.
  • Splitting the larger DLLs into separate download groups and then downloading them asynchronously after application startup.

For anyone else interested in the second point you can read this overview on click-once download groups .

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