All Projects → EvAlex → ef-db-diagrams

EvAlex / ef-db-diagrams

Licence: MIT license
Visualize model created with EntityFramework Core

Programming Languages

typescript
32286 projects
C#
18002 projects
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ef-db-diagrams

XAF Security E4908
This repository contains examples for Role-based Access Control, Permission Management, and OData / Web / REST API Services for Entity Framework and XPO ORM
Stars: ✭ 47 (-9.62%)
Mutual labels:  aspnetcore, entityframeworkcore
SignalR-Core-SqlTableDependency
Shows how the new SignalR Core works with hubs and sockets, also how it can integrate with SqlTableDependency API.
Stars: ✭ 36 (-30.77%)
Mutual labels:  aspnetcore, entityframeworkcore
rover
Interactive Terraform visualization. State and configuration explorer.
Stars: ✭ 2,039 (+3821.15%)
Mutual labels:  diagram
ZeroToHeroDaprCon
Demos from my Zero to Hero with Dapr session @ DaprCon
Stars: ✭ 36 (-30.77%)
Mutual labels:  aspnetcore
erdiagram
Entity-Relationship diagram code generator library
Stars: ✭ 28 (-46.15%)
Mutual labels:  diagram
http-exceptions
Return exceptions over HTTP e.g. as ASP.NET Core Problem Details, and HTTP-specific exception classes that enable ASP.NET to generate exception information
Stars: ✭ 42 (-19.23%)
Mutual labels:  aspnetcore
webpack-aspnetcore
🚀 Make Webpack and ASP.NET Core friends easy way
Stars: ✭ 28 (-46.15%)
Mutual labels:  aspnetcore
KissLog.Sdk
KissLog is a lightweight and highly customizable logging framework for .NET applications
Stars: ✭ 33 (-36.54%)
Mutual labels:  aspnetcore
mssql-restapi
A simple REST API for SQL Server, Azure SQL DB and Azure SQL DW using SMO on .NET Core 2.0
Stars: ✭ 33 (-36.54%)
Mutual labels:  aspnetcore
run-aspnetcore-blazor
New .Net Core 3.0 Asp.Net Blazor Components SPA Web Application
Stars: ✭ 22 (-57.69%)
Mutual labels:  aspnetcore
FireflySoft.RateLimit
It is a rate limiting library based on .Net standard.
Stars: ✭ 76 (+46.15%)
Mutual labels:  aspnetcore
dotNetify-react-native-demo
DotNetify + React Native + .NET Core demo
Stars: ✭ 43 (-17.31%)
Mutual labels:  aspnetcore
visioStencils
My 2,700 visio 🎨 shapes, stencils, symbols, and icons collection to visually represent IT infrastructure
Stars: ✭ 43 (-17.31%)
Mutual labels:  diagram
SMDiagramView
Diagram View for iOS
Stars: ✭ 44 (-15.38%)
Mutual labels:  diagram
ApiFramework
Everything is an (Open)API
Stars: ✭ 26 (-50%)
Mutual labels:  aspnetcore
CodexMicroORM
An alternative to ORM's such as Entity Framework, offers light-weight database mapping to your existing CLR objects. Visit "Design Goals" on GitHub to see more rationale and guidance.
Stars: ✭ 32 (-38.46%)
Mutual labels:  entityframeworkcore
MiCake
🍰一款基于.Net Core平台的“超轻柔“领域驱动设计(DDD)组件
Stars: ✭ 112 (+115.38%)
Mutual labels:  aspnetcore
Abp.Castle.NLog
Abp的NLog日志输出模块。
Stars: ✭ 15 (-71.15%)
Mutual labels:  aspnetcore
Ext.NET
Ext.NET public Issues.
Stars: ✭ 28 (-46.15%)
Mutual labels:  aspnetcore
OrgChart
Organization chart layout library
Stars: ✭ 16 (-69.23%)
Mutual labels:  diagram

EntityFrameworkCore.Diargams

Visualize model created with EntityFramework Core in ASP.NET Core app.

https://db-diagrams.firebaseapp.com/

Installation

  1. Install NuGet package EntityFrameworkCore.Diagrams
  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>(); Here's how your Configure() method might look like after this step (notice commented line):
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
  loggerFactory.AddConsole(Configuration.GetSection("Logging"));
  loggerFactory.AddDebug();

  if (env.IsDevelopment())
  {
      app.UseDeveloperExceptionPage();
      app.UseBrowserLink();
      app.AddEfDiagrams<ApplicationDbContext>();  //  <-- Here's the config for EntityFrameworkCore.Diargams
  }
  else
  {
      app.UseExceptionHandler("/Home/Error");
  }

  app.UseStaticFiles();

  app.UseMvc(routes =>
  {
      routes.MapRoute(
          name: "default",
          template: "{controller=Home}/{action=Index}/{id?}");
  });
}
  1. Start your app and browse to /db-diagrams page. You should see the diagram now.

Notice that the middleware is added 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.

Contributing

Feel free to report any bugs or feature requests - just create an issue. Contributions are appreciated!

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].