EntityFrameworkCore.Diagrams.Beta
0.4.2
Install-Package EntityFrameworkCore.Diagrams.Beta -Version 0.4.2
dotnet add package EntityFrameworkCore.Diagrams.Beta --version 0.4.2
<PackageReference Include="EntityFrameworkCore.Diagrams.Beta" Version="0.4.2" />
paket add EntityFrameworkCore.Diagrams.Beta --version 0.4.2
#r "nuget: EntityFrameworkCore.Diagrams.Beta, 0.4.2"
// Install EntityFrameworkCore.Diagrams.Beta as a Cake Addin
#addin nuget:?package=EntityFrameworkCore.Diagrams.Beta&version=0.4.2
// Install EntityFrameworkCore.Diagrams.Beta as a Cake Tool
#tool nuget:?package=EntityFrameworkCore.Diagrams.Beta&version=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
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 1.6
- Microsoft.AspNetCore.Http.Abstractions (>= 1.1.2)
- Microsoft.AspNetCore.StaticFiles (>= 1.1.1)
- Microsoft.EntityFrameworkCore (>= 1.1.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 1.1.1)
- Microsoft.Extensions.FileProviders.Physical (>= 1.1.1)
- NETStandard.Library (>= 1.6.1)
- Newtonsoft.Json (>= 10.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.4.2 | 252 | 5/17/2021 |
Temporary package with .net 5 support