.NET 8 Features and The Best Practices for High-Performance Application

In this article, we are going to cover about .NET 8 features and will also see the best practices for building high-performance applications. You may like this article: Data Validation and Annotation in .NET MVC .NET 8 Overview .NET 8 is the successor to .NET 7. Microsoft released this version of .NET in November 2023. Microsoft announces … Read more

Policy-Based Authorization in .NET Core With Example

Policy Based Authorization in .NET Core

In this article, we will learn Policy-Based Authorization in .NET Core With Example. We will implement this authorization in .NET Core application. There are many ways to apply authorization in .NET Core, however, in this article, we will focus on Policy-based authorization. So let’s start. Overview of Authorization in Web Applications The process of determining … Read more

.NET MVC with SQL Server Database

.NET MVC Tutorial

In this article, we will learn .NET MVC with SQL Server database and entity framework. Previous Chapter: Routing in MVC The .NET MVC (Model-View-Controller) framework is a popular framework for building web applications. It promotes a clean separation of concerns by dividing the application into three main components: When working with an SQL Server database … Read more

.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

.NET 6, .NET 7 and .NET 8 Performance Comparison

.NET 6, .NET 7 and .NET 8 Performance Comparison

As per Microsoft .NET 8 is more optimized than .NET 7 and .NET 6. Also, .NET 8 is the fastest version compared to .NET 6 and 7. In this article, we will compare .NET 6, 7 and 8 performance with the BenchmarkDotNet library. Read more about the use of BenchmarkDotNet library. Benchmark Compare of .NET … Read more

Benchmarking with BenchmarkDotNet

Benchmarking with BenchmarkDotNet

In this article, we will explore BenchmarkDotNet which is a powerful tool for benchmarking C# code snippets so that we can track the performance of a method we write. So, let’s see this in action. You may like this article: .NET 6, .NET 7 and .NET 8 Performance Comparison What is Benchmarking? Benchmarking is the … Read more

Solved: Only the invariant culture is supported in globalization-invariant mode

Recently, I was developing web API in .NET 8 and found the error saying the below statement with status code 500. Below is the error screenshot. Reason for the Error – The error message indicates that you attempted to use a culture identifier that is not the invariant culture. When enabling the invariant mode, all … Read more

How to Improve API Security in ASP.NET Core for Maximum safety?

An API handle private and delicate information, we really must take on demonstrated strategies to get them. We have numerous ways of securing APIs, beginning with firewalling them behind a Programming interface gateway and getting to them over secure associations. These are all organization and framework level work. In this article we’ll talk about How … Read more

Extracting Text from Images with Azure Cognitive Services

In this Azure article, we will discuss How to Extract Text from an Image Using Azure Cognitive Services, we will also see a few other topics like Azure Cognitive Services to Read Text from Images with Hand-written text. We will perform the below steps to demonstrate the functionality. Azure Cognitive Service to extract text from … Read more

Level Up API Authentication with JWT Refresh Token in ASP.NET CORE and Angular

In this article, will see how can we refresh the JWT Token in Asp.Net Core Web API, once the access token has expired.We will see how the token works and how the JWT refresh token re-authenticates the user. To demonstrate this feature we will use ASP.NET Core API and Angular. Let’s start with the JWT … Read more

RSS
YouTube
YouTube
Instagram