忘川河 发表于 2025-3-28 18:01:07

Fundamentals,Microsoft Orleans is a free, open source framework built on Microsoft .NET, which provides the developer with a simple programming model enabling them to build software which can scale from a single machine to hundreds of servers.

saphenous-vein 发表于 2025-3-28 19:03:00

Grains and Silos,In this chapter, we will dig into the fundamental components of Orleans: Grains and Silos.

编辑才信任 发表于 2025-3-29 01:25:11

Hello World,In this chapter, we discuss and build the various projects needed for a simple “Hello, World” program in Orleans. While we could build a Hello World in a single C# file, it is important to understand how to separate concerns and improve maintainability by organizing Orleans code into separate projects.

抛射物 发表于 2025-3-29 03:57:30

http://reply.papertrans.cn/64/6335/633485/633485_44.png

expunge 发表于 2025-3-29 08:28:32

http://reply.papertrans.cn/64/6335/633485/633485_45.png

Between 发表于 2025-3-29 14:46:26

Adding ASP.NET Core,So far, our solution uses a simple console application as the client. A more realistic scenario is for Orleans to be fronted by a Web API, such as ASP.NET Core.

抚慰 发表于 2025-3-29 15:47:02

http://reply.papertrans.cn/64/6335/633485/633485_47.png

Pepsin 发表于 2025-3-29 22:42:54

Streams,Publish-Subscribe is a useful pattern for decoupling code both in terms of separation of concerns and temporal coupling. Pub-Sub is a pattern and is used extensively in distributed systems and microservice architectures. Orleans natively supports Pub-Sub implemented as Orleans Streams.

BUST 发表于 2025-3-30 02:38:20

Timers and Reminders,So far, we have seen grains being called by a client, and in response to messages in streams, but in some cases, we want to run code on a regular basis, perhaps every few seconds or minutes to support polling or a refresh. Perhaps we want to schedule code to be executed at a particular time in the future.

Morbid 发表于 2025-3-30 05:41:38

Transactions,In this chapter, we will learn how Orleans supports transactions across grains. This allows us to update the state of multiple grains in one atomic operation to avoid scenarios where failure can lead to inconsistent state across grains.
页: 1 2 3 4 [5] 6 7
查看完整版本: Titlebook: Microsoft Orleans for Developers; Build Cloud-Native, Richard Astbury Book 2022 Richard Astbury 2022 IoT Development.Microsoft Orleans.Pro