Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Hangs on UseMongoDb #46

Open
mrpmorris opened this issue Aug 4, 2020 · 2 comments
Open

Hangs on UseMongoDb #46

mrpmorris opened this issue Aug 4, 2020 · 2 comments

Comments

@mrpmorris
Copy link

mrpmorris commented Aug 4, 2020

I created a database named EFCoreTest and added the following user

db.createUser(
   {
     user: "x",
     pwd: passwordPrompt(),  // or cleartext password
     roles: [
        { role: "readWrite", db: "EFCoreTest" }
     ]
   }
 );

But my Console app freezes as soon as the UseMongoDb command is executed.

			var builder = new DbContextOptionsBuilder<AppDbContext>();
			var mongoUrl = new MongoUrlBuilder()
			{
				Server = new MongoServerAddress("127.0.0.1"),
				DatabaseName = "EFCoreTest",
				Username = "x",
				Password = "x"
			}.ToMongoUrl();
			builder.UseMongoDb(mongoUrl);

This is using Blueshift.EntityFrameworkCore.MongoDB-aleksamagicka 2.2.0-rtm-1 with EntityFrameworkCore 3.1.6 in a .NET Core 3.1 console app.

Do you have any suggestions?

@mrpmorris
Copy link
Author

Looks like this project is abandoned. No check-ins for over a year despite bugs.

@vslee
Copy link

vslee commented Jan 24, 2022

You can vote for the issue here https://jira.mongodb.org/browse/CSHARP-3837

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants