.NET最佳做法? [英] .NET best practices?

查看:60
本文介绍了.NET最佳做法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这是一个广泛的话题,但是我对.NET的任何所谓的最佳实践都感兴趣,尽管我正在寻找不太明显的最佳实践,与使用以代替铸造"不同.
让我们看看我可以从Stack Overflow用户那里学到什么有趣的东西.

I know it is a broad topic but I'm interested in any of .NET's so-called best practices, though I'm looking for less obvious ones, unlike "use as instead of casting".
Let's see what interesting things I can learn from Stack Overflow users.

推荐答案

首先,查看

First, check out patterns & practices - "Use Microsoft's proven practices for software engineering.".

接下来查看IDesign:.NET设计和过程解决方案.

Next check out IDesign: .NET Design and Process Solutions.

在仔细研究了这些内容后,请确保启用代码分析/ FxCop 在您的代码库上.开始彻底查看每个警告.

After you dig through those to get some ideas make sure to enable code analysis/FxCop on your code base. Start thoroughly going through each warning.

最后但并非最不重要的一点是,请查看 JetBrains 软件和GET ReSharper .如果想提高100%的效率,并确保以最小的麻烦就可以编写高标准的代码,则必须具备ReSharper(或类似的工具,有些可用).:)

Last, but not least, go check out JetBrains' software and GET ReSharper. ReSharper (or similar tool, some are available out there) is a must have if you want to be 100% efficient and ensure you code to a high standard with a minimal amount of headache! :)

这将使您99%的标准和最佳实践都得到覆盖.

That will get you 99% covered on standards and best practices.

这篇关于.NET最佳做法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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