[ASPNET Core 2] – Middleware

Here is a strange request: Write hello world using ASP.NET. So easy, dotnet new mvc then modify Views/Home/Index.cshtml to return a single line of <p>hello world</p>. Must be it, right? There is another way 😀 1. What is middleware 2. Types of middleware 3. Default middleware 4. Writing a middleware 4.1. Using delegate 4.2. Using …

Continue reading [ASPNET Core 2] – Middleware

[OOP] – Differences between Abstract and Interface?

A very common interview question: The differences between abstract and interface? Interface Think of interface as the USB port on your flashdrive. When buying a new laptop, you don't think "does it compatible with my flahsdrive", but you think "does it have a USB port?". And you know that every single computer on this planet …

Continue reading [OOP] – Differences between Abstract and Interface?

[Visual Studio Online] TFS love Slack, and vice versa

This post will guide you through how to intergrate TFS into slack. Every time there is something happened in TFS (code checked in, new task, etc…), there will be a message posted in slack in selected channel. Sound good? Here how Activate in TFS Open your TFS link, usually it will be “blahblahblah.visualstudio.com”. You will …

Continue reading [Visual Studio Online] TFS love Slack, and vice versa