Search code examples
.net.net-coreorleans

How call Orleans grain method without reference of grain implementation?


How call Orleans grain method without reference of grain implementation?

  • Grain client - .Net Core application.
  • Grain implementation class - classic .Net Framework library, and cannot be added to .Net Core application.

Solution

  • From the client project reference only the interface project (Core -> Standard).

    From the host project reference the implementation project (Full -> Full) and the implementation project references the interface project (Full -> Standard).

    It works like a charm, see: https://github.com/lmagyar/SO_Question_50689964