Skip to content

rogueco/RegisterServicesWithReflection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inject services using reflection:

Purpose of project

  • Show different ways on how to register services ready for DI
  • Using reflection to register services
  • Four different ways of registering services
  • Each method is in a separate branch

If you want to test the functionality of the API you can run the following command and it will spin the Database up in a docker container.

docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d

After you run this command, in the root of your solution directory run the following command to update the database:

dotnet ef database update

API: http://localhost:8002/swagger/index.html

Otherwise, you can just build the solution

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors