Loading
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.
Learn how AI tutors can help students learn C# programming through personalized explanations, coding practice, debugging support, project guidance, and problem-solving.

Benchmark rival implementations that export identical type names in one BenchmarkDotNet process — no CS0433, no per-provider harness. A fair, apples-to-apples cross-provider comparison using C#'s extern alias feature.

Migrate .NET 8 to .NET 10 LTS: Learn strategies, avoid pitfalls, and automate your enterprise application upgrades for stability.

Unlock enterprise potential with AI-driven capability discovery. Find, classify, and reuse services, APIs, and platforms efficiently.

.NET 11: A complete guide for C# developers! Explore performance boosts, AI integration, cloud-native enhancements, and improved developer productivity. Modernize your apps!

Demystify .NET garbage collection! Learn how it manages memory, optimizes performance, and impacts your C# code. Understand generations, LOH, and best practices.

Troubleshoot .NET build failures in GitHub Actions! This guide covers SDK mismatches, missing dependencies, failing tests, environment issues, and more. Build stable CI/CD pipelines.

Ace your .NET interview! This guide covers frequently asked questions on C#, ASP.NET Core, EF Core, and architectural patterns like Clean Architecture and microservices.

Explore Clean Architecture in .NET for building maintainable, testable, and scalable applications. Learn its principles, layers, and practical implementation.

Modernize .NET development! Learn how .slnx, Central Package Management (Directory.Packages.props), & shared build properties (Directory.Build.props) streamline your workspace.

Avoid common .NET pitfalls! Learn to write efficient, maintainable, and scalable applications by mastering async, DI, exception handling, and clean code.

.NET 8: Discover 8 powerful features for developers! Boost performance with Native AOT, enhanced APIs, built-in rate limiting, and cloud-native optimizations. Build faster, more secure apps!

.NET 9 & 10: A developer's guide to the latest features! Explore performance boosts, AI integration, C# 14, cloud enhancements, and LTS for enterprise apps.

Discover FastEndpoints: a .NET library for building high-performance, maintainable APIs using the REPR pattern. Say goodbye to bloated controllers and embrace structure!

Explore Data Transfer Objects (DTOs) for data shaping, validation, and transformation. Enhance API design, optimize performance, and ensure clean architecture.

Master .NET application performance! This guide covers profiling, monitoring, and logging techniques for identifying bottlenecks and ensuring reliability in ASP.NET Core.

Learn how to use the DebuggerDisplay attribute in .NET to customize object views, inspect values faster, and avoid complex debugger expressions.

Protect sensitive data in .NET with a dynamic masking pipeline. This guide covers architecture, implementation, security, and auditing for senior .NET developers.

Unlock the power of runtime intelligence with .NET Reflection! This article explores how to inspect and manipulate .NET code at runtime, covering key components like Assembly and Type inspection, dynamic member invocation, and custom attributes. Discover practical applications in dependency injection, ORMs, and testing, while learning best practices for performance and security. Explore alternatives like source generators for optimized metadata access.

Dive deep into the .NET Garbage Collector (GC) and its generational approach! Understand Gen 0, Gen 1, and Gen 2, plus the Large Object Heap (LOH). Learn how object promotion works, when full GCs are triggered, and the impact of compaction. Discover GC modes in .NET 8+ and practical performance tips for efficient memory management. Master the .NET GC!

Modernize legacy .NET Framework applications for cloud-native deployment without costly rewrites. This guide outlines an incremental refactoring approach, focusing on containerization, abstraction layers, configuration modernization, and observability. Transition to .NET 8, leverage cloud services, and establish continuous delivery pipelines for agility and improved performance.

Learn how to separate concerns, decouple business logic from infrastructure, and implement a layered architecture in a .NET Web API. Explore the benefits of testability, flexibility, and reduced technical debt. Master best practices for robust and future-proof software development, ensuring your applications evolve gracefully.

Struggling with time zones in .NET 6 scheduled tasks? This guide compares Quartz.NET and Hangfire for handling time-sensitive jobs. Learn how to schedule tasks at specific local times for users in different time zones (India, UK, US) using Quartz.NET's native support. Discover when to use Hangfire for delayed or event-based jobs, and best practices for UTC storage and time zone conversions. Choose the right tool for your .NET 6 Web API!

ASP.NET login controls simplify user authentication for web applications by integrating with ASP.NET membership and forms authentication. These controls offer a ready-to-use interface to query user credentials, validate them using the membership API, and manage user sessions. Customizable properties and integration with CSS .

.NET architecture encompasses the Common Language Runtime (CLR) and Common Type System (CTS), executing Intermediate Language (IL) through Just-In-Time (JIT) compilation.

Access modifiers in C# regulate the accessibility of class members, impacting encapsulation and object-oriented principles. They control the visibility and accessibility of members within classes and assemblies, ensuring proper data encapsulation and code security.

JSON objects and JavaScript objects share similarities but differ in syntax and usage. JSON is a text-based data interchange format, while JavaScript objects are native data structures. JSON follows a stricter syntax and is used primarily for data transfer.

Learn to integrate Visual Studio Add-ins with Win Forms for enhanced user interaction. Utilize Form controls, event handling, and DTE to create a seamless interface. Manage windows, buttons, and lists efficiently for a robust development environment. Learn to integrate Visual Studio Add-ins with Win Forms for enhanced user interaction. Utilize Form controls, event handling, and DTE to create a seamless interface. Manage windows, buttons, and lists efficiently for a robust development environmentLearn to integrate Visual Studio Add-ins with Win Forms for enhanced user interaction. Utilize Form controls, event handling, and DTE to create a seamless interface. Manage windows, buttons, and lists efficiently for a robust development environment."

Accumulator functions, also known as aggregation functions or reduce functions, are essential components in functional programming and data processing. These functions operate on a collection of values and return a single aggregated result. They are often used to perform operations like summing, multiplying, finding the maximum or minimum value, or any other operation that reduces a collection of values to a single result.

Everything on Learn .NET, not only its articles: the Learn .NET page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article