Skip to content

orlodax/AutoCrudAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoCrudAPI

Demonstrate how to generate CRUD controllers automatically in a .NET Web API

Inject assemblies and see the controllers appear. (Use ControllerMap.cs to tell the app which assemblies to pick)

From this one class:

image

To all the controllers at runtime:

controllersGeneration

The real life scenario based on this code includes a generic DbContext, async Task, JWT authorization, API versioning etc...

About

Demonstrate how to generate CRUD controllers automatically in a .NET Web API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages