| 1 | What is middleware in Next.js, and when does it run? Next.js › Middleware | Next.js | Middleware | Beginner |
| 2 | How do you limit which routes your middleware actually applies to? Next.js › Middleware | Next.js | Middleware | Beginner |
| 3 | How would you use middleware to redirect users based on their location or device type? Next.js › Middleware | Next.js | Middleware | Intermediate |
| 4 | How do you rewrite a request to a different path using middleware without changing the URL the user sees? Next.js › Middleware | Next.js | Middleware | Intermediate |
| 5 | What performance considerations should you keep in mind when writing middleware, since it runs on every matched request? Next.js › Middleware | Next.js | Middleware | Advanced |
| 6 | What is middleware in ASP.NET Core, and how does it form the request pipeline? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Beginner |
| 7 | How do you register built-in middleware for serving static files in an ASP.NET Core application? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Beginner |
| 8 | What is the purpose of global exception handling middleware in an ASP.NET Core application? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Beginner |
| 9 | What happens by default in ASP.NET Core if you don't configure any global exception handling middleware at all? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Beginner |
| 10 | Why does the order in which middleware is registered matter so much in ASP.NET Core? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 11 | What's the difference between app.Use, app.Run, and app.Map in configuring the middleware pipeline? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 12 | How does short-circuiting work in middleware, and when would you deliberately not call next()? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 13 | What is the purpose of UseExceptionHandler and UseDeveloperExceptionPage middleware, and how should they differ between environments? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 14 | What is middleware in ASP.NET Core, and how does the order in which it's registered affect request handling? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 15 | What is the purpose of the express.static() built-in middleware, and how would you use it to serve a folder of static assets? Node.js › Express & Middleware | Node.js | Express & Middleware | Beginner |
| 16 | What is middleware in the context of a web application, and how does it let you run logic before or after a request is handled by its intended route? PHP › Routing & Middleware | PHP | Routing & Middleware | Beginner |
| 17 | How do you write a custom middleware component as a reusable class instead of an inline lambda? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 18 | How do you conditionally apply middleware only to certain requests using UseWhen or MapWhen? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 19 | How does the HttpContext object serve as the shared state carrier through the middleware pipeline? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 20 | What is the difference between handling exceptions with middleware versus using try/catch blocks directly in controller actions? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Intermediate |
| 21 | What is middleware in Express, and what is the significance of the order in which middleware is registered? Node.js › Express & Middleware | Node.js | Express & Middleware | Intermediate |
| 22 | What is the difference between application-level, router-level, and route-specific middleware in Express? Node.js › Express & Middleware | Node.js | Express & Middleware | Intermediate |
| 23 | What does the express.json() and express.urlencoded() built-in middleware do, and why must it be registered before routes that need to read req.body? Node.js › Express & Middleware | Node.js | Express & Middleware | Intermediate |
| 24 | What is the purpose of the helmet middleware package for an Express application, and what specific security headers does it set? Node.js › Express & Middleware | Node.js | Express & Middleware | Intermediate |
| 25 | What is CORS middleware in Express, and how does the cors package simplify configuring Cross-Origin Resource Sharing? Node.js › Express & Middleware | Node.js | Express & Middleware | Intermediate |
| 26 | What is Middleware in .NET Core? How does the request pipeline work? .NET Core › Middleware & Request Pipeline | .NET Core | Middleware & Request Pipeline | Intermediate |
| 27 | How does a middleware pipeline execute multiple middleware in sequence, and how does the concept of calling the next middleware let each one decide whether to continue processing the request? PHP › Routing & Middleware | PHP | Routing & Middleware | Intermediate |
| 28 | How can route groups let you apply shared configuration, such as a common URL prefix or a set of middleware, to several related routes at once? PHP › Routing & Middleware | PHP | Routing & Middleware | Intermediate |
| 29 | How do you inject scoped (per-request) services into middleware, given that middleware classes are constructed once at app startup? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Advanced |
| 30 | How does UseRouting and endpoint routing (via MapControllers, MapGet, etc.) fit into the middleware pipeline conceptually? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Advanced |
| 31 | 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 |
| 32 | How does the middleware pipeline interact with asynchronous streaming responses, and what precautions are needed? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Advanced |
| 33 | What is the recommended standard order for common middleware in a typical ASP.NET Core Web API pipeline, and why? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Advanced |
| 34 | How would you implement custom middleware to catch and log unhandled exceptions before they reach the exception handler, adding request-specific context? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Advanced |
| 35 | How does exception handling middleware interact with model validation errors in ASP.NET Core, and how do they typically produce different error response paths? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Advanced |
| 36 | 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 |
| 37 | How do you write custom Express middleware that needs to perform asynchronous work, like checking a value against a database, before calling next()? Node.js › Express & Middleware | Node.js | Express & Middleware | Advanced |
| 38 | How would you implement request validation middleware in Express using a schema-validation library like Zod or Joi? Node.js › Express & Middleware | Node.js | Express & Middleware | Advanced |
| 39 | How would you implement a request-logging middleware in Express that captures method, path, status code, and response time for every request? Node.js › Express & Middleware | Node.js | Express & Middleware | Advanced |
| 40 | How would you implement conditional middleware in Express that only applies to certain requests based on a runtime condition? Node.js › Express & Middleware | Node.js | Express & Middleware | Advanced |
| 41 | How would you implement a middleware that adds a correlation/request ID to every incoming request for tracing purposes across a distributed system? Node.js › Express & Middleware | Node.js | Express & Middleware | Advanced |
| 42 | How would you implement a global request timeout middleware in Express to prevent a slow request from hanging indefinitely? Node.js › Express & Middleware | Node.js | Express & Middleware | Advanced |
| 43 | How does middleware priority and ordering affect application behavior when multiple middleware, such as authentication and rate limiting, are applied to the same route together? PHP › Routing & Middleware | PHP | Routing & Middleware | Advanced |
| 44 | What is the purpose of global exception handling middleware in an ASP.NET Core application? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Beginner |
| 45 | What is multipart/form-data, and why does a Node.js server need special middleware (like multer) to handle file uploads? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Beginner |
| 46 | What is response caching middleware in ASP.NET Core, and how does it differ from application-level data caching? .NET › Caching (In-Memory, Distributed & Redis) | .NET | Caching (In-Memory, Distributed & Redis) | Intermediate |
| 47 | Why must UseCors be positioned after UseRouting but before UseAuthorization in the ASP.NET Core middleware pipeline? .NET › CORS & Cross-Origin Resource Sharing | .NET | CORS & Cross-Origin Resource Sharing | Intermediate |
| 48 | What is the purpose of the authentication middleware's position in the pipeline, and why must UseAuthentication come before UseAuthorization? ASP.NET Core › Authentication | ASP.NET Core | Authentication | Intermediate |
| 49 | How does the newer Output Caching middleware (introduced in .NET 7) differ from Response Caching middleware? ASP.NET Core › Caching | ASP.NET Core | Caching | Intermediate |
| 50 | Where must UseCors be positioned in the middleware pipeline relative to UseRouting and UseAuthorization, and why does this order matter? ASP.NET Core › CORS (Cross-Origin Resource Sharing) | ASP.NET Core | CORS (Cross-Origin Resource Sharing) | Intermediate |
| 51 | What is endpoint metadata, and how do attributes like [Authorize] and custom metadata attach to a specific route for later inspection by middleware? ASP.NET Core › Endpoint Metadata, Route Constraints & Templates | ASP.NET Core | Endpoint Metadata, Route Constraints & Templates | Intermediate |
| 52 | What happens by default in ASP.NET Core if you don't configure any global exception handling middleware at all? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Intermediate |
| 53 | How would you exclude health check endpoints from other cross-cutting middleware like authentication, logging, or rate limiting that shouldn't apply to frequent automated health polling? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Intermediate |
| 54 | What is the Middleware (Chain of Responsibility) pattern as implemented by Express, and how does the 'next()' function drive it? Node.js › Architecture & Design Patterns | Node.js | Architecture & Design Patterns | Intermediate |
| 55 | What is Role-Based Access Control (RBAC), and how would you implement it as Express middleware? Node.js › Authentication & Authorization | Node.js | Authentication & Authorization | Intermediate |
| 56 | How can you use middleware to protect multiple routes at once for authentication? Next.js › Authentication & Authorization in Next.js | Next.js | Authentication & Authorization in Next.js | Intermediate |
| 57 | How can middleware help automatically detect a visitor's preferred language and redirect them accordingly? Next.js › Internationalization (i18n) in Next.js | Next.js | Internationalization (i18n) in Next.js | Intermediate |
| 58 | How does gRPC support interceptors for cross-cutting concerns like authentication, logging, and retries, similar to middleware in a REST pipeline? .NET › gRPC Services | .NET | gRPC Services | Advanced |
| 59 | How does the AuthorizationMiddlewareResultHandler let you customize the response returned when authorization fails, beyond the default 401/403? ASP.NET Core › Authorization | ASP.NET Core | Authorization | Advanced |
| 60 | What is response caching middleware, and how does it differ from application-level data caching? ASP.NET Core › Caching | ASP.NET Core | Caching | Advanced |
| 61 | How does IExceptionFilter differ from global exception handling middleware, and when would you choose one over the other? ASP.NET Core › Filters | ASP.NET Core | Filters | Advanced |
| 62 | What are gRPC interceptors, and how do they compare to ASP.NET Core middleware or MVC filters for implementing cross-cutting concerns? ASP.NET Core › gRPC Services | ASP.NET Core | gRPC Services | Advanced |
| 63 | How would you use the Chain of Responsibility pattern to implement a request-processing pipeline (such as middleware-style validation/authentication/logging), and how does this relate conceptually to servlet filters or web framework middleware? Java › Design Patterns in Java | Java | Design Patterns in Java | Advanced |
| 64 | What is a centralized error-handling middleware pattern in Express, and what advantages does it provide over handling errors in each individual route? Node.js › Error Handling | Node.js | Error Handling | Advanced |
| 65 | How does Laravel's middleware system let you filter and process HTTP requests before they reach your application's route handlers, and how do you create custom middleware? PHP › Laravel Framework Essentials | PHP | Laravel Framework Essentials | Advanced |
| 66 | What is the ASP.NET Core Health Checks middleware, and what problem does it solve? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Beginner |
| 67 | What HTTP status code does the health check middleware return by default for each status (Healthy, Degraded, Unhealthy)? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Beginner |
| 68 | How does the UseHttpsRedirection() middleware determine which port to redirect to, and how do you explicitly configure it when the HTTPS port isn't on the default 443? ASP.NET Core › HTTPS, Certificates & Transport Security | ASP.NET Core | HTTPS, Certificates & Transport Security | Intermediate |
| 69 | How do middleware, such as Redux Thunk, help handle asynchronous operations like API calls in Redux? React › State Management Libraries (Redux, Zustand & Recoil) | React | State Management Libraries (Redux, Zustand & Recoil) | Intermediate |
| 70 | How do you specify which runtime a specific route or middleware should use in Next.js? Next.js › Edge Runtime vs Node.js Runtime | Next.js | Edge Runtime vs Node.js Runtime | Intermediate |
| 71 | How would you design a robust global exception handling middleware in ASP.NET Core to convert unhandled exceptions into consistent API error responses? C# › Exception Handling | C# | Exception Handling | Advanced |
| 72 | How does token validation work under the hood when the JwtBearer middleware receives a request, and what checks does it perform? .NET › Authentication & Authorization (Identity, JWT, OAuth) | .NET | Authentication & Authorization (Identity, JWT, OAuth) | Advanced |
| 73 | How do you write custom middleware or an endpoint filter that reads endpoint metadata to conditionally alter its behavior per-route? ASP.NET Core › Endpoint Metadata, Route Constraints & Templates | ASP.NET Core | Endpoint Metadata, Route Constraints & Templates | Advanced |
| 74 | How does exception handling middleware interact with model validation errors, and why do they typically produce two entirely separate error response paths? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Advanced |
| 75 | How would you design a filter-based rate limiting solution before ASP.NET Core 7's built-in rate limiting middleware existed, and why is the built-in middleware now generally preferred? ASP.NET Core › Filters | ASP.NET Core | Filters | Advanced |
| 76 | How would you implement a health check specifically for a gRPC service, distinct from the standard ASP.NET Core health check middleware designed for REST endpoints? ASP.NET Core › gRPC Services | ASP.NET Core | gRPC Services | Advanced |
| 77 | How do you handle exceptions specifically within minimal API endpoints, given they don't use the traditional MVC exception filter pipeline? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Intermediate |
| 78 | How do you write an integration test verifying that your global exception handler produces the correct error response shape? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Intermediate |
| 79 | 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 |
| 80 | What is Express.js, and what problem does it solve compared to using Node.js's raw http module directly? Node.js › Express & Middleware | Node.js | Express & Middleware | Beginner |
| 81 | What is routing in a PHP web application, and how does a router determine which piece of code should handle a specific incoming request? PHP › Routing & Middleware | PHP | Routing & Middleware | Beginner |
| 82 | 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 |
| 83 | How do you map different exception types to different HTTP status codes in a global exception handler? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Intermediate |
| 84 | 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 |
| 85 | What is the role of the [ApiController] attribute in automatically handling certain error scenarios without explicit exception handling code? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Intermediate |
| 86 | 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 |
| 87 | What is the difference between res.send(), res.json(), and res.end() in Express, and when should each be used? Node.js › Express & Middleware | Node.js | Express & Middleware | Intermediate |
| 88 | How do route parameters and route constraints let you capture dynamic segments of a URL while also restricting what values are actually considered a valid match? PHP › Routing & Middleware | PHP | Routing & Middleware | Intermediate |
| 89 | Why is it dangerous to capture and store an HttpContext reference in a singleton-scoped service, and what should you use instead? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Advanced |
| 90 | What is ProblemDetails (RFC 7807/9457), and how does ASP.NET Core support it for standardized error responses? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Advanced |
| 91 | What information should be excluded from error responses in production to avoid leaking sensitive implementation details? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Advanced |
| 92 | How would you structure a large Express application using the Router to organize routes into feature-based or resource-based modules? Node.js › Express & Middleware | Node.js | Express & Middleware | Advanced |
| 93 | How can a custom routing system be designed to support efficient route matching performance even as an application grows to have hundreds or thousands of defined routes? PHP › Routing & Middleware | PHP | Routing & Middleware | Advanced |
| 94 | What is the difference between authentication and authorization in ASP.NET Core? .NET › Authentication & Authorization (Identity, JWT, OAuth) | .NET | Authentication & Authorization (Identity, JWT, OAuth) | Beginner |
| 95 | What is Blazor, and what are the two primary hosting models (Server and WebAssembly)? .NET › Blazor (Server & WebAssembly) | .NET | Blazor (Server & WebAssembly) | Beginner |
| 96 | What is CORS, and why do browsers enforce it? .NET › CORS & Cross-Origin Resource Sharing | .NET | CORS & Cross-Origin Resource Sharing | Beginner |
| 97 | What is dependency injection, and how does ASP.NET Core's built-in DI container support it? .NET › Dependency Injection | .NET | Dependency Injection | Beginner |
| 98 | What is gRPC, and how does it differ from a traditional REST/JSON API? .NET › gRPC Services | .NET | gRPC Services | Beginner |
| 99 | What is authentication in ASP.NET Core, and how does the framework represent an authenticated user? ASP.NET Core › Authentication | ASP.NET Core | Authentication | Beginner |
| 100 | How does Blazor integrate with ASP.NET Core's hosting model, and what are the two primary interactive render modes? ASP.NET Core › Blazor Integration with ASP.NET Core | ASP.NET Core | Blazor Integration with ASP.NET Core | Beginner |
| 101 | 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 |
| 102 | What are MVC filters in ASP.NET Core, and what are the main filter types in the pipeline (authorization, resource, action, exception, result)? ASP.NET Core › Filters | ASP.NET Core | Filters | Beginner |
| 103 | How would you create a basic HTTP server in Node.js using only the built-in node:http module, without any framework? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Beginner |
| 104 | How would you create a basic HTTP server using only Node's built-in node:http module, without a framework like Express? Node.js › HTTP & HTTPS Modules | Node.js | HTTP & HTTPS Modules | Beginner |
| 105 | What is the difference between authentication and authorization in a Next.js application? Next.js › Authentication & Authorization in Next.js | Next.js | Authentication & Authorization in Next.js | Beginner |
| 106 | What is the difference between the Edge Runtime and the Node.js Runtime in Next.js? Next.js › Edge Runtime vs Node.js Runtime | Next.js | Edge Runtime vs Node.js Runtime | Beginner |
| 107 | Why is the Edge Runtime generally faster for responding to users around the world? Next.js › Edge Runtime vs Node.js Runtime | Next.js | Edge Runtime vs Node.js Runtime | Beginner |
| 108 | What is a rewrite in Next.js, and how is it different from a redirect? Next.js › Redirects & Rewrites Configuration | Next.js | Redirects & Rewrites Configuration | Beginner |
| 109 | What is the MVC architectural pattern, and how do the Model, View, and Controller components each play a distinct role in a PHP application? PHP › MVC Architecture in PHP | PHP | MVC Architecture in PHP | Beginner |
| 110 | What is a RESTful API, and how do standard HTTP methods like GET, POST, PUT, and DELETE map to common data operations? PHP › RESTful API Development with PHP | PHP | RESTful API Development with PHP | Beginner |
| 111 | How does Symfony's routing system let you map URLs to controller actions, and what are the different ways routes can be defined? PHP › Symfony Framework Essentials | PHP | Symfony Framework Essentials | Beginner |
| 112 | What are the main strategies for versioning an ASP.NET Core API (URL, query string, header, media type)? .NET › API Versioning | .NET | API Versioning | Intermediate |
| 113 | How do you implement URL-based API versioning using the Asp.Versioning.Mvc package in ASP.NET Core? .NET › API Versioning | .NET | API Versioning | Intermediate |
| 114 | How do you version an API's OpenAPI/Swagger documentation to show separate docs per version? .NET › API Versioning | .NET | API Versioning | Intermediate |
| 115 | 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 |
| 116 | How does JWT (JSON Web Token) authentication work at a high level in ASP.NET Core? .NET › Authentication & Authorization (Identity, JWT, OAuth) | .NET | Authentication & Authorization (Identity, JWT, OAuth) | Intermediate |
| 117 | What are the security risks of storing JWTs in browser localStorage versus HttpOnly cookies? .NET › Authentication & Authorization (Identity, JWT, OAuth) | .NET | Authentication & Authorization (Identity, JWT, OAuth) | Intermediate |
| 118 | How do you call JavaScript from C# code in Blazor (JS interop), and when is it necessary? .NET › Blazor (Server & WebAssembly) | .NET | Blazor (Server & WebAssembly) | Intermediate |
| 119 | How does Blazor handle routing, and what does the @page directive do? .NET › Blazor (Server & WebAssembly) | .NET | Blazor (Server & WebAssembly) | Intermediate |
| 120 | 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 |
| 121 | What are the risks of caching sensitive or user-specific data, and how do you avoid cache poisoning across users? .NET › Caching (In-Memory, Distributed & Redis) | .NET | Caching (In-Memory, Distributed & Redis) | Intermediate |
| 122 | How do you validate configuration options at application startup to fail fast on misconfiguration? .NET › Configuration & Options | .NET | Configuration & Options | Intermediate |
| 123 | How do you configure a CORS policy in ASP.NET Core to allow requests from specific origins? .NET › CORS & Cross-Origin Resource Sharing | .NET | CORS & Cross-Origin Resource Sharing | Intermediate |
| 124 | What is the difference between CORS and CSRF (Cross-Site Request Forgery), and how does CORS relate to (but not fully prevent) CSRF? .NET › CORS & Cross-Origin Resource Sharing | .NET | CORS & Cross-Origin Resource Sharing | Intermediate |
| 125 | How do you troubleshoot a CORS error reported in browser developer tools, and what does the error message typically indicate? .NET › CORS & Cross-Origin Resource Sharing | .NET | CORS & Cross-Origin Resource Sharing | Intermediate |
| 126 | How do you register multiple implementations of the same interface, and how do you resolve all of them together? .NET › Dependency Injection | .NET | Dependency Injection | Intermediate |
| 127 | What is a memory dump, and how do you capture and analyze one for a .NET application experiencing high memory usage or a crash? .NET › Diagnostics & Performance | .NET | Diagnostics & Performance | Intermediate |
| 128 | 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 |
| 129 | What is the difference between SaveChanges() and SaveChangesAsync(), and why does it matter for a web application's scalability? .NET › Entity Framework Core & Data Access | .NET | Entity Framework Core & Data Access | Intermediate |
| 130 | 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 |
| 131 | How do you implement a gRPC server method in ASP.NET Core, and how does it integrate with the standard hosting model? .NET › gRPC Services | .NET | gRPC Services | Intermediate |
| 132 | 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 |
| 133 | How do you apply a global authorization policy requiring authentication by default for every endpoint, with explicit opt-out for public ones? ASP.NET Core › Authorization | ASP.NET Core | Authorization | Intermediate |
| 134 | What is the purpose of the [AllowAnonymous] attribute, and how does it interact with a controller-level [Authorize] attribute? ASP.NET Core › Authorization | ASP.NET Core | Authorization | Intermediate |
| 135 | How does exception handling work differently for Blazor components compared to a typical MVC controller action or minimal API endpoint? ASP.NET Core › Blazor Integration with ASP.NET Core | ASP.NET Core | Blazor Integration with ASP.NET Core | Intermediate |
| 136 | What is the risk of caching sensitive or user-specific data with an incorrectly scoped cache key, and how do you prevent cross-user data leakage? ASP.NET Core › Caching | ASP.NET Core | Caching | Intermediate |
| 137 | What security risk does dynamically reflecting the Origin header back as Access-Control-Allow-Origin introduce, and why is it a dangerous anti-pattern? ASP.NET Core › CORS (Cross-Origin Resource Sharing) | ASP.NET Core | CORS (Cross-Origin Resource Sharing) | Intermediate |
| 138 | How would you troubleshoot a CORS error in browser developer tools, and what's the most common root cause? ASP.NET Core › CORS (Cross-Origin Resource Sharing) | ASP.NET Core | CORS (Cross-Origin Resource Sharing) | Intermediate |
| 139 | What does GetService<T>() return compared to GetRequiredService<T>() when a service isn't registered, and which should application code generally prefer? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Intermediate |
| 140 | How does the IExceptionHandler interface (introduced in .NET 8) provide a more structured alternative to the UseExceptionHandler lambda approach? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Intermediate |
| 141 | How do you map different custom exception types to different HTTP status codes in a global exception handler? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Intermediate |
| 142 | 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 |
| 143 | What is an IResourceFilter, and how does its position in the pipeline (before model binding) make it useful for short-circuiting expensive work? ASP.NET Core › Filters | ASP.NET Core | Filters | Intermediate |
| 144 | How can filters access route values, query string parameters, or the raw HttpContext during execution? ASP.NET Core › Filters | ASP.NET Core | Filters | Intermediate |
| 145 | How do you handle and propagate errors in gRPC, given it doesn't use standard HTTP status codes the way REST does? ASP.NET Core › gRPC Services | ASP.NET Core | gRPC Services | Intermediate |
| 146 | What is a common anti-pattern with catching exceptions too broadly (catch (Exception e) or worse, catch (Throwable t)), and why is it generally discouraged? Java › Exceptions | Java | Exceptions | Intermediate |
| 147 | What is Passport.js, and how do its 'strategies' provide a consistent authentication abstraction across different methods? Node.js › Authentication & Authorization | Node.js | Authentication & Authorization | Intermediate |
| 148 | What is CSRF (Cross-Site Request Forgery), and how do you protect a Node.js session-based application against it? Node.js › Authentication & Authorization | Node.js | Authentication & Authorization | Intermediate |
| 149 | Why doesn't Express automatically catch errors thrown inside an async route handler in versions prior to Express 5, and how do you work around this? Node.js › Error Handling | Node.js | Error Handling | Intermediate |
| 150 | How would you implement a global 'not found' (404) handler in Express for any route that doesn't match a defined endpoint? Node.js › Error Handling | Node.js | Error Handling | Intermediate |
| 151 | How would you validate and restrict uploaded file types and sizes using multer to prevent malicious or oversized uploads? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Intermediate |
| 152 | What is the difference between upload.single(), upload.array(), and upload.fields() in multer? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Intermediate |
| 153 | What is the purpose of the HTTP OPTIONS method, and how does it relate to CORS preflight requests? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Intermediate |
| 154 | How do JWTs, OAuth, and Passport.js fit together in a typical Node.js authentication architecture? Node.js › Authentication & Authorization (JWT, OAuth, Passport) | Node.js | Authentication & Authorization (JWT, OAuth, Passport) | Intermediate |
| 155 | How would you protect a page in the App Router so only logged in users can access it? Next.js › Authentication & Authorization in Next.js | Next.js | Authentication & Authorization in Next.js | Intermediate |
| 156 | How would you conditionally redirect users based on something dynamic, like whether they are logged in, rather than a fixed rule in next.config.js? Next.js › Redirects & Rewrites Configuration | Next.js | Redirects & Rewrites Configuration | Intermediate |
| 157 | How do you set security related HTTP headers, such as Content Security Policy, in a Next.js application? Next.js › Security Best Practices in Next.js | Next.js | Security Best Practices in Next.js | Intermediate |
| 158 | What is Dependency Injection (DI) in .NET Core? How is it implemented? .NET Core › Dependency Injection in .NET Core | .NET Core | Dependency Injection in .NET Core | Intermediate |
| 159 | What is the difference between Kestrel and IIS? .NET Core › Kestrel vs IIS | .NET Core | Kestrel vs IIS | Intermediate |
| 160 | What are Filters in ASP.NET Core MVC? .NET Core › MVC Filters | .NET Core | MVC Filters | Intermediate |
| 161 | How does the $_SERVER superglobal provide useful information about the current request and server environment? PHP › Constants & Superglobals | PHP | Constants & Superglobals | Intermediate |
| 162 | How does routing work in Laravel, and how do you define routes that map incoming URLs to specific controller actions? PHP › Laravel Framework Essentials | PHP | Laravel Framework Essentials | Intermediate |
| 163 | How does a typical request flow through an MVC based PHP application, from the initial incoming HTTP request to the final rendered response? PHP › MVC Architecture in PHP | PHP | MVC Architecture in PHP | Intermediate |
| 164 | How should a well designed RESTful API structure its endpoints and URL naming conventions to remain intuitive and consistent as it grows? PHP › RESTful API Development with PHP | PHP | RESTful API Development with PHP | Intermediate |
| 165 | How can you version a single controller action to support multiple API versions without duplicating the entire controller class? .NET › API Versioning | .NET | API Versioning | Advanced |
| 166 | What is the 'tolerant reader' pattern, and how does it reduce the need for frequent API versioning? .NET › API Versioning | .NET | API Versioning | Advanced |
| 167 | How does ASP.NET Core support multiple authentication schemes simultaneously (e.g., cookies for a web UI and JWT for an API in the same application)? .NET › Authentication & Authorization (Identity, JWT, OAuth) | .NET | Authentication & Authorization (Identity, JWT, OAuth) | Advanced |
| 168 | What are common patterns for implementing a producer-consumer background processing pipeline using Channel<T> with a BackgroundService? .NET › Background Services | .NET | Background Services | Advanced |
| 169 | How does two-way data binding work with @bind in Blazor, and how can you customize the triggering event? .NET › Blazor (Server & WebAssembly) | .NET | Blazor (Server & WebAssembly) | Advanced |
| 170 | How does Blazor's render mode system (Static, Interactive Server, Interactive WebAssembly, Interactive Auto) work in .NET 8+'s unified Blazor model? .NET › Blazor (Server & WebAssembly) | .NET | Blazor (Server & WebAssembly) | Advanced |
| 171 | What is prerendering in Blazor, and what problem does it solve for initial page load experience? .NET › Blazor (Server & WebAssembly) | .NET | Blazor (Server & WebAssembly) | Advanced |
| 172 | What is a CORS preflight request, and when does the browser send one automatically? .NET › CORS & Cross-Origin Resource Sharing | .NET | CORS & Cross-Origin Resource Sharing | Advanced |
| 173 | How do you apply different CORS policies to different endpoints or controllers within the same application? .NET › CORS & Cross-Origin Resource Sharing | .NET | CORS & Cross-Origin Resource Sharing | Advanced |
| 174 | What security risks does an overly permissive CORS policy (like AllowAnyOrigin with credentials attempted, or reflecting the Origin header) introduce? .NET › CORS & Cross-Origin Resource Sharing | .NET | CORS & Cross-Origin Resource Sharing | Advanced |
| 175 | How does CORS interact with a reverse proxy or API gateway sitting in front of multiple backend microservices? .NET › CORS & Cross-Origin Resource Sharing | .NET | CORS & Cross-Origin Resource Sharing | Advanced |
| 176 | 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 |
| 177 | How does gRPC handle errors and status codes, and how does this differ from HTTP status codes in REST? .NET › gRPC Services | .NET | gRPC Services | Advanced |
| 178 | How does prerendering work when a Blazor component is embedded within a traditional Razor Pages or MVC view, and what is the purpose of Component Tag Helpers? ASP.NET Core › Blazor Integration with ASP.NET Core | ASP.NET Core | Blazor Integration with ASP.NET Core | Advanced |
| 179 | How would you configure and use output caching or response caching for the static, non-interactive portions of a Blazor application? ASP.NET Core › Blazor Integration with ASP.NET Core | ASP.NET Core | Blazor Integration with ASP.NET Core | Advanced |
| 180 | How would you cache the results of an expensive, paginated database query while correctly handling different page/filter parameter combinations? ASP.NET Core › Caching | ASP.NET Core | Caching | Advanced |
| 181 | How do you validate configuration options at application startup to fail fast on misconfiguration, using ValidateDataAnnotations and ValidateOnStart? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 182 | How do you write a custom IValidateOptions<T> implementation for validation logic beyond what DataAnnotations attributes can express? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 183 | How would you configure an API to return Problem Details (RFC 7807) formatted error responses consistently across all content types, not just JSON? ASP.NET Core › Content Negotiation & Output Formatters | ASP.NET Core | Content Negotiation & Output Formatters | Advanced |
| 184 | What is a CORS preflight request, and when does the browser automatically send one before the actual request? ASP.NET Core › CORS (Cross-Origin Resource Sharing) | ASP.NET Core | CORS (Cross-Origin Resource Sharing) | Advanced |
| 185 | How would you write an integration test verifying that your global exception handler produces the correct error response shape for a specific exception type? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Advanced |
| 186 | How would you implement a filter that modifies the action's result based on the outcome, such as wrapping every successful response in a standard envelope? ASP.NET Core › Filters | ASP.NET Core | Filters | Advanced |
| 187 | How would you design and implement a global, centralized exception-handling strategy for a Java application (such as a top-level handler in main(), or an uncaught exception handler for background threads), ensuring no exception silently crashes the application without being logged? Java › Exceptions | Java | Exceptions | Advanced |
| 188 | What is a layered (n-tier) architecture in a Node.js/Express application, and what are its typical layers? Node.js › Architecture & Design Patterns | Node.js | Architecture & Design Patterns | Advanced |
| 189 | How would you optimize a Node.js application's JSON serialization performance for API responses with very large or very frequent payloads? Node.js › Performance Optimization & Profiling | Node.js | Performance Optimization & Profiling | Advanced |
| 190 | What security risks are associated with directly trusting values from superglobals like $_SERVER, and how should applications guard against header spoofing? PHP › Constants & Superglobals | PHP | Constants & Superglobals | Advanced |
| 191 | How should a RESTful API handle versioning as its design evolves over time, and what are the tradeoffs between common approaches like URL based versioning and header based versioning? PHP › RESTful API Development with PHP | PHP | RESTful API Development with PHP | Advanced |