多种 .NET 技术和模式如何协同工作?

发布于 2024-10-06 14:33:10 字数 447 浏览 8 评论 0原文

我主要是一名数据库开发人员,但为了提高我的个人技能并开发 Windows 应用程序,我正在尝试学习 .NET 中的新知识。几年前,我用 C# 2.0 开发了一个 POS。我记得在模式或现有代码库方面唯一使用的是 Microsoft 提供的数据库。

我现在正在尝试编写一个基于规则的引擎,它为业务用户提供良好的 UI,并且在处理规则时性能非常好。我决定使用的东西之一是 WPF。

该选择来自于在多个地方阅读到这是下一步,并且它似乎为创建 Visio 之类的图表提供了很多选项。

我感到困惑的是这些其他技术、设计模式和最佳实践:

  • MVVM
  • EF
  • WCF
  • WF
  • 还有更多。

    我正在寻找一篇文章或其他内容来解释这些东西如何协同工作以及什么是最好的组合以及为什么?

谢谢,

I have mostly been a Database developer but to enhance my personal skills and to develop a windows application I am trying to learn the new things in .NET. A few years back I devloped a POS in C# 2.0. The only thing that I recall using in terms of a pattern or existing code library was the Data Library provided by Microsoft.

I am trying now to write a rule-based engine that has a good UI for the business user and performs very well, when processing the rules. One of the things I have decided to use is WPF.

The choice comes from reading at multiple places that it is the next step, and it seems to give a lot of options in creating Visio like diagarms.

Where I confused at is with these other technologies, design patterns and best practices:

  • MVVM
  • EF
  • WCF
  • WF
  • and there are a few more.

    I am trying to look for a article or something that explains how these things work together and what is the best combination to use and why?

Thanks,

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

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

发布评论

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

评论(1

酷遇一生 2024-10-13 14:33:10

由于没有太多信息可供使用,我建议您查看一些 Microsoft 模式和方法。实践 (p&p) 指南版本可以帮助您很好地设计解决方案并遵循 Microsoft 的最佳实践。

我推荐的书籍包括:

Microsoft 应用程序架构指南(第二版)
-- 这将帮助您了解应用程序的基本架构和设计。关于服务开发(第 9 章)和工作流程(第 14 章)的部分至少应该为您提供入门的基础知识,并且还为您提供进一步研究或附加信息的一些后续步骤。还提到了一些数据访问技术,并简要介绍了 EF,但您最好咨询 MSDN 上的数据开发人员中心,了解有关 EF 的详细信息。

Microsoft Prism 开发人员指南(2010 年 11 月)
-- 这将帮助您构建 WPF 应用程序,使其松散耦合,并且还提供有关 MVVM 的信息和指导(第 5 章和第 6 章),

我认为这两个资源将为您提供如何最好地使用各种资源的良好开端。框架和技术结合在一起。

希望这能给您一个良好的开始。如果还有更多问题请告诉我,我会相应更新我的答案。

Without a lot of information to work with, I'd suggest you check out a few Microsoft patterns & practices (p&p) guidance releases that could help you design your solution well and also follow Microsoft's best practices.

The titles I'd recommend include:

Microsoft Application Architecture Guide (2nd Edition)
-- This will help you with the basic architecture and design of your application. The sections on service development (chapter 9) and workflow (chapter 14) should at least provide you with the basics to start with, and also provide you with some next steps on further research or additional information. There's also some mention of data access technologies, and briefly touches on EF, but you may be better off just consulting the data developer center on MSDN for specifics about EF.

Developer's Guide to Microsoft Prism (Nov 2010)
-- This will help you out with architecting your WPF app so that it's loosely coupled, and also provides information and guidance on MVVM (chapters 5 and 6)

I think these two resources will give you a good start on how to best use the various frameworks and technologies together.

Hopefully this gives you a good start. Let me know if there are more questions and I'll update my answer accordingly.

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