5 references to DefaultAuthenticationDatabase
Aspire.Hosting.MongoDB (5)
MongoDBBuilderExtensions.cs (1)
84databaseNameFactory: _ => mongoServerResource.Databases.Values.FirstOrDefault(defaultValue: MongoDBServerResource.DefaultAuthenticationDatabase)
MongoDBServerResource.cs (2)
122private static ReferenceExpression AuthenticationDatabaseReference => ReferenceExpression.Create($"{DefaultAuthenticationDatabase}"); 158builder.Append($"{DefaultAuthenticationDatabase:uri}");
ReplicaSet\MongoDBReplicaSetResource.cs (2)
114builder.Append($"{MongoDBServerResource.DefaultAuthenticationDatabase:uri}"); 135yield return new("AuthenticationDatabase", ReferenceExpression.Create($"{MongoDBServerResource.DefaultAuthenticationDatabase}"));