Summary
In this chapter, we have experienced how easy it is to get a fully functional Orleans application up and running. We also learned about silo configurations and different types of grain identities. In addition to this, we have seen stateless worker grains along with scenarios to use them in. We also learned about the flexibility that Orleans provides with reentrant grains to optimize performance. Toward the end, we built an Orleans application co-hosted with an ASP.NET Core Web application, which enabled us to share the registered services as they both share the same host builder.
You may be wondering, if none of the grains we created have any state in them, then why did we talk about Orleans grain state management? In the next chapter, let's learn about grain state persistence.