.NET Core Minimal API with Example

Minimal API Concept in .NET Core

In this article, we will learn about the minimal API concept in .NET Core. What is a Minimal API? A Minimal API is a simplified approach to building APIs in .NET, introduced in .NET 6. It streamlines the process of creating HTTP services by reducing boilerplate code and configuration, making it easier to set up … Read more

Let’s dive into Kubernetes: Uses, Benefits and Limitations

What is Kubernetes?

Kubernetes, often abbreviated as K8s, is an open-source platform to automate deployment, scaling, and operating applications in containers. Think of containers as lightweight, portable, and self-sufficient units that package software and all its dependencies so it can run consistently across various environments. Kubernetes helps manage these containers, ensuring that they run smoothly and efficiently. Uses … Read more

Action and Func Delegates in C#

In C# programming language, there are various delegates to use. C# provides 2 built-in delegates: Action and Func. This article will cover Action and Func delegates in C#. Before we proceed further, we will first look into delegate. What is a Delegate? A delegate is an object that holds a reference to a method to … Read more

Binary Search: An Efficient Algorithm

Binary Search Algorithm

Binary search is a powerful algorithm, we use this algorithm to find the position of a target value within a sorted array. It works by repeatedly dividing the search interval in half, effectively narrowing down the search area until the target is found. Understanding the Problem Binary search is particularly useful when dealing with large, … Read more

Introduction to Routing in .NET MVC

.NET MVC Tutorial

Routing is the backbone of the .NET MVC web application, determining how URLs map to controller actions. In this article, we will explore the different routing approaches available, from default routing to more advanced attribute-based routing, equipping you with the knowledge to create intuitive and flexible URL structures. Previous Chapter: Temp Data, View Bag, and … Read more

Temp Data, View Bag, and View Data in .NET MVC

.NET MVC Tutorial

In the previous article, we created the first MVC application in Visual Studio 2022. In this article, we will learn the mechanism available in ASP.NET MVC for managing and passing data between your controller and views – Temp Data, View Bag, and View Data. Understand their purpose, scope, and best practices for effective implementation. Previous … Read more

First .NET MVC Application using Visual Studio

.NET MVC Tutorial

MVC is a widely adopted software design pattern that separates an application’s data, user interface, and control logic into three interconnected components: the Model, the View, and the Controller. This architectural pattern promotes code organization, scalability, and maintainability. In our previous article, we saw the fundamentals of .NET MVC. Setting up a New MVC Project … Read more

.NET MVC Tutorial For Beginners and Professionals

.NET MVC Tutorial

This is the first article of the .NET MVC Tutorial series. We will cover every topic of .NET MVC in our MVC Tutorial series. Introduction to the Model-View-Controller (MVC) Architecture The Model-View-Controller (MVC) architecture is a widely adopted software design pattern that separates an application’s data, user interface, and control logic into three interconnected components: … Read more

Cached Repository Pattern in C#

Cached Repository Pattern

In this article, we will learn about Caching a Repository Pattern in C# and .NET 8 and we call this Cached Repository Pattern. If you are new to design patterns then please read this – Design Pattern in C# Download the source code for this article : SharePointCafe GitHub Repository What is a Cached Repository … Read more

C# Amazing New Features

C# Amazing New Features

In this article, we are going to learn about C# amazing new features available in recent releases. For this article, we are picking a couple of the most exciting features of C# versions 10, 11 and 12. So, let’s start. File-scoped Namespace Declaration This feature is one of the most interesting features of C# 10. … Read more

RSS
YouTube
YouTube
Instagram