sahansera / dotnet-ioc-example

The objective of this post is to configure and use Microsoft’s default dependency injection container from scratch to understand how it all hangs together when in action.

Home Page:https://sahansera.dev/dotnet-core-ioc-container/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.NET Default IoC Tutorial

This is a demo app created for the following blog post in my personal blog:

https://sahansera.dev/dotnet-core-ioc-container/

Intro

The objective of this post is to configure and use Microsoft’s default dependency injection container from scratch to understand how it all hangs together when in action.

We will start with a simple console application, configure an IoC container, and have some fun with it by diving into the .NET Core DI Extensions’ source code.

Questions? Bugs? Suggestions for Improvement?

Having any issues or trouble getting started? Get in touch with me

Support

Has this Project helped you learn something new? or helped you at work? Do Consider Supporting.

Buy Me A Coffee

Share it!

Please share this Repository within your developer community, if you think that this would a difference! Cheers.

About the Author

Sahan Serasinghe

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

The objective of this post is to configure and use Microsoft’s default dependency injection container from scratch to understand how it all hangs together when in action.

https://sahansera.dev/dotnet-core-ioc-container/


Languages

Language:C# 100.0%