EntityFrameworkCore.Diagrams 0.4.2

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

Install-Package EntityFrameworkCore.Diagrams -Version 0.4.2
dotnet add package EntityFrameworkCore.Diagrams --version 0.4.2
<PackageReference Include="EntityFrameworkCore.Diagrams" Version="0.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EntityFrameworkCore.Diagrams --version 0.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- fix: misplaced relation connectors

Version History

Version Downloads Last updated
0.4.2 2,265 8/9/2017
0.4.1 287 7/29/2017
0.4.0 277 7/28/2017
0.3.3 275 7/28/2017
0.3.1 273 7/28/2017
0.3.0 271 7/27/2017
0.2.5 254 7/26/2017
0.2.4 261 7/26/2017
0.2.3 266 7/26/2017
0.2.2 287 7/25/2017
0.2.1 370 7/25/2017
0.2.0 250 7/25/2017
0.1.6 261 7/25/2017
0.1.5 284 7/21/2017
0.1.4 270 7/21/2017
0.1.3 275 7/20/2017