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.

Dependency Injection (DI) is a design pattern that enhances code maintainability and reusability by allowing developers to create loosely coupled components. It facilitates unit testing and supports various implementation methods like constructor, property, and method injection.

This article provides a comprehensive introduction to Expression Trees in C#. You'll learn about their structure, how they represent code as data, and their applications in LINQ queries.

This article demonstrates how to use a helper method in Sitecore to display informative or warning messages within the Experience Editor, aiding Content Authors in managing components effectively.

In this guide, we'll explore how to send emails in ASP.NET Core MVC using SMTP. We'll cover the essential setup, including configuring SMTP settings, creating an email service, and sending messages programmatically.

In MongoDB, logical operators are essential for constructing complex queries by combining multiple conditions. Key operators include $and (for all conditions), $or (for any condition), $not (to negate conditions), and $nor (to exclude all specified conditions).

The Chain of Responsibility is a behavioral design pattern that enables passing requests along a series of handlers. Each handler decides to process the request or forward it to the next in line. This pattern allows for flexible request processing and decouples sender and receiver.

"Code smell" refers to indicators in code that suggest potential problems. Common examples include poor exception handling, magic numbers, and inefficient string operations. Other issues involve neglecting compiler warnings, unnecessary object initialization, and lack of comments.

Discover how to integrate APIs and manage data storage for a seamless messaging experience. Perfect for developers looking to enhance their web applications.

Explains .NET garbage collection, managed and unmanaged resources, finalizers, and how IDisposable and Dispose help release unmanaged resources.

Managing NuGet package versions in large C# solutions can be challenging. The Directory.Packages.props file simplifies this by allowing you to define package versions in one central location, ensuring consistency across all projects.

Microsoft .NET Framework is a Windows-only version of .NET used to build client and server applications. To install it, visit the .NET downloads page, choose the required version, download the executable file, agree to the license terms, and install. Restart your PC to use the framework in Visual Studio.

This guide explains how to enhance your Sitecore website's SEO and security by adding the attributes rel="nofollow", rel="noopener", and rel="noreferrer" to external links.

To export multiple Excel files, various approaches can be used, including downloading a zip file, creating multiple worksheets in a single Excel file, or calling APIs multiple times to retrieve files. Another method involves using Base64 strings, though it's less efficient due to increased file size.

Explores .NET 9 performance topics including Native AOT, garbage collection, multithreading, LINQ, and HTTP/3 with QUIC.

Keyed Service Dependency Injection in .NET allows services to be registered and resolved using unique keys, improving flexibility in scenarios where multiple implementations of an interface are required.

Razor and Blazor are distinct web technologies. Razor is a server-side templating engine in ASP.NET Core MVC, combining HTML with C# for dynamic server-side content. Blazor, in contrast, enables interactive client-side web apps using C#, running directly in the browser and eliminating frequent server calls.

Serilog is a diagnostic logging library for .NET applications. It provides a simple, flexible and powerful way to log application events, errors and other information. This article describes how we can log ASP.NET Core 8 application with Serilog

Build an advanced real-time chat app with .NET 8, SignalR, and MS-SQL. This guide covers creating a chat app with one-to-one and group messaging, utilizing ASP.NET Identity for user roles and permissions. Learn to set up SignalR for real-time updates, configure MVC, and manage database interactions.

Serilog is a powerful .NET logging library that supports structured logging, enhancing application monitoring and debugging. To integrate Serilog with ASP.NET Core and Application Insights, install essential NuGet packages, configure appsettings.json, and set up Serilog in Program.cs.

AES (Advanced Encryption Standard) is a symmetric encryption algorithm using the same key for both encryption and decryption. In C#, AES encryption involves setting up a RijndaelManaged instance with a key, IV, and mode (e.g., CBC). Data is encrypted using CryptoStream and then encoded to Base64. Decryption reverses this process.

Integrate Copilot with Power Automate to streamline business processes. Create a Power Automate flow triggered by Copilot, allowing dynamic inputs like location and booking date. Set up input variables, call APIs for real-time data, and handle responses. Connect and test the flow to automate tasks efficiently.

The RSA algorithm is an asymmetric cryptography method that uses a pair of keys: a public key for encryption and a private key for decryption. This example demonstrates how to use the BouncyCastle library in C# to encrypt data with a public key and decrypt it with a private key, ensuring secure data transmission.

Learn how to leverage Gridify to simplify complex filtering, sorting, and pagination tasks. Perfect for developers seeking to optimize and extend their use of LINQ in C# applications.

Azure Advisor is a digital assistant that optimizes Azure deployments by offering recommendations to enhance cost, performance, reliability, and security. Learn how to pull Azure Advisor reports, configure permissions, and use REST APIs to fetch recommendations.

Learn how each collection type is used in C# programming for efficient data storage and manipulation. Perfect for beginners and developers looking to strengthen their .NET skills.

Guard clauses in .NET are a simple yet powerful technique to improve code readability and maintainability. By handling errors and edge cases early, guard clauses prevent deep nesting and make your code cleaner and easier to understand.

MiniExcel is a lightweight, high-performance .NET library for handling Excel files. Simplifies tasks like reading and writing data with minimal dependencies and fast processing. Ideal for reporting, data export/import, and automation, MiniExcel offers a streamlined approach without the complexity of heavier libraries.

Learn when to use PUT for full resource updates and PATCH for partial modifications. With practical examples, you'll understand their roles in RESTful APIs and best practices.

Learn how to implement an API Gateway in .NET using Ocelot, a powerful open-source library. This guide covers the essentials of routing, load balancing, security, and microservices management in .NET Core.
Everything on .NET, not only its articles: the .NET page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article