flaky-continent-74538
06/19/2018, 12:34 AMbitter-oil-46081
06/19/2018, 7:42 PMflaky-continent-74538
06/19/2018, 9:35 PMIDesignTimeDbContextFactory<T>
that you can implement to setup EF Core at design-time. If EF Core can't find a type that extends that interface, it will fallback to your app's dependency injectionvar service = new Pulumi.Azure.Service(
"hello",
replicas: 3,
);
pulumi.Export("endpoint", service.Endpoint.Apply(e => e.HostName));
tall-librarian-49374
06/20/2018, 8:24 AMPulumi.Run
- does it mean we won't use pulumi CLI? I think calling pulumi directly from code could be powerful, but isn't the workflow too different from what JS version does now?bitter-oil-46081
06/20/2018, 6:17 PMpulumi.Run
export (https://github.com/pulumi/pulumi-aws/blob/master/examples/webserver-go/main.go#L14-L44), where it sets stuff up and then jumps into your callback.
For C#, I could see either the contract you write an exe which we logically run, and then in your main you call something like: Pulumi.Run, or we say you expose a static method with this shape (or maybe marked with an attribute) and we do our setup and call that method.tall-librarian-49374
06/20/2018, 7:54 PMacoustic-summer-11936
06/20/2018, 11:28 PM