EntityFrameworkCore.Diagrams.Beta (nuget): Visualize model created with EntityFramework Core in ASP.NET Core app.  https://db-diagrams.firebaseapp.com/  1. Install the NuGet package 2. Use AddEfDiagrams() extension method in Configure() method of your Startup class to add middleware. Specify your DbContext type instead of ApplicationDbContext in the following example: app.AddEfDiagrams<ApplicationDbContext>(); 3. Start your app and browse to /db-diagrams page. You should see the diagram now.  Use the middleware is only in Development mode. This is important! Otherwise, any user in Production will se your model structure, which may not be desireable. This is not the case if you are developing public API, though.  Feel free to report any bugs or feature requests - just create an issue. Contributions are appreciated! https://github.com/EvAlex/ef-db-diagrams
Keywords: aspnetcore|entityframeworkcore|ef|diagram|er