27 references to AddMongoDB
Aspire.Hosting.MongoDB (1)
MongoDBBuilderExtensions.cs (1)
36return AddMongoDB(builder, name, port, null, null);
Aspire.Hosting.MongoDB.Tests (25)
AddMongoDBTests.cs (15)
20appBuilder.AddMongoDB("mongodb"); 77.AddMongoDB("mongodb") 101builder.AddMongoDB("mongo") 111builder.AddMongoDB("mongo").WithMongoExpress(c => 129builder.AddMongoDB("mongo").WithMongoExpress(c => 143builder.AddMongoDB("mongo") 183builder.AddMongoDB("mongo").WithMongoExpress(); 184builder.AddMongoDB("mongo2").WithMongoExpress(); 193var mongo = appBuilder.AddMongoDB("mongo"); 234var db = builder.AddMongoDB("mongo1"); 245builder.AddMongoDB("mongo1") 248var db = builder.AddMongoDB("mongo2"); 257var mongo1 = builder.AddMongoDB("mongo1"); 274var db1 = builder.AddMongoDB("mongo1") 277var db2 = builder.AddMongoDB("mongo2")
MongoDbFunctionalTests.cs (6)
44var resource = builder.AddMongoDB("resource") 47var dependentResource = builder.AddMongoDB("dependentresource") 81var mongodb = builder.AddMongoDB("mongodb"); 123var mongodb1 = builder1.AddMongoDB("mongodb"); 175var mongodb2 = builder2.AddMongoDB("mongodb", password: passwordParameter2); 307var mongodb = builder.AddMongoDB("mongodb")
MongoDBPublicApiTests.cs (4)
18var action = () => builder.AddMongoDB(name); 52var MongoDB = builderResource.AddMongoDB("MongoDB"); 88var MongoDB = builderResource.AddMongoDB("MongoDB"); 123var MongoDB = builderResource.AddMongoDB("MongoDB");
Mongo.AppHost (1)
Program.cs (1)
6var db = builder.AddMongoDB("mongo")