Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

This article explains the cause, including breaking changes in build tools, and provides solutions using updated build configurations and global.json settings.

Learn how to test various configurations, optimize deployment pipelines, and enhance the build process for efficient development workflows. Part 1 covers essential setup and testing strategies for .NET environments.

This article covers setting up a GraphQL server, defining queries and mutations, integrating with .NET 8 applications, and optimizing your API development process. Explore HotChocolate’s features for building robust APIs.

Learn how these modifiers control access to classes, methods, and variables, enhancing encapsulation and security in C#. Perfect for developers looking to master access control in .NET Core.

This article explains how JIT compilers optimize code with tiered compilation, profile-guided optimization (PGO), and Ahead-of-Time (AOT) compilation in .NET. It also demonstrates enabling AOT in a Visual Studio application.

This article covers Entity Framework Core, query optimization, caching strategies, lazy and eager loading, and best practices to enhance your MVC application's efficiency.

This article explains the connected and disconnected scenarios in Entity Framework Core for ASP.NET Core MVC applications. It covers how EF Core handles data in these scenarios, including change tracking, entity states, and managing database contexts.

This article covers versioning strategies, best practices, and configuration methods, ensuring backward compatibility and smooth upgrades for your RESTful APIs. Perfect for developers of all levels.

This guide covers mocking dependencies, setting up test projects, and writing efficient unit tests for your applications. Perfect for developers seeking to enhance their testing skills and build robust software.

This article explores Static Lambdas in C# 12, highlighting their performance benefits by preventing variable capture. Examples include sorting, filtering, parallel processing, and array operations, demonstrating efficient and optimized code execution.

Learn about MapGroup in Minimal API, a feature in ASP.NET Core that allows developers to group related API endpoints together for better organization and cleaner code.

Discuss the concept of an API Gateway using a sample .NET (Core) application. In this example, Ocelot (version 23.4.2) is used to manage key functionalities such as routing, rate limiting, and caching.

Create a custom middleware in .NET Core to handle unhandled exceptions, and log errors, and return a user-friendly JSON response. Integrate it into the pipeline and test with endpoints to ensure robust error management.

Learn how to use AES encryption in C# to secure data by encrypting and decrypting files, including CSV or Excel. Explore FileStream, CryptoStream, and the System.Security.Cryptography namespace for robust data protection.

In this article, you will learn about Performance Optimization in .NET Core: Tips and tricks to improve application speed.

One of the main aspects of software testing that a developer can manage themselves is unit testing. It is employed to test your code's tiniest elements. Unit tests are used to verify that your code is functioning as intended or producing the desired results as you develop it.

Learn How to implement localization in ASP.NET Core Web API enables developers to create multilingual applications by supporting various languages and cultures.

Implementing Versioning in ASP.NET Core WebAPI. This article provides a step-by-step guide to implementing versioning in ASP.NET Core WebAPI, enabling backward compatibility, managing API changes, and ensuring seamless transitions between versions with practical examples.

Learn to build a .NET Core application using C# async/await and SQLite with Entity Framework. Implement CRUD operations, handle asynchronous tasks, and explore efficient database interaction using Visual Studio 2022.

Learn how to optimize .NET 8 web apps with token caching using Microsoft Entra ID. Discover in-memory and distributed caching strategies to boost performance, reduce latency, and improve scalability in authentication processes.

This article explores implementing rate limiting using middleware, configuring policies, and handling scenarios like API throttling. Learn to optimize your applications effectively with ASP.NET Core.

Custom authentication filters in ASP.NET Core 6 allow you to implement personalized authentication logic. You can create custom attributes, middleware, or policy-based authorization to manage user access based on roles, claims, or tokens.

In this article, we will learn how to create a .NET Worker Service in Visual Studio, configure it as a Windows Service, and manage it using commands for seamless background task execution.

Discover how to enhance API testing with Visual Studio's .http file feature. Learn to create and execute HTTP requests directly within the IDE, eliminating the need for external tools like Postman.

This article provides step-by-step instructions for building a RESTful API, integrating EF Core for database management, and performing essential data operations seamlessly.

Learn about IExceptionHandler in .NET 8, a robust interface for handling exceptions in ASP.NET Core. Streamline error handling with custom logic, modular design, standardized API responses, and enhanced user-friendly error management.

In this article, we will learn how to configure services, implement constructor injection, and understand DI lifetimes (scoped, transient, singleton) for efficient application design.

Learn how to enhance fault tolerance in .NET 6 applications using Polly. This powerful library helps handle transient faults, timeouts, and resource unavailability with features like retry policies, circuit breakers, and fallback mechanisms.

SQL Server supports JSON for managing semi-structured data. You can store JSON in NVARCHAR(MAX) columns, parse it with JSON_VALUE, JSON_QUERY, and OPENJSON, and modify it using JSON_MODIFY.

Apache Kafka Without ZooKeeper employs the KRaft protocol (KIP 500), replacing ZooKeeper for metadata management. This enables simplified deployment, enhanced reliability, and native support for Kafka's distributed consensus.
Everything on .NET Core, not only its articles: the .NET Core page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article