Asp.NET MVC

Implementing Health Checks in .NET Applications

Once an application is deployed to production, ensuring its reliability and availability becomes essential. This is especially true for modern applications that are distributed, built with microservices, and deployed using container platforms like Docker and Kubernetes. Health checks are a key part of keeping these applications running smoothly. They help you know if your application […]

Implementing Health Checks in .NET Applications Read More »

Building Background Services with IHostedService in .NET

Background services are long-running processes that operate independently of the main application flow. They perform tasks in the background without blocking user interactions or requiring immediate responses. Background services are essential for handling tasks such as processing queues, sending notifications, or performing scheduled maintenance. One of the most powerful and flexible ways to implement background

Building Background Services with IHostedService in .NET Read More »

Adding Sign in with Google

Add Sign in with Google in Your ASP.NET App: Step-by-step Tutorial

Google Authentication is a secure third-party login provider that you can use in your apps, including ASP.NET applications. Using third-party login providers allows users to use their existing credentials instead of creating yet another username and password combination that they need to remember. Why Use Third-Party Logins? There are many reasons why you should add

Add Sign in with Google in Your ASP.NET App: Step-by-step Tutorial Read More »

ASP.NET MVC: Models, ViewData, ViewBag, and TempData Explained

In ASP.NET MVC, efficiently passing data between controllers and views is crucial for robust application development. This blog explains the four primary methods for data transfer, highlighting their uses and differences. Model: A strongly typed method and the recommended way for passing data. It allows for intelligent and compile-time checking. ViewData: A dictionary object for

ASP.NET MVC: Models, ViewData, ViewBag, and TempData Explained Read More »

Securing Asp.Net Applications

When it comes to securing ASP.NET applications, or any application in general, authentication and authorization play key roles. Authentication is the process of verifying a user’s identity. It checks if the user credentials are correct or not. Authorization, on the other hand, is the process of verifying a user’s roles. So, essentially, authorization aids in

Securing Asp.Net Applications Read More »

Understanding .NET Middleware

Middleware in programming is a crucial concept that can sometimes be challenging to understand. In the blog post below, I will try to clarify and make it simple to understand using the .NET framework. To better understand this complex concept, let’s take as an example the process of building a house. I am no house

Understanding .NET Middleware Read More »

Data vs Task Parallelism in C#

Parallelism is an important concept in programming because it divides tasks and allocates those tasks to separate threads for processing. In .NET/C# for parallelism you can use the System.Threading and System.Threading.Tasks namespaces. These namespaces provide several classes and methods to help you implement parallelism in your .NET applications. In C#, you can several types of

Data vs Task Parallelism in C# Read More »

Scroll to Top