This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void Main(string[] args) | |
{ | |
// The Orleans silo environment is initialized in its own app domain in order to more | |
// closely emulate the distributed situation, when the client and the server cannot | |
// pass data via shared memory. | |
AppDomain hostDomain = AppDomain.CreateDomain("OrleansHost", null, new AppDomainSetup | |
{ | |
AppDomainInitializer = InitSilo, | |
AppDomainInitializerArguments = args, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Callback.GrainInterfaces; | |
using Orleans; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
namespace Callback.GrainCollection | |
{ | |
[Reentrant] | |
public class Grain1 : Orleans.GrainBase, IGrain1 | |
{ |