DisasterDev

C# & .NET

Unit test with AutoMoq

unit testdotnetc#

If you are already familiar with AutoFixture, then most likely you know what I will talk about, otherwise feel free to read ahead. The best unit test is one without any dependency, but we'll save th...

Read more

Prefer interface to factory

dotnetc#interface design

If you've read the design patterns book, then it's highly likely that you know what a Factory is. While this pattern certainly has its usage in many places, it introduces a layer of abs...

Be careful with Enumerable

dotnetc#programming

Do you use tools such as Rider or Resharper? If the answer is "no", then you probably should consider using them. If you do use any of them, you must have seen this warning...

© 2022 disasterdev.net. All rights reserved