Microsoft Learn: .NET
Microsoft's official .NET and C# documentation, with free tutorials and learning paths from a first console app up to cloud apps.
Other .net tools, in our recommended order. About MassTransit →
Microsoft's official .NET and C# documentation, with free tutorials and learning paths from a first console app up to cloud apps.
Official ASP.NET Core documentation: minimal APIs, controllers, middleware, authentication and hosting, with tutorials for each.
Microsoft's ORM for .NET. Map C# classes to tables, query with LINQ, and manage schema changes with migrations. Works with SQL Server, PostgreSQL (via Npgsql), SQLite and others.
Lightweight object mapper: you write the SQL, Dapper maps the rows to C# objects. Very little overhead, which is why it's often used next to EF Core for performance-critical queries.
The standard .NET driver for PostgreSQL, and the base of the EF Core PostgreSQL provider.
Popular unit testing framework for .NET, used by the .NET team itself. Tests are plain methods marked [Fact] or [Theory], and a new instance of the test class runs for each test.
Mocking library for .NET with a short, readable syntax: create a substitute for an interface, set return values and check calls.
Starts real throwaway Docker containers, such as PostgreSQL, Redis or RabbitMQ, from your tests, so integration tests run against the real thing instead of in-memory fakes.
Structured logging for .NET: log events carry named properties, not just text, and can be sent to the console, files, Seq, Elasticsearch and many other sinks.
Framework on top of ASP.NET Core minimal APIs where each endpoint is its own class with its request, response and validation. An alternative to controllers that keeps endpoints small.
Turns a REST API into a C# interface: you declare methods with attributes like [Get("/users/{id}")] and Refit generates the HttpClient code.
Resilience library for .NET: retries, timeouts, circuit breakers and rate limiting around calls that can fail. Microsoft's HTTP resilience packages are built on it.
Validation library where rules are written in C# with a fluent syntax, such as RuleFor(x => x.Email).EmailAddress(), kept separate from your models.
Background jobs for .NET: fire-and-forget, delayed and recurring jobs stored in your database, with a built-in dashboard. The core is free; Hangfire Pro adds paid extras.
In-process mediator: send a request object and MediatR calls its handler, often used for CQRS-style code. Newer versions need a licence key; there is a free Community licence for smaller companies and non-profits.
Free Material Design component library for Blazor: tables, forms, dialogs, charts and more, written in C# with little JavaScript.
Library for measuring .NET code performance properly: it handles warm-up, repeats runs and reports statistics and memory allocations.
Cross-platform .NET IDE from JetBrains with ReSharper's refactorings and inspections built in. Free for non-commercial use; paid for commercial work.
Scratchpad for C#: run snippets and query databases with LINQ or SQL, and see results as tables, without creating a project. Free edition; paid editions add autocompletion and more.
End-to-end testing from Microsoft for Chromium, Firefox and WebKit, with auto-waiting, tracing and a code generator. Also has Python, .NET and Java versions.