You don't need a IDesignTimeDbContextFactory in EF Core

You're just repeating what the page linked in the error says. Actually you just mention one of the options

You might see it that way, but actually I'm focusing on the correct solution in most cases.

Sure, and that's great. But I believe a better approach is to help people understand the documentation, instead of just telling them "do this and that". What was difficult for you to understand in the documentation?

The MSDN article focuses too much on the ` IDesignTimeDbContextFactory `, when it's only the rare case that it is needed. I would rather see that they focused on the simple stuff that caused this error.

And then explain when you need it.

I also added this to my blogpost :)

If you disagree with the format, then by all means create a blog post yourself. I created this in the format that I like.
The correct solution, and then answering the why after.

/r/csharp Thread Parent Link - snede.net