Blog posts about C#

IDbContext and moq4

Not having an interface for DbContext sometimes makes it hard to do some testing when working with a pure interface based architecture especially when combining this with dependency injections.

So to cope with problem I've created my own implemention of na IDbContext interface.

Read more
Create url and seo friendly slugs in c#

So, the other day I stumbled upon a discussion on StackOverflow about generating a url friendly slug. I found the problem quite interesting and decided to give it a go on solving this in .NET Core.

Read more