DisasterDev

Cheng Rui

Technical lead who loves building stuff and this is my blog. I share my experience and lessons (mostly lessons) with you on this site, and I hope you find it useful to your programming journey.

profile image

Recent posts

DynamoDB - lessons learned

dynamodbdatabaseserverless

Let's talk about AWS DynamoDB. The reason for me to start using DynamoDB was very simple (or you can call it naive), that is it is a managed cloud service. Frankly speaking, I don't enjoy maintaining...

Read more

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

Many usages of AWS Lambda

serverlesslambdaAWS

AWS Lambda is one of my favorite services provided by AWS. "Serverless" may not sound as cool or fancy as several years ago, but it has no doubt become one of the most essential services to many busi...

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