如何在现有项目asp.net中实现设计模式c# [英] How to implement design pattern in an exsisting project asp.net c#

查看:84
本文介绍了如何在现有项目asp.net中实现设计模式c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在现有项目asp.net c#中实现设计模式。

我不知道任何设计模式。我想在我们现有的项目中实现设计模式以用于学习目的。

解决方案

仅为模式添加设计模式不是我推荐的。但是,您可能已经使用了设计模式,但您并未意识到这一点。在谷歌上查看设计模式,看看其中一个是否适合您的项目。如果你只是实现一个模式,你可能会失去效率。

示例模式: http:// www .dofactory.com / net / design-patterns [ ^

How to implement design pattern in an exsisting project asp.net c#.
I am not aware about any design pattern. I want to implement design pattern in our existing project for learning purpose.

解决方案

Adding a design pattern just for the pattern is not something I would recommend. However, chance is that you have already use a design pattern, but you are not aware of it. Look the design patterns up on google, and see if one of them fits your project. If you just implement a pattern, you might lose efficiency.
Example patterns: http://www.dofactory.com/net/design-patterns[^]


这篇关于如何在现有项目asp.net中实现设计模式c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