C# 使用 .NET 的 SOA 架构真实世界示例

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1864216/
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-06 21:28:30  来源:igfitidea点击:

SOA Architecture Real-World Samples with .NET

c#.netarchitecturesoa

提问by Yoann. B

Any SOA Architecture (n-tier) Real-World Samples with .NET for getting started ?

任何用于入门的带有 .NET 的 SOA 架构(n 层)真实世界示例?

回答by Arturo Caballero

I recommend to start a .NET App with WCF. Get related to WCF, its advantages a as to expose a service endpoint with multiple binding as http, tcp, etc, so you are able to SOA your App.

我建议使用 WCF 启动 .NET 应用程序。与 WCF 相关,它的优点是公开具有多个绑定的服务端点,如 http、tcp 等,因此您可以对您的应用程序进行 SOA。

I use the UML Robustness Analysisto discover the functionality that will be exposed as services.

我使用 UML稳健性分析来发现将作为服务公开的功能。

I think that there is not silver bullet code for SOA, SOA is about design, organization of the system methods in order to expose services that orchestrates the handling of the responsibilities of application entities.

我认为 SOA 没有银弹代码,SOA 是关于系统方法的设计和组织,以便公开协调处理应用程序实体职责的服务。

For example, to look for a flight booking, your SOA service have to expose a contract, with all necessary data to handle the service request. It will return all necesary data for the next service, book flight.

例如,要查找航班预订,您的 SOA 服务必须公开一个合同,其中包含处理服务请求所需的所有数据。它将返回下一个服务预订航班的所有必要数据。

There is an excelent article about SOA in the Architecture Journal#21 -Service Orientation Today and Tomorrow Article An Enterprise Architecture Strategy for SOAwritten by Hatay Tuna.

Architecture Journal#21 - Service Orientation Today and Tomorrow 文章中,有一篇关于 SOA 的优秀文章,由 Hatay Tuna 撰写的SOA 企业架构策略

SOA is about logic exposure, design, logic ecapsulation, is not about code, the code supports the orientation.

SOA是关于逻辑暴露、设计、逻辑封装的,不是关于代码的,代码支持方向。

回答by Henrik

I have forked and extended and written a sample application called Documentlywhich implements SOA using TopShelf, MassTransit and RabbitMQ.

我已经分叉并扩展并编写了一个名为Documently的示例应用程序,它使用 TopShelf、MassTransit 和 RabbitMQ 实现 SOA。

回答by Davi Fiamenghi

I'm about to study .NET StockTrader 6 Sample Application.

我即将学习.NET StockTrader 6 示例应用程序

The Azure StockTrader 6 application is an end-to-end sample application for Windows Azure. It is a service-oriented applicationbased on Windows Communication Foundation and ASP.NET, with a RESTful backend hosted on Windows Azure. It includes cross-platform clients for HTML5, Windows 8, Windows Phone, Android and iOS that connect to the Azure Cloud Services backend. The backend database is Windows Azure SQL Database, and the application optionally supports scale-out via SQL Database Federation.

Azure StockTrader 6 应用程序是 Windows Azure 的端到端示例应用程序。它是一个基于 Windows Communication Foundation 和 ASP.NET的面向服务的应用程序,具有托管在 Windows Azure 上的 RESTful 后端。它包括连接到 Azure 云服务后端的 HTML5、Windows 8、Windows Phone、Android 和 iOS 的跨平台客户端。后端数据库是 Windows Azure SQL 数据库,应用程序可选择通过 SQL 数据库联合支持横向扩展。

I've got linked from this place: http://androtan.wordpress.com/2007/11/20/interesting-soa-wcf-and-aspnet-case-study/

我从这个地方得到了链接:http: //androtan.wordpress.com/2007/11/20/interesting-soa-wcf-and-aspnet-case-study/

However, IMO, it seems much more like a technical side example, perhaps just a good SOAD topic.

然而,IMO,它似乎更像是一个技术方面的例子,也许只是一个很好的 SOAD 主题。