private static void InitSilo(string[] args) { _hostWrapper = new OrleansHostWrapper(args); if (!_hostWrapper.Run()) { Console.Error.WriteLine("Failed to initialize Orleans silo"); } }
static void InitSilo(string[] args) { hostWrapper = new OrleansHostWrapper(args); if (!hostWrapper.Run()) { Console.Error.WriteLine("Failed to initialize Orleans silo"); } }
private static int StartSilo(string[] args) { // define the cluster configuration var config = new ClusterConfiguration(); config.Globals.LivenessType = GlobalConfiguration.LivenessProviderType.AzureTable; config.Globals.ReminderServiceType = GlobalConfiguration.ReminderServiceProviderType.AzureTable; config.Globals.DataConnectionString = "MY_DATA_CONNECTION_STRING"; config.AddMemoryStorageProvider(); config.AddAzureTableStorageProvider("AzureStore"); config.Defaults.DefaultTraceLevel = Severity.Error; config.Defaults.Port = 100; config.Defaults.ProxyGatewayEndpoint = new IPEndPoint(config.Defaults.Endpoint.Address, 101); hostWrapper = new OrleansHostWrapper(config, args); return hostWrapper.Run(); }
private static int StartSilo(string[] args) { // define the cluster configuration var config = new ClusterConfiguration(); config.Globals.LivenessType = GlobalConfiguration.LivenessProviderType.AzureTable; config.Globals.ReminderServiceType = GlobalConfiguration.ReminderServiceProviderType.AzureTable; config.Globals.DataConnectionString = "MY_DATA_CONNECTION_STRING"; config.AddMemoryStorageProvider(); config.AddAzureTableStorageProvider("AzureStore"); config.Defaults.DefaultTraceLevel = Severity.Error; config.Defaults.Port = 100; config.Defaults.ProxyGatewayEndpoint = new IPEndPoint(config.Defaults.Endpoint.Address, 101); hostWrapper = new OrleansHostWrapper(config, args); return(hostWrapper.Run()); }