Ejemplo n.º 1
0
 public static void Main(string[] args)
 =>
 ServiceBuilder
 .CreateDefault <Startup>()
 .WithPort(5000)
 .WithAutofac(AuthBootstraper.BootstraperLifetimeScope)
 .WithNoNeo4j()
 .WithRabbitMq("Users", "guest", "guest", 5672)
 .Build()
 .Run();
Ejemplo n.º 2
0
 public static void Main(string[] args)
 {
     ServiceBuilder
     .CreateDefault <Startup>()
     .WithPort(5001)
     .WithAutofac(UsersServiceBootstrapper.BootstraperLifetimeScope)
     .WithNeo4j("bolt://localhost:7687", "neo4j", "test123")
     .WithRabbitMq("Users", "guest", "guest", 5672)
     .Build()
     .Run();
 }