Scrutor
Last updated
What is Scrutor?
Scrutor is an open-source library for .NET that extends the functionality of the built-in dependency injection framework in .NET Core. It provides a set of extension methods for the IServiceCollection interface, which can be used to register and configure services in a more convenient and flexible way.
One of the main features of Scrutor is its ability to automatically scan assemblies for services and register them with the dependency injection container, allowing you to avoid having to manually register each service one by one. It also provides a fluent API that makes it easy to configure services, such as specifying the lifetime of a service, adding decorators, and more.
Free resources to learn Scrutor
More in stage 6: Caching
- Caching
- Redis
- Memcached
- Distributed Cache
- Memory Cache
- Entity Framework 2nd Level Cache
- RepoDB
- Dapper
- NHibernate
- MVC
- REST
- Minimal APIs
- Razor Pages
- Razor Components
- Middlewares
- Filters and Attributes
- App Settings and Configs
- Entity Framework Core
- Framework Basics
- Code First + Migrations
- Change Tracker API
- Lazy, Eager, Explicit Loading
- Scoped
- Transient
- Singleton
Scrutor: common questions
Can I learn Scrutor in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Scrutor in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Scrutor tutorial for beginners?
It is lesson 44 of 146 in the free ASP.NET Core roadmap, in stage 6, Caching. If you are new to ASP.NET Core, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.