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.

Managed code in .NET refers to programs written in high-level languages like C#, VB.NET, or F# that are compiled into Intermediate Language (IL) or Common Intermediate Language (CIL). This intermediate code is executed by the Common Language Runtime (CLR), which provides essential runtime services such as memory management, garbage collection, and security. The CLR ensures that memory is appropriately allocated and released, minimizing the risk of memory leaks and enhancing security. Managed code benefits from the extensive .NET Framework libraries and features, simplifying development and improving efficiency by offering a wide range of built-in functionalities.

NServiceBus in .NET 7: Simplifying Distributed Systems Communication

SharpZipLib is a library for .NET that allows working with compressed files, particularly ZIP archives. To read a ZIP file using SharpZipLib, you first install the library and import the necessary namespaces. Then, you open the ZIP file using a `ZipFile` object, access its entries (files or folders), and process the entry data according to your application's needs. Finally, ensure to close the ZIP file properly to release associated resources.

This article explains how to use dependency injection in .NET 6 Windows Form Application.

This article explores the best practices for exception handling and logging in .NET 7 APIs, enabling developers to create resilient applications that gracefully handle errors and provide valuable insights for debugging and improvement.

Explore the power of Nuke Build, an open-source, cross-platform build automation tool for .NET. Learn how to create build scripts in C# for efficient, flexible, and extensible workflows.

In this article, we delve into API versioning, a vital component of web API development. It enables you to enhance APIs without disrupting existing client applications, a pivotal aspect of maintaining API stability. Microsoft's .NET 7 introduces improved techniques for API versioning, and here, we explore how to manage API versions in code, investigating various versioning approaches through practical demonstrations.

In this article, we delve into Hexagonal Architecture, a powerful pattern for creating flexible and maintainable software systems. We'll explore its principles and demonstrate its practical application in .NET (C#) API development.

In the .NET ecosystem, three prominent logging frameworks stand out: Serilog, log4net, and NLog. In this article, we'll delve into each of these frameworks, discussing their features and capabilities through detailed examples.

Build a reusable C# BaseSerializable class that saves and restores derived objects using .NET SOAP serialization and file streams.

Learn how to integrate Python seamlessly with .NET applications using IronPython. This open-source implementation of Python is designed to run on the .NET framework, offering access to Python's libraries and modules within the .NET ecosystem.

Explore the differences between CQRS, MediatR, and CRUD in this insightful article. Learn when to use each technique, their unique benefits, and find scenarios where they shine in .NET development.

Learn how Dapr simplifies distributed .NET applications with state management, service invocation, and pub/sub messaging. Examples show DaprClient usage in ASP.NET Core microservices.

Explore webhooks in modern web applications. Learn what webhooks are, their benefits, and how to implement them in .NET with practical examples. Keep your systems in sync effortlessly.

In this article, we delve into the ever-evolving .NET ecosystem, offering developers a wealth of options for crafting exceptional applications. Amid this diversity, it's easy to become overwhelmed by the array of .NET platforms and frameworks available. To aid your understanding, we present a thorough comparison of three pivotal concepts within the .NET realm: .NET Standard, .NET 6, and .NET 6-Windows. We explore their origins, distinctive features, advantages, and ideal use cases. Armed with this knowledge, you'll be better equipped to make an informed choice for your next project.

In this article, we will explore how Content Negotiation works, why it is important, and how we can implement it in .NET 6, the latest version of the .NET that offers many improvements and new features for Web API development.

Explore the Bulkhead Pattern in software development, inspired by ship compartments, for isolating components to enhance reliability using Polly in .NET applications. Includes practical implementation steps.

The .NET Nano Framework simplifies IoT development on resource-limited devices like Raspberry Pi. It enables C# development, cloud integration, and efficient IoT innovation, enhancing the IoT landscape.

In this article we will see the way to send email in ASP.Net C# There are several articles on web for sending an email using ASP.NET and C#. This article explains some important functions and common notable errors.

The Internet of Things (IoT) has transformed industries by connecting devices, sensors, and systems to the Internet, facilitating data exchange. .NET, Microsoft's versatile development platform, plays a pivotal role in IoT. This article delves into how .NET benefits IoT, its challenges, and real-world applications.

Discover Dependency Injection in C# .NET: Learn how to achieve flexible, maintainable, and loosely coupled code by decoupling components in your software. Explore constructor, property, and method injection with practical examples.

LINQ, or Language Integrated Query, is a powerful feature in the .NET framework that simplifies data querying and manipulation in C# and VB.NET applications. It provides a uniform and SQL-like syntax for querying data from various sources, including in-memory collections, databases, XML, and more.

This article provides a comprehensive comparison of three key platforms within the .NET ecosystem: .NET Framework, .NET Core, and .NET 5/.NET 6. It explores their evolution, features, characteristics, development, deployment, community, support, migration considerations, and future prospects.

The .NET Nano Framework revolutionizes IoT development by bringing the power of .NET to resource-constrained devices. It offers C# programming, a small footprint, managed code, security, and cross-platform compatibility.

The .NET Gadgeteer platform, developed by Microsoft Research, simplifies IoT development with modular hardware, C# programming, and integrated development tools, making IoT innovation more accessible.

Learn how to use GrapeCity's GcPdf library to create and manipulate PDF documents in .NET C#. This versatile library offers features like text and image insertion, font customization, table creation, hyperlink embedding, format export, and security enhancements. Follow along as we demonstrate basic PDF creation and explore advanced features to elevate your document generation capabilities.

Explore the power of in-memory caching in .NET for enhanced application performance. Learn about its benefits, how to use MemoryCache, cache policies, and cache dependencies. Optimize your .NET applications for faster response times and reduced resource usage.

Dynamic URL rewriting in ASP.NET is a technique used to modify the URLs of your web application dynamically. It allows you to present friendly and user-readable URLs to your users while internally routing those requests to appropriate pages or handlers. This is often used for SEO-friendly URLs and improving the user experience.

NUnit is a unit-testing framework for .NET applications in which the entire application is isolated into diverse modules and each module is tested independently to ensure that the objective is met.

Publishing a web application in Internet Information Services (IIS) involves several steps. First, ensure your web app is ready. Install IIS if not already done, configure it by creating a website with appropriate settings, and create an application pool. Test it locally. If using a custom domain, set up DNS records and configure firewalls. Optionally, secure with an SSL certificate. Ensure security and permissions, update application settings, and implement monitoring and backup procedures. Keep software up-to-date and be patient with DNS propagation. These steps ensure a successful deployment of your web application on IIS for public access.
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