.NET is Microsoft's open-source developer platform for building web, desktop, cloud and console applications in languages such as C#, F# and Visual Basic. Code runs on a managed runtime that handles memory through garbage collection, and modern .NET runs on Windows, Linux and macOS.

The 84 posts tagged here begin with introductions to .NET, ASP.NET, VB.NET and WinForms that cover use cases, architecture and setup. Many of the most-read guides deal with performance diagnostics. They include step-by-step tutorials for dotnet-counters, dotnet-trace, dotnet-gcdump, PerfView, Windows PerfMon, Visual Studio Profiler and JetBrains dotTrace, and show how to find CPU hot paths, GC pressure and memory leaks. An architecture guide also compares Azure Service Bus, RabbitMQ and Kafka for messaging in .NET and walks through event-driven design with RabbitMQ.

The material is for developers new to the platform, engineers tracking down slow or memory-hungry production services, and architects choosing a message broker for .NET systems.

Start here

Latest .NET articles

Team Foundation Build 2010: Architecture, Build Definitions, and Migration from TFS 2008

Team Foundation Build 2010 introduced a controller/agent build architecture, richer build definitions, and gated check-in workflows for TFS teams. This revised guide turns the original topic list into a practical reference for setup, customization, and migration planning.

Read More

Host Your Own NuGet Feed: Local Source vs NuGet.Server vs NuGetGallery

Learn how to host a private NuGet feed using three practical approaches: a local folder source, NuGet.Server, and NuGetGallery. This revised guide includes setup steps, command examples, and a workflow diagram to help you choose the right model.

Read More

Publish NuGet Packages to NuGet.org: CLI Steps, Workflow, and CI Example

Learn how to publish a NuGet package to NuGet.org using either nuget.exe or the dotnet CLI. This revised guide includes a workflow diagram, command comparison, and a CI-friendly example.

Read More

How to Create NuGet Packages with nuget.exe (Assembly, .nuspec, and .csproj Methods)

Learn three practical ways to build NuGet packages using nuget.exe: from an existing assembly, from a convention-based folder layout, or directly from a Visual Studio project. This guide includes commands, folder conventions, token behavior, and common pitfalls.

Read More

.NET Build and Release Training: Curriculum, Toolchain, Workflow, and Enrollment

A structured, engineer-friendly rewrite of the original .NET Build and Release course page. Review objectives, tool coverage, CI/CD workflow, prerequisites, fees, and key links in one place.

Read More

NAnt Training Guide for Build and Release Engineers: Syllabus, Labs, and Workflow

A revised NAnt training page focused on practical skills for SCM, build, and release engineers. It includes the original syllabus topics, delivery options, a CI workflow diagram, and hands-on NAnt examples.

Read More

MSBuild Training Guide: Basics, Custom Targets, Logging, and Troubleshooting

A practical, updated MSBuild training reference based on the original course outline. Learn how MSBuild works, how to customize builds, and how to troubleshoot slow or failing pipelines.

Read More

Continuous Integration Training Blueprint for .NET Teams (MSBuild, TeamCity, NUnit, NCover, FxCop, Web Deploy)

This revised guide converts an older CI course announcement into a practical training blueprint for build and release teams. It maps each tool to the pipeline, shows a workflow diagram, and includes realistic command-line examples for labs.

Read More

MSBuild Quick Start for DevOps: Projects, Targets, Tasks, and CLI Builds

Learn how MSBuild works from the inside out, including projects, properties, items, targets, and tasks. This revised guide adds a build workflow diagram, command examples, and practical usage patterns for automation.

Read More

Running MSBuild 4.0 and 3.5 Side by Side on Legacy CruiseControl.NET CI

If your CI server started failing after projects were upgraded to Visual Studio 2010, the usual cause is that jobs still invoke MSBuild 3.5. This guide shows a legacy-compatible fix: install .NET 4.0, copy required MSBuild targets, and update ccnet.config while keeping 3.5 builds available.

Read More

Master MSBuild: The Essential Guide for Modern Developers

Introduction In the world of software development, automation is no longer a luxury—it’s an absolute necessity. As applications grow more complex and release cycles accelerate, having a…

Read More

Top 10 Best .NET performance tools

Tool Category / Purpose What Problem It Solves Why Use This Tool (Key Strengths) When to Use (Training/Capstone Flow) dotnet-counters Live runtime diagnostics Check CPU, GC, allocations,…

Read More

DOTNET: Capstone Project for DOTNET Performance Optimization

1. Recommended GitHub Application Chosen app: NimblePros/eShopOnWeb Repo: https://github.com/NimblePros/eShopOnWeb (GitHub) Why this one: We’ll treat: 2. Capstone: High-Level Structure Your “DOTNET Performance Optimization Capstone” will use eShopOnWeb…

