All fields

“API Versioning” in Information Technology

45 questions across 5 technologies.

Information Technology

45 questions in 5 technologies

#QuestionTechnologyTopicLevel
1Why is API versioning important for a production web API? .NET › API Versioning.NETAPI VersioningBeginner
2How do you implement URL-based API versioning using the Asp.Versioning.Mvc package in ASP.NET Core? .NET › API Versioning.NETAPI VersioningIntermediate
3How can feature flags be used as an alternative or complement to formal API versioning for rolling out changes gradually? .NET › API Versioning.NETAPI VersioningIntermediate
4How do you implement URL segment-based API versioning for controllers using [ApiVersion] and route templates? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningIntermediate
5How does header-based API versioning work, and what's a scenario where it's preferred over URL segment versioning? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningIntermediate
6How does query string-based API versioning work, and what are its trade-offs compared to URL segment versioning? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningIntermediate
7How do you handle API versioning for gRPC services, given gRPC's contract is defined via .proto files rather than URL routes? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningIntermediate
8What is the 'tolerant reader' pattern, and how does it reduce the need for frequent API versioning? .NET › API Versioning.NETAPI VersioningAdvanced
9How do you implement API versioning for minimal API endpoints, since they don't use controller attributes? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningAdvanced
10How does ASP.NET Core API versioning handle a request that doesn't specify any version at all? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningAdvanced
11How would you design API versioning strategy differently for a public, third-party-consumed API versus an internal microservice API? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningAdvanced
12How does API versioning strategy differ for internal microservice-to-microservice APIs versus public-facing external APIs? .NET › API Versioning.NETAPI VersioningAdvanced
13Why does an ASP.NET Core Web API need explicit versioning support, and what package provides it? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningBeginner
14What are the main strategies for versioning an ASP.NET Core API (URL, query string, header, media type)? .NET › API Versioning.NETAPI VersioningIntermediate
15How does semantic versioning (SemVer) inform decisions about when to bump an API's major, minor, or patch version? .NET › API Versioning.NETAPI VersioningIntermediate
16How does GraphQL's approach to API evolution differ from REST's typical versioning strategies? .NET › API Versioning.NETAPI VersioningIntermediate
17What is the difference between versioning at the API level (entire controller/group) versus versioning individual actions within a shared controller? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningIntermediate
18What's the difference between versioning a REST API's contract versus versioning its underlying data model, and why does that distinction matter? .NET › API Versioning.NETAPI VersioningAdvanced
19What are the trade-offs of versioning an entire API at once (global versioning) versus versioning individual endpoints independently? .NET › API Versioning.NETAPI VersioningAdvanced
20How do you version your OpenAPI documentation to reflect API versioning implemented via the Asp.Versioning library? ASP.NET Core › API Documentation with Swagger/OpenAPIASP.NET CoreAPI Documentation with Swagger/OpenAPIIntermediate
21What does the ReportApiVersions option do, and what response headers does it add? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningBeginner
22How do you configure a sunset date for a deprecated API version so clients receive a clear removal timeline? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningIntermediate
23How do you communicate API version deprecation to clients using response headers? .NET › API Versioning.NETAPI VersioningIntermediate
24How do you version an API's OpenAPI/Swagger documentation to show separate docs per version? .NET › API Versioning.NETAPI VersioningIntermediate
25What 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.NETAPI VersioningIntermediate
26How do you unit test that a specific API version's controller action behaves correctly, given the version-based routing? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningIntermediate
27How do you properly implement API versioning support within your app, ensuring your Flutter client genuinely continues working correctly even as your backend API itself continues to evolve and change over time? Flutter › REST API Integration in FlutterFlutterREST API Integration in FlutterIntermediate
28How can you version a single controller action to support multiple API versions without duplicating the entire controller class? .NET › API Versioning.NETAPI VersioningAdvanced
29How do you deprecate an API version gracefully, notifying consumers via response headers before eventually removing it? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningAdvanced
30How do you handle database schema changes that need to support multiple concurrently deployed API versions during a migration window? .NET › API Versioning.NETAPI VersioningAdvanced
31How would you implement automated testing that verifies deprecated API versions still function correctly while newer versions are actively developed? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningAdvanced
32How would you support content negotiation for API versioning where different versions have genuinely different response schemas, not just different serialization formats? ASP.NET Core › Content Negotiation & Output FormattersASP.NET CoreContent Negotiation & Output FormattersAdvanced
33How would you implement route-based API versioning using route templates and constraints without a dedicated versioning library? ASP.NET Core › Endpoint Metadata, Route Constraints & TemplatesASP.NET CoreEndpoint Metadata, Route Constraints & TemplatesAdvanced
34How 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 VersioningASP.NET CoreAPI VersioningAdvanced
35How does API Gateway support versioning and staged deployments of an API? AWS › Amazon API GatewayAWSAmazon API GatewayAdvanced
36How 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 PHPPHPRESTful API Development with PHPAdvanced
37How do you organize and group endpoints in Swagger UI by tags or API version? ASP.NET Core › API Documentation with Swagger/OpenAPIASP.NET CoreAPI Documentation with Swagger/OpenAPIIntermediate
38How would you support versioned response shapes for the same resource using content negotiation via custom media types instead of URL-based versioning? ASP.NET Core › Content Negotiation & Output FormattersASP.NET CoreContent Negotiation & Output FormattersAdvanced
39What is ProblemDetails (RFC 7807/9457), and how does ASP.NET Core support it for standardized error responses across an API? ASP.NET Core › Error HandlingASP.NET CoreError HandlingAdvanced
40What is protobuf field numbering, and why must you never reuse or renumber a field once a message definition has shipped to production? .NET › gRPC Services.NETgRPC ServicesIntermediate
41How would you version a gRPC service's contract while maintaining backward compatibility with existing clients? .NET › gRPC Services.NETgRPC ServicesIntermediate
42How do you define a gRPC service contract using Protocol Buffers, and how is the C# service implementation generated from it? ASP.NET Core › gRPC ServicesASP.NET CoregRPC ServicesIntermediate
43What is ProblemDetails (RFC 7807/9457), and how does ASP.NET Core support it for standardized error responses? .NET › Global Exception Handling & Middleware.NETGlobal Exception Handling & MiddlewareAdvanced
44How 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 ServicesASP.NET CoregRPC ServicesAdvanced
45What is YARP (Yet Another Reverse Proxy), and how does it compare to nginx or IIS as a reverse proxy option for ASP.NET Core applications? ASP.NET Core › Hosting Models: Kestrel, IIS & Reverse ProxiesASP.NET CoreHosting Models: Kestrel, IIS & Reverse ProxiesAdvanced