For a small volume of emails to send as a personal purpose or for a small business, it can be handy to use Google SMTP service as long as you have a Google account. It sounds easy task but sometimes it can be tricky if configuration is not properly written and the error message from… Continue reading How to set up Google SMTP for NLog config
DDD Perth 2019
DDD Perth 2019 looks get bigger than 2018. 835 developers joined and more than 200 were in waiting list. Food got better than last year. Multiple coffee post was another small improvement as there was a massive queue last year on a single coffee post. What I couldn’t understand is that there were 6 tracks… Continue reading DDD Perth 2019
JavaScript best practice summary – Jonathan Mills from Pluralsight
Syntax – consistency is the king. Use semicolons. Use Linting. e.g. ESLint or JSHint Curly braces should start in the same line of command, which is different from C#, etc. Equality. Use === whenever possible. Write variable, function, caller in order. Behaviors – use strict mode. Use var if it’s not for a global variable… Continue reading JavaScript best practice summary – Jonathan Mills from Pluralsight
Functional Principles in C# – method should be honest
Below are the key ideas of how to apply functional principles in C# explained in Pluralsight course by Vladimir Khorikov. Immutable Architecture Separate domain logic, Infrastructure(Persister), Service logic. Make the domain logic immutable and functional(input -> output) so as to easily unit test it. Make the infrastructure and service logic as simple as possible. Exception Use return… Continue reading Functional Principles in C# – method should be honest
What should I learn in 2019
There is still a lot to learn more in C# world, e.g. DDD, functional style, clean code, etc. But, it’s about time to learn something other than C#. The list below is my personal priority on what to learn in 2019. .Net Core SSW in Sydney was using DotNetCore only (No .Net framework) from 4 years… Continue reading What should I learn in 2019