将正在进行的业务应用程序从 Silverlight 转换为 WPF

发布于 2025-01-07 09:03:57 字数 316 浏览 2 评论 0原文

大约 2 年前,我问了一个问题,将应用程序从 WPF 转换为 Silverlight 有多容易。结果几天都做不了。

现在我们正在考虑朝相反的方向前进。我们有一个如下所示的应用程序:

Set up

因此,在转换时,服务器将保持不变。我们不知道需要什么时间进行更改。我们认为我们需要重做所有视图,但除此之外,我们不确定需要进行哪些修改。

以前有人做过类似的事情吗?你是怎么做到的?有什么陷阱?你是如何计划的?

任何建议/提示/指导都会很棒。

Almost 2 years ago, I asked a question how easy it would be to convert an application from WPF to Silverlight. The result was that I couldn't do it in a few days.

Now we are considering moving in the opposite direction. We have an application that looks like this:

Set up

So when converting, the server would just stay the same. We don't have any idea what time it would need to make the changes. We figure that we need to redo all Views, but besides that, we don't know for sure what modifications are needed.

Has someone did something similar before? How did you do it? What were pitfalls? And how did you plan it?

Any advice/tips/guidance would be great.

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

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

发布评论

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

评论(1

软糖 2025-01-14 09:03:57

可能会造成麻烦的一件事是,如果您使用 silverlight 中的异步 Web 服务调用,则必须将它们转换为 WPF,因为在 .Net 4.5 之前,异步 Web 调用还没有得到很好的支持。 (寻找关于这一事实的参考,如果有人有那就太好了)

WPF还提供了一些更简单的方法来完成一些围绕绑定和数据模板的任务,这些任务可能需要探索并可能改变一些设计

One thing that may put a wrench in things is if you're using the async web service calls that are in silverlight you'll have to translate them in WPF because until .Net 4.5 async web calls aren't well supported. (looking for a reference on that fact, if someone has that'd be excellent)

also WPF offers some easier ways to do some of the tasks around binding and data templates which may wish to be explored and may change some of the design

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