EntityFrameworkCore.Diagrams
0.4.2
dotnet add package EntityFrameworkCore.Diagrams --version 0.4.2
NuGet\Install-Package EntityFrameworkCore.Diagrams -Version 0.4.2
<PackageReference Include="EntityFrameworkCore.Diagrams" Version="0.4.2" />
paket add EntityFrameworkCore.Diagrams --version 0.4.2
#r "nuget: EntityFrameworkCore.Diagrams, 0.4.2"
// Install EntityFrameworkCore.Diagrams as a Cake Addin #addin nuget:?package=EntityFrameworkCore.Diagrams&version=0.4.2 // Install EntityFrameworkCore.Diagrams as a Cake Tool #tool nuget:?package=EntityFrameworkCore.Diagrams&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 Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.6 is compatible. netstandard2.0 was computed. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.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 | 20,083 | 8/9/2017 |
0.4.1 | 1,164 | 7/29/2017 |
0.4.0 | 1,116 | 7/28/2017 |
0.3.3 | 1,170 | 7/28/2017 |
0.3.1 | 1,127 | 7/28/2017 |
0.3.0 | 1,137 | 7/27/2017 |
0.2.5 | 1,106 | 7/26/2017 |
0.2.4 | 1,106 | 7/26/2017 |
0.2.3 | 1,092 | 7/26/2017 |
0.2.2 | 1,139 | 7/25/2017 |
0.2.1 | 1,315 | 7/25/2017 |
0.2.0 | 1,060 | 7/25/2017 |
0.1.6 | 1,067 | 7/25/2017 |
0.1.5 | 1,119 | 7/21/2017 |
0.1.4 | 1,119 | 7/21/2017 |
0.1.3 | 1,134 | 7/20/2017 |
- fix: misplaced relation connectors