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

Tools and Libraries for an ASP.Net developer in 2018

Tools Resharper One of the most popular productivity tool for Visual Studio users. As Visual Studio keep adding the same functions introduced by Resharper, it’s getting pretty OK just use Visual Studio without Resharper. Still, I love using Resharper as it helps me focus on problem-solving.   In particular, I like its continuous testing feature. Bad… Continue reading Tools and Libraries for an ASP.Net developer in 2018

Bundling Angular for production in Visual Studio 2015

There are many ways of bundling Angular SPA. One of the ways I followed is Code Project by Mark J. Caplin This article recommends gulp task script and SystemJs-builder. One thing I couldn’t make it work even I followed this article was bundling angular app for a production environment. This is because I started my Angular app following the… Continue reading Bundling Angular for production in Visual Studio 2015