| 1 | What is the structure and purpose of a .csproj file in a modern SDK-style .NET project? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Intermediate |
| 2 | What does `dotnet new` do, and how do you list available project templates? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Beginner |
| 3 | How do global.json files pin a specific .NET SDK version for a project or repository? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Intermediate |
| 4 | How do project references (<ProjectReference>) differ from package references, and how do they affect build order? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Advanced |
| 5 | What is the .NET SDK, and how does it differ from the .NET Runtime? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Beginner |
| 6 | What is the dotnet CLI, and what are some of its most commonly used commands? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Beginner |
| 7 | What does the `dotnet watch` command do, and how does it speed up local development? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Beginner |
| 8 | What is a .sln (solution) file, and how does it relate to .csproj project files? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Intermediate |
| 9 | How does target framework moniker (TFM) selection, like net8.0 or net8.0-windows, affect what a project can do? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Intermediate |
| 10 | How do you add, remove, and list NuGet package references using the dotnet CLI? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Intermediate |
| 11 | What is Directory.Build.props, and how does it help manage shared MSBuild settings across multiple projects in a repository? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Advanced |
| 12 | What is the difference between framework-dependent deployment (FDD) and self-contained deployment (SCD)? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Intermediate |
| 13 | What is the difference between dotnet build, dotnet publish, and dotnet run? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Advanced |
| 14 | What are MSBuild properties and items, and how do they control the build process? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Advanced |
| 15 | What is Native AOT (Ahead-of-Time) compilation, and what are its benefits and constraints? .NET › .NET CLI, SDK & Project Structure (csproj) | .NET | .NET CLI, SDK & Project Structure (csproj) | Advanced |
| 16 | Should a brand-new .NET project in 2026 ever target .NET Framework instead of modern .NET? .NET › .NET vs .NET Framework | .NET | .NET vs .NET Framework | Beginner |
| 17 | What is the typical CI/CD pipeline structure for a .NET application? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Beginner |
| 18 | What are the official .NET Docker base images, and what's the difference between the sdk, aspnet, and runtime image variants? .NET › Docker & Containerization | .NET | Docker & Containerization | Beginner |
| 19 | How does packages.config differ from PackageReference, and which is used in Framework versus modern .NET projects? .NET › .NET vs .NET Framework | .NET | .NET vs .NET Framework | Intermediate |
| 20 | How do you create and publish your own NuGet package from a class library project? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Intermediate |
| 21 | What are NuGet package sources, and how do you configure a project to pull packages from a private/internal feed alongside NuGet.org? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Intermediate |
| 22 | How does .dockerignore improve Docker build performance and image cleanliness for .NET projects? .NET › Docker & Containerization | .NET | Docker & Containerization | Intermediate |
| 23 | How does the IExceptionHandler interface (introduced in .NET 8) provide a more structured alternative to the UseExceptionHandler lambda approach? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Intermediate |
| 24 | How do you define a gRPC service contract using Protocol Buffers (.proto files), and how does code generation work in a .NET project? .NET › gRPC Services | .NET | gRPC Services | Intermediate |
| 25 | How would you optimize a Docker image build for a solution with multiple .NET projects sharing common dependencies, to maximize layer cache reuse? .NET › Docker & Containerization | .NET | Docker & Containerization | Advanced |
| 26 | What is the fundamental difference between .NET (formerly .NET Core) and .NET Framework? .NET › .NET vs .NET Framework | .NET | .NET vs .NET Framework | Beginner |
| 27 | What is an assembly in .NET, and what does it contain? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Beginner |
| 28 | What is NuGet, and what problem does it solve for .NET developers? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Beginner |
| 29 | What is the difference between continuous integration (CI) and continuous deployment/delivery (CD)? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Beginner |
| 30 | What is the Generic Host in .NET, and what problem does it standardize across different application types? .NET › Generic Host | .NET | Generic Host | Beginner |
| 31 | What is CIL (Common Intermediate Language), and what role does it play between source code and execution? .NET › CLR & Runtime | .NET | CLR & Runtime | Beginner |
| 32 | What is .NET Standard, and why is it less relevant now compared to a few years ago? .NET › .NET vs .NET Framework | .NET | .NET vs .NET Framework | Intermediate |
| 33 | Can .NET Framework and modern .NET applications be run side by side on the same machine, and how does that work? .NET › .NET vs .NET Framework | .NET | .NET vs .NET Framework | Intermediate |
| 34 | How does language version support differ between .NET Framework and modern .NET, specifically regarding C# language features? .NET › .NET vs .NET Framework | .NET | .NET vs .NET Framework | Intermediate |
| 35 | How does NuGet resolve version conflicts when two packages depend on different versions of the same transitive dependency? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Intermediate |
| 36 | What is the difference between a NuGet package's dependency group targeting different frameworks, and why do multi-targeted packages need this? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Intermediate |
| 37 | What is a NuGet lock file (packages.lock.json), and what problem does it solve for reproducible builds? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Intermediate |
| 38 | How does Blazor WebAssembly's initial load performance compare to Blazor Server, and what techniques mitigate WASM's larger download size? .NET › Blazor (Server & WebAssembly) | .NET | Blazor (Server & WebAssembly) | Intermediate |
| 39 | How do you configure a GitHub Actions workflow to build, test, and publish a .NET application? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Intermediate |
| 40 | What is the purpose of separate build and release pipelines (or stages), and why shouldn't you rebuild the application for each deployment environment? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Intermediate |
| 41 | How do you version and tag Docker images for a .NET application as part of a CI/CD pipeline? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Intermediate |
| 42 | What is the difference between dotnet publish's --self-contained and framework-dependent options in the context of container image builds? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Intermediate |
| 43 | What is JIT (Just-In-Time) compilation, and how does it differ from ahead-of-time (AOT) compilation? .NET › CLR & Runtime | .NET | CLR & Runtime | Intermediate |
| 44 | What is user secrets (dotnet user-secrets), and why should it only be used for local development, never production? .NET › Configuration & Options | .NET | Configuration & Options | Intermediate |
| 45 | How does the command-line configuration provider let you override settings via arguments when running an application? .NET › Configuration & Options | .NET | Configuration & Options | Intermediate |
| 46 | How do third-party DI containers like Autofac integrate with ASP.NET Core's built-in DI abstractions? .NET › Dependency Injection | .NET | Dependency Injection | Intermediate |
| 47 | How does a multi-stage Dockerfile reduce the final image size for a .NET application, and what does each stage typically do? .NET › Docker & Containerization | .NET | Docker & Containerization | Intermediate |
| 48 | How do you configure a .NET application inside a container to listen on the correct port, and what does ASPNETCORE_URLS control? .NET › Docker & Containerization | .NET | Docker & Containerization | Intermediate |
| 49 | What is the difference between Host.CreateApplicationBuilder and the older Host.CreateDefaultBuilder? .NET › Generic Host | .NET | Generic Host | Intermediate |
| 50 | What is the role of IHostLifetime, and how does it differ across console applications, Windows Services, and containers? .NET › Generic Host | .NET | Generic Host | Intermediate |
| 51 | What is user secrets (dotnet user-secrets), and why should it be used only for local development, never production? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Intermediate |
| 52 | How does the command-line configuration provider let you override settings via arguments when running an application, and what's its precedence? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Intermediate |
| 53 | What are Minimal APIs in ASP.NET Core, and when would you choose them over traditional MVC controllers? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 54 | What is the release cadence and Long-Term Support (LTS) model for modern .NET, and how does it differ from Framework's release history? .NET › .NET vs .NET Framework | .NET | .NET vs .NET Framework | Advanced |
| 55 | How do minimal API endpoint filters (IEndpointFilter) compare to traditional middleware for cross-cutting logic? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Advanced |
| 56 | What is Central Package Management (CPM) in NuGet, and how does Directory.Packages.props centralize version control? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Advanced |
| 57 | How does semantic versioning apply to NuGet packages, and what do version range operators like [1.0,2.0) mean? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Advanced |
| 58 | What is the purpose of a multi-stage Dockerfile for .NET applications, and how does it reduce final image size? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Advanced |
| 59 | Why does copying only the .csproj file before the rest of the source code in a Dockerfile improve build caching? .NET › Docker & Containerization | .NET | Docker & Containerization | Advanced |
| 60 | What is Native AOT's benefit for containerized .NET applications specifically, beyond the general startup time improvement? .NET › Docker & Containerization | .NET | Docker & Containerization | Advanced |
| 61 | What is a container health check (HEALTHCHECK instruction), and how does it differ from a Kubernetes liveness/readiness probe? .NET › Docker & Containerization | .NET | Docker & Containerization | Advanced |
| 62 | How do EF Core migrations work, and what is the recommended workflow for applying them safely in production? .NET › Entity Framework Core & Data Access | .NET | Entity Framework Core & Data Access | Advanced |
| 63 | How would you build a console application that supports both interactive command execution and long-running hosted service behavior using the Generic Host? .NET › Generic Host | .NET | Generic Host | Advanced |
| 64 | How does the Generic Host's DI container differ from a full-featured third-party container in terms of the features it deliberately omits? .NET › Generic Host | .NET | Generic Host | Advanced |
| 65 | How do third-party DI containers like Autofac integrate with ASP.NET Core's built-in DI abstractions, and why would a team choose one? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Advanced |