95 questions for “RESTful Web APIs & Controllers”

Found in 1 field. Select a question to see its full answer.

Information Technology

95 questions in 3 technologies

#QuestionTechnologyTopicLevel
1What is ControllerBase, and why do API controllers typically inherit from it rather than the full Controller class? ASP.NET Core › Controllers vs Minimal APIsASP.NET CoreControllers vs Minimal APIsBeginner
2How do you write integration tests that work consistently for both controller-based and minimal API endpoints using WebApplicationFactory? ASP.NET Core › Controllers vs Minimal APIsASP.NET CoreControllers vs Minimal APIsAdvanced
3How does Blazor handle routing, and what does the @page directive do? .NET › Blazor (Server & WebAssembly).NETBlazor (Server & WebAssembly)Intermediate
4Why is API versioning important for a production web API? .NET › API Versioning.NETAPI VersioningBeginner
5Why does an ASP.NET Core Web API need explicit versioning support, and what package provides it? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningBeginner
6What is gRPC, and what are its main advantages over traditional REST/JSON APIs? ASP.NET Core › gRPC ServicesASP.NET CoregRPC ServicesBeginner
7How do you configure ASP.NET Core to support multiple authentication schemes simultaneously, such as both cookies for a web UI and JWT for an API? ASP.NET Core › AuthenticationASP.NET CoreAuthenticationIntermediate
8How does minimal API content negotiation differ from the [ApiController]-based MVC approach, given minimal APIs return results via IResult? ASP.NET Core › Content Negotiation & Output FormattersASP.NET CoreContent Negotiation & Output FormattersIntermediate
9How does UseRouting and endpoint routing (via MapControllers, MapGet, etc.) fit into the middleware pipeline conceptually? .NET › ASP.NET Core Middleware & Request Pipeline.NETASP.NET Core Middleware & Request PipelineAdvanced
10How 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).NETAuthentication & Authorization (Identity, JWT, OAuth)Advanced