© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
R. AstburyMicrosoft Orleans for Developershttps://doi.org/10.1007/978-1-4842-8167-3_15

15. Advanced Features

Richard Astbury1  
(1)
Woodbridge, UK
 

In this chapter, we’ll cover some of the advanced features available to the Orleans developer.

Request Context

RequestContext is a static class available within Grains which allows you to attach additional metadata to a request. The context then flows down to each grains in the call stack from where it can be read or updated.

This is useful when you have data like a correlation identifier that you need to pass through the system that isn’t part of the main data model.

The request context includes a dictionary that allows ...

Get Microsoft Orleans for Developers: Build Cloud-Native, High-Scale, Distributed Systems in .NET Using Orleans now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.