是否有一个广泛使用的模式和模式库? .NET 3.5 的接口?
我想避免编写我自己版本的 IFactory、ILog、IRepository 和其他常见接口 & 我在项目中进行了一些实现,但发现包含这些的常用库往往集中于特定的具体子系统(一个 ORM、一个 IoC 容器、一个记录器)。 我遇到过一些看起来更抽象的(NCommon 有三个存储库实现),但我想知道是否有您可以添加或推荐的?
谢谢!
詹姆斯
PS - 我原来的问题有点太笼统了,但我非常感谢您的回答和建议,并将全部检查。
I'd like to avoid coding my own version of IFactory, ILog, IRepository and other common interfaces & implementations in my projects but find that commonly used libraries containing these tend to be focused on a particular concrete subsystem (one ORM, one IoC container, one logger). I've come across a some that seem more abstract (NCommon has three repository implementations) but I was wondering if there are any you could add or recommend?
Thanks!
James
PS - My original question was a bit too general, but I greatly appreciate your answers and recommendations and will check them all out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
城堡项目
Sprint.NET
其他...
Castle Project
Sprint.NET
Others...
查看数据和页面中的设计模式框架。 对象工厂。 他们有大量模式的实现。 当然还有企业库。
Check out the Design Pattern Framework at the data & object factory. They have implementations of tons of patterns. And of course there is Enterprise Library.
在我看来,最好的 .NET 开源库项目之一是 Castle 项目。 他们有一个名为 MonoRail 的 MVC(不过 ASP.NET MVC 现在好多了)、一个 ActiveRecord 实现和一个名为 MicroKernel/Windsor 的 IoC 容器。 还有许多其他较小但有用的库,例如 DynamicProxy。
目前我最喜欢的 .NET 库项目。
http://www.castleproject.org/
对于优秀的企业服务总线,我更喜欢使用 Udi Dahan 的 NServiceBus,免费、开源且极其高效(一个案例研究显示每小时吞吐量为 1 亿条持久消息和 9 亿条非持久消息……十亿条消息吞吐量。)
http://www.nservicebus.com/
One of the best .NET open source library projects, in my opinion, is the Castle Project. They have an MVC called MonoRail (however ASP.NET MVC is now much better), an ActiveRecord implementation, and an IoC Container called MicroKernel/Windsor. There are also many other smaller but useful libraries like DynamicProxy.
Currently my favorite .NET library project.
http://www.castleproject.org/
For a GREAT enterprise service bus, I much prefer to use Udi Dahan's NServiceBus, which is free, open source, and extremely efficient (one case study showed a throughput of 100 million durable and 900 million non-durable messages per hour...a billion message throughput.)
http://www.nservicebus.com/
一般来说,Microsoft 模式和实践网站提供了一些很好的信息。 。
Prism Composite Application Guidance 与您的问题特别相关
城堡项目也+1!
Generally speaking the Microsoft Patterns and Practices site has some good information...
Prism Composite Application Guidance is particularly relevant to your question.
+1 to Castle Project too!