NashTech Insights

.NET

Posts by categories

Posts by tags

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 »

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 »

Differences between Blazor WebAssembly & Blazor Server

In previous article, you already know Blazor Server and Blazor WebAssembly share many similarities but also have significant differences. Of course, Blazor Server runs on the server, and Blazor WebAssembly runs on WebAssembly in the browser. However, 5 key differences below will go further than that and are more hands-on. Project Structure (1 vs. 3) …

Differences between Blazor WebAssembly & Blazor Server Read More »

Introduction to Blazor

What is Blazor Overall, Blazor provides developers with the ability to take advantage of their C# skill for building single page application like react and angular. It’s currently has two hosting models: Blazor Server and Blazor WebAssembly Blazor Server Blazor Server is a server-side web application model that runs on the server using SignalR to …

Introduction to Blazor 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 »