All topics
Backend · Learning hub

.NET cheat sheet & developer notes

.NET cheat sheet and 8 curated developer notes — core concepts, patterns, and interview prep. Maintained by the DevRecall team.

Save this stack to your DevRecallTest yourself — .NET quizMore Backend notes
01 · .NET

Entity Framework Core

.NET: Entity Framework Core. EF Core is the official ORM for .NET. It supports PostgreSQL (Npgsql), SQL Server, SQLite, MySQL, and others. Uses LINQ for queries and Code First migrations.. DbContext & Models. // Models/U…

Read
02 · .NET

Dependency Injection & Middleware

.NET: Dependency Injection & Middleware. Dependency Injection. ASP.NET Core has a built-in DI container. Services are registered in Program.cs and injected via constructor injection.. // Service lifetimes builder.Service…

Read
03 · .NET

Deployment, Performance & Interview Questions

.NET: Deployment, Performance & Interview Questions. Publishing & Docker. # Publish for production dotnet publish -c Release -o ./publish # Self-contained (no runtime needed on target) dotnet publish -c Release -r linux-…

Read
04 · .NET

CLR, Ecosystem & Project Structure

.NET: CLR, Ecosystem & Project Structure. .NET is Microsoft's cross-platform, open-source framework for building web, desktop, mobile, cloud, and IoT applications. .NET 8 (LTS) and .NET 9 are current. The CLR (Common Lan…

Read
05 · .NET

ASP.NET Core Web APIs

.NET: ASP.NET Core Web APIs. Minimal API (modern approach). // Program.cs — entry point and composition root var builder = WebApplication.CreateBuilder(args); builder.Services.AddOpenApi(); builder.Services.AddDbContext<…

Read
06 · .NET

Caching & gRPC

.NET: Caching & gRPC. Caching Strategies. // IMemoryCache — in-process, single server builder.Services.AddMemoryCache(); public class ProductService(IMemoryCache cache, IProductRepository repo) { public async Task<Produc…

Read
07 · .NET

Testing in .NET

.NET: Testing. xUnit Basics. // dotnet add package xunit xunit.runner.visualstudio // dotnet add package Moq // dotnet add package FluentAssertions // dotnet add package Bogus (fake data) public class CalculatorTests { […

Read
08 · .NET

SignalR & Background Services

.NET: SignalR & Background Services. SignalR — Real-Time Communication. SignalR abstracts WebSockets, Server-Sent Events, and Long Polling behind a single Hub API. Clients can receive server pushes without polling.. // P…

Read

Keep your .NET knowledge sharp.

Save this stack to your personal DevRecall — add your own notes, track what you're learning, and share what you know with the community.

Get started — free forever