MongoDB Replica set support - needs documentation update
@IEvangelist is already working on this.
Since Jun 2, 2026.
- #1159 by @copilot-swe-agent — closed without merging
Assessment
This issue has not been assessed yet.
Description
This PR (microsoft/aspire#16698) updates the Aspire MongoDB Builder to add support for building a single node replica set. This will allow applications using transactions or change streams to use MongoDB in Aspire.
The documentation should be updated to explain when this should be used, and how to use it.
The usage itself is simple, when adding a mongo database, add the .WithReplicaSet() call to the builder as follows:
var mongo = builder.AddMongoDB("mongo")
.WithReplicaSet();
- Dominant language
- MDX
- Stars
- 195
- Forks
- 87
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 73
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/aspire.dev
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
microsoft/aspire.dev#1650 ·
-
Docs: Dev Tunnels "Configure dev tunnel options" examples do not compile; options table omits Region Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
microsoft/aspire.dev#1465 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
microsoft/aspire.dev#1464 ·
-
Difficulty 2/5 Half a day Newbie friendliness 84/100
microsoft/aspire.dev#1463 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
microsoft/aspire.dev#1416 ·