Add alias to depency injection
Microsoft's dependency injection mechanism does not support registering alias to the service collection but it still makes it possible to implement an extension method to do it.
Read moreMicrosoft's dependency injection mechanism does not support registering alias to the service collection but it still makes it possible to implement an extension method to do it.
Read moreMicrosoft's dependency injection mechanism does not support registering a decorator or a proxy instead of an existing service to the service collection but it still makes it possible to implement an extension method to do it.
Read moreSince .Net 2.0, DbProviderFactory
helped building application working on database without knowing the type of the database. It was easier with the old app.config file but not that hard to put back in the appsettings.json file.
Passwords are becoming more complex, making it easier to make a typo. Therefore it became frequent to add a reveal password feature.
Read moreSecurity protects the system against threats such as unauthorized access and modification. Therefore, it must answer the following questions: who is the user accessing the system, what can he/she do with it and, finally, what has he/she done with it?
Read more