我在哪里可以了解正确的 C# 项目架构设计?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/769617/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-05 00:27:17  来源:igfitidea点击:

Where can I learn about proper C# project architecture design?

c#architectureenterpriseorganization

提问by Joe Hyman

I'm a homegrown programmer and have been coding most of my recent applications in C#. These applications are usually small tools that help me with my day to day tasks. I do tend to use good design patterns, but since my projects are usually on a very small scale, I just dump everything into one Visual Studio project (GUI, domain code, etc).

我是一名本土程序员,并且一直在用 C# 编写我最近的大部分应用程序。这些应用程序通常是帮助我完成日常任务的小工具。我确实倾向于使用好的设计模式,但由于我的项目通常规模很小,我只是将所有内容都转储到一个 Visual Studio 项目(GUI、域代码等)中。

I've been wanting to develop a larger financial oriented application (equity/futures options analysis/modeling), but am not quite sure how to approach the actual architecture/organization. I've peeked into the code of a few open source finance apps and they're usually laid out into many sub-projects. ie: FinApp.Core, FinApp.GUI, FinApp.API, FinApp.DataStorage, FinApp.WebService, etc.

我一直想开发一个更大的面向金融的应用程序(股票/期货期权分析/建模),但我不太确定如何处理实际的架构/组织。我查看了一些开源金融应用程序的代码,它们通常被放置在许多子项目中。即:FinApp.Core、FinApp.GUI、FinApp.API、FinApp.DataStorage、FinApp.WebService等。

Where can I go to learn about how to best structure large applications?

我在哪里可以了解如何最好地构建大型应用程序?

采纳答案by paweloque

Have a look at the Patterns & Practiceswebpage. It is a great resource on common patterns and best practices to build systems and applications using the Microsoft platform. Probably, more specifically you should have a look at the Smart Client Guidancepage as well.

查看模式与实践网页。它是关于使用 Microsoft 平台构建系统和应用程序的常见模式和最佳实践的重要资源。也许,更具体地说,您还应该查看智能客户端指南页面。

回答by trendl

I recommend having a look at Sharp architecture.

我建议看看Sharp 架构

回答by Inisheer

Also look on Wikipediafor a general overview of Multitier Architecture.

还可以在维基百科上查看多层体系结构的一般概述。