Native AOT Enhancements in .NET 9: What You Need to Know

As .NET continues to evolve, one feature that has been gaining traction is Native AOT (Ahead-of-Time) compilation. With the release of .NET 9, Native AOT sees major improvements, making it more practical, powerful, and production-ready than ever. But what exactly is Native AOT? And why should you care, especially if you’re building fast, lightweight, or … Read more

.NET 8 vs .NET 9: What’s New and Why You Should Upgrade

With the tech world constantly evolving, Microsoft continues to enhance its .NET platform to keep up with modern application development needs. The release of .NET 9 is just around the corner, and it’s packed with exciting improvements. But how does it compare to .NET 8, and why should you consider switching? In this article, we’ll … Read more

Essential VS Code Commands for .NET Core Developers

As a .NET Core developer using VS Code on Windows, optimizing your workflow with the right commands can boost productivity and streamline development. Whether you are coding, debugging, building, or deploying, these essential VS Code commands and .NET CLI commands will make your life easier. 1. Setting Up Your .NET Core Project Create a New … Read more

Swagger Vs OpenAPI

Swagger Vs OpenAPI

In .NET 9, the ASP.NET Core team has removed the default inclusion of Swagger (Swashbuckle) from Web API templates due to maintenance concerns and the desire for a more integrated solution. Instead, .NET 9 introduces built-in support for OpenAPI documentation through the Microsoft.AspNetCore.OpenApi package. This allows developers to generate OpenAPI documents natively without relying on … Read more

.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

RSS
YouTube
YouTube
Instagram