| 1 | 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 |
| 2 | 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 |
| 3 | 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 |
| 4 | 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 |
| 5 | 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 |
| 6 | How do you call an existing ASP.NET Core minimal API or controller endpoint from a Blazor WebAssembly component using HttpClient? ASP.NET Core › Blazor Integration with ASP.NET Core | ASP.NET Core | Blazor Integration with ASP.NET Core | Intermediate |
| 7 | 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 |
| 8 | 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 |
| 9 | 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 |
| 10 | How would you implement a simple HTTP server (not just a client) using the lightweight com.sun.net.httpserver.HttpServer class bundled with the JDK, without a full framework like Spring? Java › Java Networking & HTTP Client | Java | Java Networking & HTTP Client | Advanced |
| 11 | What is the fundamental difference between .NET (formerly .NET Core) and .NET Framework? .NET › .NET vs .NET Framework | .NET | .NET vs .NET Framework | Beginner |
| 12 | 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 |
| 13 | What is the modern java.net.http.HttpClient (introduced in Java 11), and how does it improve on the older HttpURLConnection for making HTTP requests? Java › Java Networking & HTTP Client | Java | Java Networking & HTTP Client | Beginner |
| 14 | 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 |
| 15 | 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 |
| 16 | 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 |
| 17 | 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 |
| 18 | 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 |
| 19 | What is the java.net.Socket and ServerSocket class pair, and how would you implement a basic TCP client-server communication using them at a lower level than HttpClient? Java › Java Networking & HTTP Client | Java | Java Networking & HTTP Client | Intermediate |
| 20 | 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 |
| 21 | 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 |
| 22 | How would you implement a WebSocket client using java.net.http.WebSocket for real-time, bidirectional communication, and how does its event-driven Listener interface work? Java › Java Networking & HTTP Client | Java | Java Networking & HTTP Client | Advanced |
| 23 | 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 |
| 24 | 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 |
| 25 | 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 |
| 26 | 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 |
| 27 | 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 |
| 28 | 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 |
| 29 | What is CORS, and why does an ASP.NET Core API need to explicitly configure it for browser-based clients on a different origin? ASP.NET Core › CORS (Cross-Origin Resource Sharing) | ASP.NET Core | CORS (Cross-Origin Resource Sharing) | Beginner |
| 30 | How do you generate and use a strongly-typed gRPC client in a .NET application to call a gRPC service? ASP.NET Core › gRPC Services | ASP.NET Core | gRPC Services | Intermediate |
| 31 | How does ASP.NET Core decide which output format to use when a client's Accept header lists multiple acceptable types with quality values (q-values)? ASP.NET Core › Content Negotiation & Output Formatters | ASP.NET Core | Content Negotiation & Output Formatters | Intermediate |
| 32 | How does ASP.NET Core determine the original client IP address and scheme (HTTP/HTTPS) when running behind a reverse proxy that terminates TLS and forwards requests, given the app only sees the proxy's connection? ASP.NET Core › Hosting Models: Kestrel, IIS & Reverse Proxies | ASP.NET Core | Hosting Models: Kestrel, IIS & Reverse Proxies | Intermediate |
| 33 | How would you generate a client SDK automatically from an ASP.NET Core API's OpenAPI specification? ASP.NET Core › API Documentation with Swagger/OpenAPI | ASP.NET Core | API Documentation with Swagger/OpenAPI | Advanced |
| 34 | How would you implement mutual TLS (mTLS) authentication in ASP.NET Core, where the server also validates a client-presented certificate? ASP.NET Core › HTTPS, Certificates & Transport Security | ASP.NET Core | HTTPS, Certificates & Transport Security | Advanced |
| 35 | 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 |
| 36 | What is an assembly in .NET, and what does it contain? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Beginner |
| 37 | What is NuGet, and what problem does it solve for .NET developers? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Beginner |
| 38 | What is the typical CI/CD pipeline structure for a .NET application? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Beginner |
| 39 | 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 |
| 40 | What is the Generic Host in .NET, and what problem does it standardize across different application types? .NET › Generic Host | .NET | Generic Host | Beginner |
| 41 | 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 |
| 42 | 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 |
| 43 | 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 |
| 44 | 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 |
| 45 | How does .dockerignore improve Docker build performance and image cleanliness for .NET projects? .NET › Docker & Containerization | .NET | Docker & Containerization | Intermediate |
| 46 | 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 |
| 47 | 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 |
| 48 | 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 |
| 49 | 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 |
| 50 | What is Native AOT's benefit for containerized .NET applications specifically, beyond the general startup time improvement? .NET › Docker & Containerization | .NET | Docker & Containerization | Advanced |
| 51 | 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 |
| 52 | 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 |
| 53 | How do you use the Clipboard and Share APIs? .NET MAUI › Device Features & Essentials | .NET MAUI | Device Features & Essentials | Intermediate |
| 54 | How do you use the Clipboard and Share APIs? .NET MAUI › Device Features & Essentials | .NET MAUI | Device Features & Essentials | Intermediate |
| 55 | What HTTP caching headers (Cache-Control, ETag) can a client and CDN use, and how do they relate to server-side caching strategies? .NET › Caching (In-Memory, Distributed & Redis) | .NET | Caching (In-Memory, Distributed & Redis) | Intermediate |
| 56 | What is gRPC-Web, and why is it needed for calling gRPC services directly from a browser-based JavaScript client? .NET › gRPC Services | .NET | gRPC Services | Intermediate |
| 57 | Why is it important to validate a server's TLS certificate when making outbound HttpClient calls to external services, and what's the risk of disabling certificate validation? ASP.NET Core › HTTPS, Certificates & Transport Security | ASP.NET Core | HTTPS, Certificates & Transport Security | Intermediate |
| 58 | How do you configure CORS to expose custom response headers to client-side JavaScript using Access-Control-Expose-Headers? .NET › CORS & Cross-Origin Resource Sharing | .NET | CORS & Cross-Origin Resource Sharing | Advanced |
| 59 | How do you handle exceptions that occur during response streaming, after the response has already partially started sending to the client? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Advanced |
| 60 | What HTTP status code should an API return when it cannot produce a response in any format the client's Accept header requests? ASP.NET Core › Content Negotiation & Output Formatters | ASP.NET Core | Content Negotiation & Output Formatters | Beginner |
| 61 | How do you register and use HttpClient with IHttpClientFactory in MAUI? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Intermediate |
| 62 | How do you register and use HttpClient with IHttpClientFactory in MAUI? .NET MAUI › Dependency Injection & Services | .NET MAUI | Dependency Injection & Services | Intermediate |
| 63 | How do you communicate API version deprecation to clients using response headers? .NET › API Versioning | .NET | API Versioning | Intermediate |
| 64 | What HTTP status code and response should an API return when a client requests a version that no longer exists or was never supported? .NET › API Versioning | .NET | API Versioning | Intermediate |
| 65 | What is the OAuth 2.0 Client Credentials flow, and when is it used instead of the Authorization Code flow? .NET › Authentication & Authorization (Identity, JWT, OAuth) | .NET | Authentication & Authorization (Identity, JWT, OAuth) | Intermediate |
| 66 | How should a global exception handler differentiate between exceptions that should return specific client-facing details versus exceptions that should always show a generic message? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Intermediate |
| 67 | How would you version a gRPC service's contract while maintaining backward compatibility with existing clients? .NET › gRPC Services | .NET | gRPC Services | Intermediate |
| 68 | How does client-side load balancing work for gRPC when calling a service with multiple backend instances, without a dedicated load balancer? .NET › gRPC Services | .NET | gRPC Services | Intermediate |
| 69 | How do you configure a sunset date for a deprecated API version so clients receive a clear removal timeline? ASP.NET Core › API Versioning | ASP.NET Core | API Versioning | Intermediate |
| 70 | What is the difference between AuthorizeAttribute's behavior returning 401 versus 403, and what determines which one a client receives? ASP.NET Core › Authorization | ASP.NET Core | Authorization | Intermediate |
| 71 | What is the [Produces] attribute, and how does it restrict which content types a specific action can return regardless of what the client's Accept header requests? ASP.NET Core › Content Negotiation & Output Formatters | ASP.NET Core | Content Negotiation & Output Formatters | Intermediate |
| 72 | How do you configure CORS to expose custom response headers (like X-Total-Count for pagination) to client-side JavaScript? ASP.NET Core › CORS (Cross-Origin Resource Sharing) | ASP.NET Core | CORS (Cross-Origin Resource Sharing) | Intermediate |
| 73 | How should a global exception handler differentiate between exceptions meant for client-facing details versus exceptions that should always show a generic message? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Intermediate |
| 74 | How do you stream a large file back to the client as a download response without loading the entire file into memory first? ASP.NET Core › File Uploads & Streaming Large Files | ASP.NET Core | File Uploads & Streaming Large Files | Intermediate |
| 75 | How do you validate an uploaded file's actual content type (not just its client-supplied extension or Content-Type header) to prevent malicious file uploads? ASP.NET Core › File Uploads & Streaming Large Files | ASP.NET Core | File Uploads & Streaming Large Files | Intermediate |
| 76 | How would you design exception handling middleware to support internationalized (localized) error messages returned to clients in different languages? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Advanced |
| 77 | What are the four types of gRPC service methods (unary, server streaming, client streaming, bidirectional streaming), and when is each appropriate? .NET › gRPC Services | .NET | gRPC Services | Advanced |
| 78 | How do you document and test webhook or callback endpoints (server-initiated calls to a client-registered URL) in OpenAPI 3.1? ASP.NET Core › API Documentation with Swagger/OpenAPI | ASP.NET Core | API Documentation with Swagger/OpenAPI | Advanced |
| 79 | How do you combine multiple version reader strategies (e.g., both URL segment AND header) to give clients flexibility in how they specify a version? ASP.NET Core › API Versioning | ASP.NET Core | API Versioning | Advanced |
| 80 | How do you handle exceptions that occur during response streaming, after the response has already partially started sending to the client? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Advanced |
| 81 | How would you design exception handling to support internationalized (localized) error messages returned to different clients in their preferred language? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Advanced |
| 82 | How would you implement upload progress reporting to a client during a large file upload, given HTTP doesn't natively provide this? ASP.NET Core › File Uploads & Streaming Large Files | ASP.NET Core | File Uploads & Streaming Large Files | Advanced |
| 83 | How do the four gRPC method types (unary, server streaming, client streaming, bidirectional streaming) differ, and when would you use each? ASP.NET Core › gRPC Services | ASP.NET Core | gRPC Services | Advanced |
| 84 | How would you design a gRPC-based service to gracefully handle protobuf schema evolution (adding/removing fields) without breaking existing deployed clients? ASP.NET Core › gRPC Services | ASP.NET Core | gRPC Services | Advanced |
| 85 | What is the difference between continuous integration (CI) and continuous deployment/delivery (CD)? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Beginner |
| 86 | What is CIL (Common Intermediate Language), and what role does it play between source code and execution? .NET › CLR & Runtime | .NET | CLR & Runtime | Beginner |
| 87 | 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 |
| 88 | How do you create and publish your own NuGet package from a class library project? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Intermediate |
| 89 | 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 |
| 90 | 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 |
| 91 | 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 |
| 92 | 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 |
| 93 | 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 |
| 94 | 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 |
| 95 | 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 |
| 96 | 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 |
| 97 | How does the command-line configuration provider let you override settings via arguments when running an application? .NET › Configuration & Options | .NET | Configuration & Options | Intermediate |
| 98 | What is the difference between Host.CreateApplicationBuilder and the older Host.CreateDefaultBuilder? .NET › Generic Host | .NET | Generic Host | Intermediate |
| 99 | 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 |
| 100 | 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 |
| 101 | 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 |
| 102 | What is Central Package Management (CPM) in NuGet, and how does Directory.Packages.props centralize version control? .NET › Assemblies & NuGet | .NET | Assemblies & NuGet | Advanced |
| 103 | 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 |
| 104 | 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 |
| 105 | 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 |
| 106 | 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 |
| 107 | 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 |
| 108 | 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 |
| 109 | How do you call a REST API in MAUI? .NET MAUI › Networking & APIs | .NET MAUI | Networking & APIs | Beginner |
| 110 | How do you call a REST API in MAUI? .NET MAUI › Networking & APIs | .NET MAUI | Networking & APIs | Beginner |
| 111 | How do you implement resilient HTTP calls (retries, timeouts) in MAUI? .NET MAUI › Networking & APIs | .NET MAUI | Networking & APIs | Intermediate |
| 112 | How do you implement resilient HTTP calls (retries, timeouts) in MAUI? .NET MAUI › Networking & APIs | .NET MAUI | Networking & APIs | Intermediate |
| 113 | How do you configure gRPC to work correctly when hosted behind a reverse proxy or load balancer, given gRPC's reliance on HTTP/2? ASP.NET Core › gRPC Services | ASP.NET Core | gRPC Services | Intermediate |
| 114 | What is certificate pinning, and why is it generally discouraged for typical web API scenarios despite its security benefits? ASP.NET Core › HTTPS, Certificates & Transport Security | ASP.NET Core | HTTPS, Certificates & Transport Security | Intermediate |
| 115 | How do you implement authentication token refresh transparently for API calls? .NET MAUI › Networking & APIs | .NET MAUI | Networking & APIs | Advanced |
| 116 | How do you implement authentication token refresh transparently for API calls? .NET MAUI › Networking & APIs | .NET MAUI | Networking & APIs | Advanced |
| 117 | How would you implement deadline/timeout propagation across a chain of gRPC calls to prevent cascading resource exhaustion when a downstream service is slow? ASP.NET Core › gRPC Services | ASP.NET Core | gRPC Services | Advanced |
| 118 | How would you set a per-check timeout to prevent one slow or hanging dependency check from blocking the entire /health endpoint response indefinitely? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Advanced |