Modern security models that presume no implicit confidence include zero-trust architecture (ZTA), which requires constant verification of all requests, users, and devices, regardless of their location. In this post, I describe how to use tried-and-true security concepts and tools to design and implement zero-trust principles in C# services, specifically within ASP.NET Core. What Is Zero-Trust?…
Category: Cheap Windows Hosting
Time-Based One-Time Password (TOTP) MFA Implementation in .NET Core
A safe two-factor authentication (2FA) technique called TOTP (Time-based One-Time Password) creates short-lived, one-time codes for user verification. These codes are synchronized with the current time and refresh at predetermined intervals, often every 30 seconds. Compared to static passwords, TOTP improves security by dynamically updating the valid code, which drastically lowers the possibility of unwanted…
Easy Best Practices for.NET Code Performance and Quality
Lets break down some best practices for writing good and fast code in .NET, using simple examples and including important principles that anyone can understand. 1. Follow SOLID Principles The SOLID principles help you write better code. Think of them as rules for building a strong house. Single Responsibility Principle (SRP) Each part of your code…
Why Use Blazor?
Blazor is a robust framework for creating contemporary web apps with C# and.NET rather than JavaScript. It has a number of benefits that make it an appealing option for developers, particularly those who are already involved with the.NET ecosystem. Here are some reasons to think about utilizing Blazor for your upcoming project: 1. Using C#…
Find Out About Events and Delegates
One of Google’s meanings of a Delegate is representative, so a Delegate means it represents something. In Programming, a delegate is a variable that holds the reference to a method or pointer to a method. A delegate can refer to more than one method of the same return type and parameters. The preferred methods must…