Example #1
0
        public static async Task Main(string[] args)
        {
            var(env, configurationRoot, orleansConfig) =
                ConsoleAppConfigurator.BootstrapConfigurationRoot();

            await CreateHostBuilder(args, env, configurationRoot, orleansConfig).Build().RunAsync();
        }
Example #2
0
        static async Task <int> Main(string[] args)
        {
            var(env, configurationRoot, orleansConfig) =
                ConsoleAppConfigurator.BootstrapConfigurationRoot();

            return(await CreateHostBuilder(args, env, configurationRoot, orleansConfig));
        }