Blog

How to observe responsive breakpoints

Have you ever wanted to know in which breakpoint your page is, so you may adapt part of the page in ways CSS cannot, such as setting aria attributes?
By using custom properties and media queries, it is simpler than ever.

Read more

Building a typed DbConnection factory

When working on applications using multiple databases, you not only have to know which connection string to use and which the DbConnection we need. How can we implement a service expecting the calling application to give us the required connection string.

Read more

DbProviderFactory

Since .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.

Read more