NashTech Insights

Hieu Nguyen

Hieu is an Engineering Manager at NashTech with 20+ years of experience in software development, he is specializing in the Microsoft stack have in-depth knowledge and experience with Microsoft technologies such as .NET framework, C#, ASP.NET, SQL Server, Azure, and Visual Studio. He is in a leadership role that involves overseeing and guiding the technical teams involved in software engineering projects.

Posts by categories

Posts by tags

Common Misconceptions in C# and .NET – Overusing Threads Instead of Tasks

In this section, we will explore the world of parallel and asynchronous programming in C#, with a particular focus on the common mistake of overusing threads instead of employing tasks. When comparing tasks and threads, it’s essential to understand that a Task is an abstraction that operates atop the threading model. However, there exist numerous …

Common Misconceptions in C# and .NET – Overusing Threads Instead of Tasks Read More »

Coding on a computer screen

Common Misconceptions in C# and .NET – SQL Injection

In this section, we will address the issue of SQL injections, which is a longstanding that demands utmost caution due to its severe consequences. Let’s examine the problem of SQL injection in detail. Suppose we have a query that retrieves the “city” value from an HTML Form submitted, and we make the decision to directly …

Common Misconceptions in C# and .NET – SQL Injection Read More »

Coding on a computer screen

Common Misconceptions in C# and .NET – Relying On Client Validation

Relying solely on client-side validation should be strictly avoided. It is not a reliable approach as skilled users can easily manipulate the client-side code to bypass the validation rules. Let’s examine example to illustrate this point. In our scenario, we have an ASP.net Razor-page application with login form. The form utilizes bind property attributes in …

Common Misconceptions in C# and .NET – Relying On Client Validation Read More »

Coding on a computer screen

Common Misconceptions in C# and .NET – Not Properly Hiding Your Secrets

We will explore the proper handling of sensitive information in the .NET development environment. Specifically, we will focus on protecting secrets used during development. These secrets refer to sensitive information used in the development environment. Consider a scenario where two developers are working on a project, each requiring their own dedicated passwords to connect to …

Common Misconceptions in C# and .NET – Not Properly Hiding Your Secrets Read More »

cyber security, internet security, computer security-1914950.jpg

Common Misconceptions in .NET – Misusing Cookies

In this section, we will address the issue of misusing cookies, focusing on cross-site request forgery. Let’s consider a scenario where a user interacts with a browser and intends to visit a bank’s website, the user sends a login request and receives a cookie from the bank as a result. This cookie allows the user …

Common Misconceptions in .NET – Misusing Cookies Read More »

password, security, dump-704252.jpg

Common Misconceptions in .NET – Not Properly Hashing Passwords

Let’s explore a prevalent security flaw where developers fail to properly hash users’ password. Understanding the significance of hashing is crucial. Let’s consider a scenario where a user register on a form by entering their username and password. During this registration process, we store the username and password in plain text format in our database. …

Common Misconceptions in .NET – Not Properly Hashing Passwords Read More »

monitor, binary, binary system-1307227.jpg

Common Misconceptions in C# and .NET: Understanding the Virtual and Override techniques in C#

Let us properly comprehend the concepts of polymorphism, C# virtual, and override techniques. In this example, we have an abstract class called Car, which includes a protected property named Speed. It also contains an abstract method called Accelerate, which increases the speed by ten whenever invoked. Additionally, there is a non-virtual implemented method called Stop, …

Common Misconceptions in C# and .NET: Understanding the Virtual and Override techniques in C# Read More »