Hi Damian. Thanks for the feedback!
> The expectation is that the .net program should be spawning the pulumi "engine" and not the other way around.
There are several things to discuss here - would you mind opening an issue so that we could go in more depth?
> I want to do other things in my program as part of deployment such as a db migration
Likely, this should be another resource in Pulumi model. Are you familar with the concept of dynamic providers (not yet supported for .NET)?
> I want to use this to define resources of my own services
Similar to the last point, this should be a Pulumi provider then.