@davidfowl another dumb Q.
I have this and when i aspire publish it uses the resource name as the image name it builds. yet i have "project-docker/nameofservice" in my <ContainerRepository>. what am i missing to use the name in the csproj for aspire publish?
@davidfowl Omg I didnt realize i could chain it like that. Again...and everytime....Thank you so so much for these toolings and your time answering me <3
@davidfowl another hard hitting Q. With the new (preview) .AddDockerComposePublisher().
i have 2 web apps in seperate folders using npm workspaces, so my dir context is the root repo thus it cant find the dockerfile. is there a way to manually specify or alt?
@PhatBoyG @H3xx3n FluentAssertions just did a similar thing. I would love if you could the same as them? where there's still a non-commercial use? So i can use for my home projects and research π₯²
@davidfowl Another one for ya. When we .AddProject<T> and get a IResourceBuilder, we cannot pass that into the .WithReference() to other services (b/c not like rabbitMQ) feature in future? :-) or am i a dum dum?
@davidfowl well meant both-ish. i have a helper that makes either AddProject or AddDockerfile and i downcast. Thus the .WithRef() doesnt take IRB<IResource>. THo i could prolly use the endpoints generically for both cases?
@davidfowl So maybe a way to provide IResourceBuilder<ContainerResource> with a way to be passed into the .WithReference() or some way for a generic IResourceBuilder<IResource> could? maybe something they all extend. im just spitballing now. youre the god here π
@davidfowl o i see. I downcasted IResourceBuilder<ProjectResource> to IResourceBuilder<IResource>. ive 2 ways of running aspire. 1 w/ dockerfiles and 1 w/ projects. Made a helper to not repeat stuff and .AddProject and .AddDockerfile both can be returned as a IResourceBuilder<IResource>
@davidfowl in aspire Im running builder.AddProject<T>().WithHttpEndpoint(somePortVariable). thus the endpoint displays like so in the dashboard. is there a way to add/change that so i can have it append /swagger to the end?