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.

Discover the vision for .NET 9, Microsoft's next-generation framework. With a focus on cloud-native development, intelligent app integration, productivity enhancements, and performance/security optimizations, explore the future of .NET.

Explore .NET delegates practically in this article. Learn to use delegates for flexible, reusable code. Follow examples, download source code, and understand delegate syntax, including anonymous methods and lambda expressions.

In this article, we'll explore how to integrate Azure Blob Storage with an ASP.NET Core 8 MVC application. We'll focus on creating a dedicated BlobStorageController to perform all blob-related operations, including listing files, uploading, deleting, and downloading.

In this article, you will learn how to get started with test-driven development in C# .NET. est-Driven Development (TDD) in C# with Abdul Rahman, a Senior Software developer. Discover how to write tests before implementation, decouple dependencies, and implement TDD in .NET applications.

In today's digital world, keeping our software safe from cyber threats is super important. For developers working with .NET projects, it's not just a good idea but really necessary to make sure our apps are strong against potential attacks. Luckily, there are lots of tools and tricks within the .NET world to help us do this.

This article explores essential strategies to enhance the security of .NET projects, addressing common threats like SQL injection and XSS. It covers input validation, parameterized queries, authentication, secure communication, XSS prevention, and dependency management for robust application security.

Discover the role and importance of middleware in .NET development. Explore its implementation, patterns, and integration within the ASP.NET request processing pipeline for enhanced application functionality and flexibility.

Learn how to register and resolve keyed services in .NET 8 dependency injection, with an example that selects local or cloud data storage implementations.

What do you mean by polymorphism? Polymorphism is explained with C# examples, Polymorphism, a concept extending beyond programming, is illustrated in everyday scenarios. Electrical outlets serve as an analogy, supporting diverse devices—an example of polymorphism manifesting in real life.

Learn how to identify where .NET assemblies are loaded from using the Visual Studio Modules window and troubleshoot outdated DLLs and missing PDB symbols.

This article will walk you through the process of giving your assembly a strong name and installing it into the GAC. This .NET tutorial guides you through the process of creating a Shared Assembly with a strong name, installing it in the Global Assembly Cache (GAC), and referencing it in other applications.

In this article, we will see how to load the .Net assemblies in the PowerShell and how to access the methods. The class library has been created to encapsulate functionality, forming the foundation of a solution.

This is the third part of a series on .Net assemblies, delving into utilities for assembly manipulation. The Assembly Linker (AL.exe) aids in GAC installation, manifest creation, and resource addition, offering options like specifying entry points and adding version information.

Control class instances in C# by using a counter and private constructor. Explore limiting class instances in C# with a private constructor and a counter variable. Control the instantiation and set a maximum limit for better class management and efficiency.

Deploy an Asp.Net 8 MVC application on Azure App Services using Visual Studio. Learn to create app services, configure settings, and publish the project, making it .

Learn how GC.RefreshMemoryLimit() in .NET 8 refreshes the GC's memory-limit configuration, including its container use cases, return codes, and limitations.

In Part 1, I will cover what exactly an assembly is, and what an assembly contains. Part 1 defines assemblies, their metadata, and types. It clarifies misconceptions between .NET PE files and traditional executables.

In this part, I will discuss both Private and Shared assemblies and how to create a Shared Assembly. The creation process involves the Strong Name utility, signing the assembly, and using the Assembly Linker to place it in the Global Assembly Cache.

This article is about the Global Assembly Cache (GAC) and DLLs relevant to the deployment of applications. It covers assembly creation, referencing, and deployment to the Global Assembly Cache (GAC). The author discusses GAC registration, strong-naming with sn.exe, and deploying DLLs using GACUTIL.exe or a setup project.

The Builder Pattern in C# .NET empowers developers to construct complex objects step by step, enhancing configurability and code maintainability. Learn its components, implementation, and benefits for effective software development.

Create a powerful URL shortener using the versatile .NET framework, specifically ASP.NET Core. This guide walks you through setting up a database, implementing URL shortening logic, and configuring controllers and views.

In this article, learn to dynamically load assemblies across different code bases, addressing challenges of location variations and avoiding locking in the current AppDomain.Explore the significance of new AppDomains, instantiation methods, and interfaces for dynamic loading.

Event Sourcing, a potent architectural pattern in .NET, captures state changes through events, promoting auditability, time travel, and scalability. Learn its implementation and best practices for resilient applications.

Explore the functionalities and use cases of TaskCompletionSource and CancellationTokenSource in the .NET framework for managing asynchronous operations, providing flexibility, and control, and building responsive applications efficiently.

This comprehensive comparison delves into the distinctive attributes of .NET 7 and .NET 8, shedding light on performance, integration capabilities, diagnostic tools, and compatibility. The article navigates through new features in .NET 8, providing insights for a comprehensive understanding. It explores key differences, including performance optimizations, cross-platform development, platform support, and integration conveniences.

Unlock the capabilities of C# 12 in .NET Framework 4.7.2 to 4.8.1 with Visual Studio 2022. Learn the upgrade process, and explore features like literals, nullable types, records, and array expressions. Stay cutting-edge!

Embark on a magical journey into the realm of .NET Dataflow, a library weaving simplicity into parallel programming complexities. Practical examples unveil the enchanting powers of asynchronous programming with elegance and efficiency.

IIS employs System.Web.Caching for efficient output caching. Utilize HttpRuntime.Cache.Insert for CRUD operations, specifying key, value, and optional parameters like dependencies, absolute expiration, and sliding expiration for optimization.

Handlebars.NET, a robust templating engine in the .NET ecosystem, facilitates dynamic content creation for emails and text. With an intuitive syntax and support for helpers and partials, it enhances personalization.

Learn the indispensable Dispose pattern in .NET development for effective resource management. Understand IDisposable, implement the pattern, and follow best practices for reliable and efficient application development.
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