I spent way too much time (and I mean waaaaaaay too much) to finally figure out what I was missing to be able to use #MongoDb with replica sets in #Testcontainers for #DotNet, where the port is assigned randomly to avoid conflicts.
Post image

Comments