Custom persistence provider
We learned earlier in this chapter that Orleans persistent storage providers are available for most of the traditional storage systems out there currently. What if there is no storage provider by Orleans or the community for the database system you use in your organization? Orleans is built on a plugin model; we can easily create a custom storage provider to support our own storage system.
In this section, we will implement a simple persistence provider for our Distel application using Azure file shares.
Note
Azure Files is not a traditional storage provider for persisting data. Its main use case is to provide file sharing via different protocols such as SMB, NFS, and FileREST. It can be mounted on workstations running Windows, macOS, and Linux. You can learn more about Azure Files here: https://docs.microsoft.com/en-us/azure/storage/files/.
Follow the steps described here to create an Azure Files storage provider:
- Add a new project...