
Discover how the Orleans framework enables scalable distributed applications through globally addressable grains with on-demand activation, single-thread execution, and durable or in-memory state, while transparently handling failures.
Set up the app and configure the silo using clustering providers and endpoints. Create grains and interfaces projects, wire the client to silos, and test the setup.
Create and implement a whole grain in the Microsoft Orleans .NET course, exploring grain lifecycle and identity, and call it from a client using an integer grain key.
Discover how grain identity is formed from a grain type and its primary key, using long keys, string keys, or compound keys; implement and retrieve the primary key in code.
Explore the grain lifecycle in Orleans: how a grain activates on demand, loads state from storage, handles requests in memory, and deactivates when idle to free resources.
Implement the Polly .NET library to handle client reconnection with circuit breakers, timeouts, and retries, configuring three retries over a few seconds to recover from silo unavailable exceptions.
Learn to automate SQL script deployment using the DbUp library by setting up a console project, installing dependencies, naming scripts with versions, and verifying executed changes in the database.
Install and use the Orleans dashboard to monitor your Orleans app, view grain activations, silos, and latency, and inspect methods and debugging insights from a browser on localhost.
Create an incoming grain call filter for logging and error handling in a silo host, using dependency injection and assembly scanning to intercept calls and json-serialize data.
Learn to use the request context to pass data across grains, build a wrapper that makes it injectable, and keep the codebase clean by avoiding pollution.
-explain what is eventsourcing
-add some picture
-Describe different provider types which we will be using
-describe journaledgrain
Implement a journaled grain using event sourcing to surface a stream of events and save the latest state to a state storage with a consistency provider.
Install EventStore on macOS by downloading, unpacking, and running the local service. Explore streams to see how immutable events power an event-sourced database.
Learn to build a custom event-sourced grain for Orleans using EventStore, implementing a custom storage provider, serializing state, and persisting events to an EventStore stream.
Learn to implement graceful shutdown for an Orleans silo by handling console cancel events, stopping the host safely, and preventing loss of memory state during exit.
Set up a stock ticker app using Orleans by creating a host silo, a stock stream subscription client, and the stock streaming grain with its interface, then connect the client.
Learn to build a proxy that fetches real-time Apple stock prices from the Intrinio API using a C# framework, including API key setup and implementing the price retrieval method.
Are you a student or professional in the field of software engineering using .NET and are you ready to disrupt old way of backend development?
Time to use Orleans .Net!
Orleans is an open source programming framework for .NET, originally built by the eXtreme Computing Group at Microsoft Research that simplifies distributed app development using virtual actors. These are single-threaded objects with their own state, that don’t share any memory and communicate by exchanging messages using asynchronous remote procedure calls, that are activated on demand, garbage collected when they’re no longer in use and reactivated seamlessly as required.
Because the runtime takes care of activation, cleanup and distributing virtual actors (which Orleans calls grains) across servers, developers can write their code as if it was going to run on a single machine without worrying about concurrency and scale it out to as many servers as necessary.
Amazed?
Take this course and disrupt the old way of development!