I. The scenario that SemaphoreSlim can help you solve it Below is a clear explanation that would help you understand the situation that you should use SemaphoreSlim. See the item [1] in the reference for the original post of that explanation. In the kindergarten around the corner they use a SemaphoreSlim to control how many … Continue reading Getting started with SemaphoreSlim in .NET
Getting started with method chaining in C#
I. Why do we need the method chaining mechanism First of all, please see some examples in real-world applications which are using the method of chaining below. // Example 1: var result = Employees.Where(a => e.Name == "Tim Nguyen") .OrderBy(a => e.PhoneNumber == 0123456789) .ToList(); // Example 2: // The code below is to declare … Continue reading Getting started with method chaining in C#
Getting started with GitHub codespaces
I. Overview To know what is the codespace, you can see the url below for the further information. https://github.com/features/codespaces II. Actions Step 1: From the main page, you navigate and select the menu codespaces to access the codespace. Step 2: From the new windows, select the button New codespace Step 3: Hit the button Create … Continue reading Getting started with GitHub codespaces
UML Short Description
Program element Diagram element Meaning Class Type and parameters specified when important; access indicated by + (public), - (private), # protected. Interface Name starts with I. Also used for abstract classes. Note Any descriptive text. Package Grouping of classess and interfaces. Inheritance B inherits from A Realization B implements A. Association A and B call … Continue reading UML Short Description
Programming Principles
Hi!, First of all, I would like to say the content above is an essential thing for each developer who wants to improve their code quality. I do not own the content above, I just bring it from the Lars Kappert's GitHub. Please see the References section for the reference to GitHub and the owner's … Continue reading Programming Principles
HOW TO BRING THE SQL PROMPT SNIPPET TO THE DBEAVER
I. Introduction As a developer, you might work with various the different databases, and Dbeaver is a good choice for it. But one boring thing is you might write the same code every day, so the snippet is the hero for it. If you have a chance to Sql prompt which is a paid plugin … Continue reading HOW TO BRING THE SQL PROMPT SNIPPET TO THE DBEAVER
How to use PlantUML to draw your diagram or flow effectively.
1. Introduction. If you are in the following cases, PlantUML will be the hero to rescue you. You have to face the change request from the client regularly, each time you have to update the flow or the diagram to your design. You want to keep track of all the changes to the flow/ digram … Continue reading How to use PlantUML to draw your diagram or flow effectively.