Read More

Database Performance Optimization in .NET + MSSQL

A Complete End-to-End Guide for High-Performance Data Access in ASP.NET Applications ⭐ PREFACE Modern ASP.NET applications rely heavily on databases—not just to store records, but to power…

Read More

DOTNET: Kestrel-only / ASP.NET Core hosting-side performance techniques

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

DOTNET: IIS Performance Checklist

✅ IIS-Only Performance Optimization Settings (Complete List) 1. Application Pool Settings (IIS Core) ✔ Start Mode ✔ Idle Time-out ✔ Worker Process Settings ✔ Recycling Settings 2….

Read More

DOTNET: How to improve an application performance of DOTNET? A Complete Checklist

0. First principle: measure before tuning Before touching settings: 1. OS & Hardware-level optimizations These are outside IIS but critical: 2. IIS application pool tuning 2.1 .NET…

Read More

DOTNET: RabbitMQ with .net Demo and Lab Example

We’ll run RabbitMQ in Docker on an AWS EC2 instance, and use your Windows laptop for both the producer and consumer. I’ll walk you through: 1. Provision…

Read More

DOTNET: High-Performance Messaging in .NET: Service Bus vs RabbitMQ vs Kafka (and Event-Driven Architecture with RabbitMQ)

1. Big picture – why messaging in .NET? In modern .NET systems, you almost never want services talking to each other via direct HTTP calls only. Messaging…

Read More

DOTNET: RPC with GRPC and REST and its Performance Impact

Below is a complete, runnable .NET 8 demo where: You’ll be able to feel the difference. 1. Solution structure We’ll build this: Target: .NET 8.0 (works with…

Read More

DOTNET: Memory Optimization in .NET with ValueTask

Here’s a single, self-contained console app that lets you experience the difference between: You’ll see timing + GC stats for both in the same run. 1️⃣ Full…

Read More

DOTNET: Memory Optimization in .NET with Span

This is a perfect demo topic. Here’s a single, self-contained console app that lets you feel the difference between: You’ll get timing + GC stats for both…

Read More

DOTNET: Memory Optimization in .NET with Object Pooling

Here’s a single, self-contained console app you can run to see and feel the difference between: It includes: Works on any modern .NET (7/8/9/10+). 1️⃣ Full Code…

Read More

BenchmarkDotNet: DOTNET Lab & Demo

Let’s build a single, clean demo project that you can use in training as: It will show: Let’s build a single, clean demo project that you can…

Read More

Benchmarking & BenchmarkDotNet – The Ultimate Complete Tutorial

1. What Are Benchmarks? A benchmark is a controlled, repeatable experiment that measures the performance characteristics of a piece of code. A good benchmark answers questions like:…

Read More

DOTNET: Threading Design Example threading anti-patternsm, proper async/await & concurrency behavior

We can do this with one self-contained minimal API that has: 1️⃣ Create the project Replace all contents of Program.cs with this: This single file gives you:…

Read More

DOTNET: Understanding Garbage Collection with Gen0, Gen1, Gen2

Yes, we can absolutely do this in one self-contained program 👍You’ll be able to: Below is a single Program.cs you can drop into a new console app….

Read More

DOTNET: Understanding Memory leaks and Debugging using dotMemory

I’ll give you: 1️⃣ Create the demo app Now replace the entire Program.cs with this: This is self-sufficient: one file, no extra classes, no extra projects. 2️⃣…

Read More

DOTNET: TLS & Its Versions impact on Performance

This will be a fun little lab. Let’s make one self-contained Program.cs you can run from command line and flip between TLS 1.2 and TLS 1.3 without…

Read More

PerfView: A Complete Tutorial Guide

PerfView is basically the Swiss-army knife for .NET performance—CPU, GC, memory, thread time, and arbitrary ETW events—all in one (slightly ugly but insanely powerful) tool. Let’s turn…

Read More

.NET: frequently asked questions

What is the difference between .NET Framework and .NET?

.NET Framework is the original Windows-only implementation and is now in maintenance mode. .NET, formerly .NET Core, is the cross-platform, open-source successor where new features and development happen.

Which tool should I use to diagnose high CPU in a .NET app?

Start with dotnet-counters monitor to confirm what is happening at runtime. Then capture a trace with dotnet-trace or PerfView and look for the hot paths in the CPU samples.

How do I find a memory leak in .NET?

Take several heap snapshots over time with dotnet-gcdump and compare them to see which object types keep growing. For deeper analysis, a full process dump from dotnet-dump or a profiler such as Visual Studio Profiler shows what is holding those objects.

How do I install the .NET diagnostic tools?

They are distributed as .NET global tools, for example dotnet tool install --global dotnet-counters. The same pattern works for dotnet-trace, dotnet-gcdump and dotnet-dump.