https://anuraj.dev/blog/using-mongodb-efcore-provider-in-dotnet-aspire/ #4
Replies: 2 comments 2 replies
-
I needed to add the nuget package |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think I have to add some package on the consumer app because the UseMongoDB() extention method in the DbContext class is not recognized. Can you help me with that? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://anuraj.dev/blog/using-mongodb-efcore-provider-in-dotnet-aspire/
In this blog post, we’ll learn how we can use Mongo DB EF Core provider in .NET Aspire. Long back I wrote a blog post on how to use Mongo database in .NET Aspire project and how to use Mongo DB EF Core provider. By default in .NET Aspire the IMongoClient interface will be injected in ASP.NET Core which we can be used in controllers and service to interact with Mongo Database.
https://anuraj.dev/blog/using-mongodb-efcore-provider-in-dotnet-aspire/
Beta Was this translation helpful? Give feedback.
All reactions