flaky-continent-7453806/19/2018, 12:34 AM
bitter-oil-4608106/19/2018, 7:42 PM
flaky-continent-7453806/19/2018, 9:35 PM
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 injection
var service = new Pulumi.Azure.Service( "hello", replicas: 3, ); pulumi.Export("endpoint", service.Endpoint.Apply(e => e.HostName));
tall-librarian-4937406/20/2018, 8:24 AM
- 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-4608106/20/2018, 6:17 PM
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-4937406/20/2018, 7:54 PM
acoustic-summer-1193606/20/2018, 11:28 PM