zzz projects Entity Framework Core EF Core
Home Articles Knowledge Base Online Examples
  • Home
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

3 results in tag: asp.net-mvc-routing

Custom Route Constraint with Dependency Injection in .Net Core

I'm trying to implement a custom route constraint that would check the database for information. I've gotten the route constraint to work but I'm running into parameterless constructor issues when trying to inject a DbContext into the class to work with...
asp.net-core asp.net-core-mvc asp.net-mvc-routing dependency-injection entity-framework-core
asked by Toby Lortz

Inject DbContext to Custom IRouteConstraint in ASP.NET Core 2 MVC

I'm using ASP.NET Core 2. I'm attempting to inject the DbContext into a custom IRouteConstraint. However, it appears that the context is disposed of before it attempts to call the Match method. I'm sure I'm overlooking something really simple here. Any id...
asp.net-core-mvc asp.net-mvc-routing dependency-injection entity-framework-core
asked by Jason N. Gaylord

MVC Routing template to represent infinite self-referential hierarchical category structure

I have a product category table to represent a hierarchical category structure, a typical ...Parent-Child... relationship table in the database....Fill it with Guitar Center's data as an example:...If you render them to a page with ...<ul>... and ...<li>....
asp.net-core-2.0 asp.net-core-mvc-2.0 asp.net-mvc asp.net-mvc-routing entity-framework-core
asked by David Liang

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!