.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 BenhcmarkDotNet 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. What is Benchmarking? Benchmarking is the mechanism of measuring the performance of our code written in an application. In other … 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

Performance Boosts and Enhancements: What’s New in .NET 7

After the official release of .NET 6 in 2021, Microsoft has released another new version of .NET 7 in November 2022. What’s New in .NET 7 Features and Updates Microsoft has launched .NET version 7 with an STS (standard-term support) providing only 18 months of support. Considering the new .NET 7 features and updates, it … Read more

How to implement JWT Token Authentication in Angular with .NET Core?

In this article, we will demonstrate JWT Token Authentication in Angular with .NET Core. To implement the JWT Token authentication mechanism, we will use the – What is a JWT Token? JWT stands for JSON Web Tokens. It is a Token-based authentication to communicate with the REST endpoints securely. It is a JSON-based token so you can … Read more

Data Protection in ASP.NET Core

In this article, we will learn about Data Protection in ASP.NET Core: what it is, why we need it and how to implement it in .NET Core-based applications. What is Data Protection? The method of applying security to any data is called data protection. Data Protection plays a very vital role especially when we move … Read more

Introduction to gRPC

For the past many years, we have been using Rest Based Communication. As we know that REST is a flexible architectural style where the client communicates with the server through HTTP. Recently, a new framework for client-server communication has been invented in the industry which we know as gRPC. What is gRPC, and how does … Read more

RSS
YouTube
YouTube
Instagram