Microsoft Ignite has passed, but this app dev keynote by Scott Hanselman summarized the announcement around app dev pretty well. From Kubernetes, .Net Core, Visual Studio to IOT, everything is covered.
It’s a long read but gives you overview the state of PWA in 2020. There’s a lot going on for sure, but it thorough covers how PWA in browsers and mobile devices (that’s mobile browsers and app stores).
A simple pattern to replace `if` statements using “lookup”. I thought it’s pretty neat alternative to `if` statments and very clean as well. The question we should probably asking ourselves is, why do we want to replace `if` statements and what’s the value of doing so?
A very cool post about basic WebSockets. From the background, under the hood to sample code, all covered in the post. If you don’t know anything about WebSockets, or just want to know more, this worth a read.
If you’re thinking of building a text-based game, check out this post. A team build a text-based game to promote Microsoft Learn, a platform to learn Azure and other Microsoft product. It includes few libraries that the team used to build the game.
The cool in-memory schema-on-read DataFrame that is widely used in Python and other machine learning platform (Apache Spark, Databricks, etc) is coming to .NET. It does remind me of `DataSet` and `DataReader`.
Very nice post by Ali, compiling from different sources and lay out how to write memory-efficient C# app.
An interesting perspective about what’s coming in 2020. From a quick glance, it looks like reasonable predictions.
Rust is on the top, followed by Go. Two modern language which popularity has been gaining a lot of momentum lately. This post explains the basic of modern programming language and benefits of languages like Rust and Go.
Online book by Brad Frost to explain the concept of atomic design. It’s a concept that mimic biological molecules and construct UI elements in a modular way for re-usability and maintainability.
A rather long and detailed post about Angular and PWA (Progressive Web App), but worth the read, especially if you haven’t heard about PWA. It covers the 101 stuff and goes on to creating PWA using Angular.
Great new offering from Azure. If you always RDP to your VM in Azure, or use a _’jump box’_, you will have a new, better, more secure way to RDP now. I really like the name too!
They are great lessons software engineers can adopt to become better. Not a technical post, but related to technical. It’s more of philosophical-type post, which is always good to know.
There’s a new kid in town, it’s called `System.Text.Json`. Michael goes over how the comparison between this new .NET Core 3 feature and other JSON libraries, including the infamous Json.NET. And yes, it cover performance test as well.
Have you ever got one of those annoying, `Could not load file or assembly or one of its dependencies` error when running .NET locally? Not only Michael explains why, but he also tell you how to resolve it. Mystery solved.
Great post by Jeremy Likness on how to use Durable Functions in Azure Functions to create a long-running workflows. Yes, a serverless service can be used for long-running application. Some of the pattern implemented are: fan-out-fan-in, human interaction, etc. Although the example given is a game, it can definitely be applied in many Enterprise situation.
Ever wonder how you can stream data asynchronously? Now you can with
IAsyncEnumerable<T>, a new feature in C# 8.0 and .NET Core 3.0.
One of the very common scenarios in data integration and movement is the dependency of one task to another. Azure Data Factory now offers option to run triggers based on dependency of another trigger. You can even specify offset and dependency size of a trigger.
Want to code faster in Visual Studio Code, this will help you.
Serverless has its advantage but cold-start is not one of them. With Azure Premium Functions, you can solve cold-start issue although technically, it’s no longer a serverless. Maxime made an argument when to use serverless or not.
Want to learn any programming language? — Write These 3 Simple Apps!
Very good read if you want to learn new programming langugage. Sam Fare challenges you to build 3 simple apps with a new programming langauge: Hello World, Anagram and Pizza app. I’ll throw in one more as a bonus: a Todo app.
How to Become a Better Software Developer by Digging & Climbing
Even if you are an experienced developer, it’s still a very good read. Dmitri shares what he did to become a better developer (and we always have room to become a better developer). It’s a conceptual idea, which is why it’s a very good read, with some practical examples.
Event-driven analytics with Azure Data Lake Storage Gen2
If you are dealing with big data, the ingestion, processing, storage, consumption and ETL stuff, add this to your reading list. It outlines a way to use event-driven technique using Azure services to build data for analytics.
Azure solution architectures
One of my favorites. This is more of a reference than a reading. Microsoft docs provides cloud architecture solutions (based on Azure services) for different scenarios and needs. Definitely check it out when you need to design and build a new system.
The Azure Infrastructure Architect Map
Yet another good resource for a reference. This guides you through way-too-many Azure services based on your needs, sorta help you to decide what Azure service to use for a specific scenario. There’s also Solution Architect map and Security Architect map. Links are in the article.
Pipeline Pattern Implementations in C# .NET – Part 1
Part 1 of 2 where Michael explains how to implement pipeline pattern in C#. This is not about `System.IO.Pipelines` library, but rather,
Part 2 – https://michaelscodingspot.com/pipeline-pattern-tpl-dataflow/
Given 5 boxes with different weight
[24, 27, 17, 15, 17], distribute the weight as even as possible among 3 trucks of the same size. The trucks can fit unlimited number of boxes. The weight of the boxes can’t be transferred, for example move
4 from box 1 (originally weight
24) and transfer to box 2.
What if we have more boxes with different weight, let’s say 6 boxes with weight of
[1, 2, 17, 21, 7, 6].
What if the number of truck change to 5 trucks?
What’s the most effective algorithm to distribute the boxes evenly (in weight) within all the trucks?