Quick Introduction To Generic Host in .NET Applications
The default template for ASP .NET core applications use the generic host. Generally, this is the area which is worked upon at the very beginning of the project and mostly…
The default template for ASP .NET core applications use the generic host. Generally, this is the area which is worked upon at the very beginning of the project and mostly…
In this article, let's have a look at the default interface methods feature which has been added in C# 8. Scenario of Evolving Interfaces Let's take a scenario to understand…
This article discusses about what is delayed instantiation and how it can be used with .NET's default IoC container and Autofac. Delayed Instantiation ? The dependency injection in .NET allows…
We know that .NET has its own built-in IoC container. When you create web applications, the project templates include the defautl IoC container so that you can focus on your…
Dependency injection is first class citizen in .NET. We already have seen how to enable default IoC container in a console application in previous post. Autofac is also one of…
Dependency Injection in .NET: Demo of service lifetimes
In last post, we discussed a bit about dependency inversion principle and how it is implemented in .NET. In this post, let's discuss a bit more about service lifetimes and…
SOLID principles are core software design principles, intended to make software design more understandable and maintainable. Every letter stands for a concept and below is the list of five concepts:…
The last article was dedicated to getting started on the options pattern for reading configurations in .NET applications. In this article, let's have a look at how the configurations can…
In last article, we had a look at some methods provided by .NET to read the configuration settings. In this article, let's try to get started on the options pattern,…
In .NET applications, the ConfigurationProvider reads the configuration and all the configuration is maintained as a collection of key value pairs. The interface IConfiguration can be injected to the classes…
In last article, we have seen how to use the MemoryConfigurationProvider to load configurations from in-memory collections. You can also create the custom configuration provider to load the configuration settings…