/AutoCrudAPI

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

Primary LanguageC#

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...