Mitch Denny

Results 303 comments of Mitch Denny

Yeah, I think this is fair. I've often thought that we need some kind of transformation mechanic.

We've just added `WithDockerfile`. In theory if your .NET project has a Dockerfile we can build it and run it as a container in WSL. What we would be missing...

It's not something we are prioritizing right now but we'll leave this open to collect feedback. We know there is some interest. One question on this. If we were able...

After looking at the way that ```Platform.isNode``` (and friends) are used. I think plumbing through some kind of override from the top level APIs would be pretty ugly with lots...

This works: ```csharp var frontend = builder.AddNpmApp("frontend", "../frontend", "dev") .WithHttpEndpoint(env: "PORT") .PublishAsDockerFile( container => { container.WithEndpoint("http", (ep) => { ep.TargetPort = 3000; }); } ); ```

This also works: ```csharp var frontend = builder.AddNpmApp("frontend", "../frontend", "dev") .WithHttpEndpoint(targetPort: 3000, env: "PORT") .PublishAsDockerFile(); ```

If you are only changing the tag couldn't you just use `WithImageTag`?

Even users not using Aspire for the first time do this 😅 Personally I would be happier with AddContainer(...) throwing if the image name includes a `:` character. I want...