The main entry point file for configuring an ASP.NET Core application. This file is responsible for setting up an app's configuration, dependency injection, middleware, and HTTP request pipeline
This HTTP header describes the media type of the request body
What is Content-Type?
This construct defines a set of methods or properties without providing an implementation
What is an interface?
The .NET package manager
What is NuGet?
This term refers to the ability of a system to react to failure and remain functional. This is achieved by designing apps to handle failures gracefully and recover quickly
What is resiliency?
https://learn.microsoft.com/en-us/dotnet/core/resilience/?tabs=dotnet-cli
These components are executed in order and can inspect, modify, or short-circuit an HTTP request before it reaches an endpoint
This HTTP status code is used when a resource already exists during creation
What is 409 Conflict?
This pattern is often used to separate presentation logic from business logic in web applications
What is MVC (Model-View-Controller)?
https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/start-mvc
A test that validates multiple components working together
What is an integration test?
This resiliency pattern enforces an upper time limit on an operation
What is a timeout policy?
This type of service is created only once for the lifetime of the application
A value extracted from the URL path rather than the query string
What is a route parameter?
This pattern abstracts data access behind an interface, allowing swapping storage implementations without changing business logic
What is a mock?
This resiliency pattern stops requests to a repeatedly failing service to prevent cascading failures and allow the service to recover effectively
What is a circuit breaker?
https://learn.microsoft.com/en-us/azure/architecture/patterns/circuit-breaker
This ASP.NET Core feature allows services to be registered once and resolved automatically at runtime
What is dependency injection?
https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection
This HTTP status code indicates the server cannot fulfill the request's media type
What is 415 Unsupported Media Type?
This design pattern creates objects without exposing instantiation logic, allowing higher-level code to depend on abstractions rather than concrete types
What is factory pattern
https://www.csharptutorial.net/csharp-design-patterns/csharp-factory-method/
This acronym denotes the process of automatically building and testing code every time a team member commits code changes to version control. A commit to the main or trunk branch of a shared repository triggers the automated build system to build, test, and validate the full branch.
What is CI (Continuous Integration)
https://learn.microsoft.com/en-us/devops/develop/what-is-continuous-integration
This resiliency pattern divides a system into separate partitions to prevent a failure from affecting the entire system
What is a bulkhead?
https://learn.microsoft.com/en-us/azure/architecture/patterns/bulkhead
Injecting this service lifetime into a singleton can lead to state or runtime exceptions when processing subsequent requests
What is a scoped service?
https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection#scoped
- Transient lifetimes are not as error prone, but injecting transient -> singleton will hold a single transient instance for the life of the singleton. This violates the transient service's new instance per use pattern.
A property of HTTP methods where repeated calls produce the same result
What is idempotency?
https://learn.microsoft.com/en-us/azure/azure-functions/functions-idempotent
Splitting read operations from write operations to improve clarity and scalability is an example of this architectural approach
What is CQRS (Command Query Responsibility Segregation)
https://learn.microsoft.com/en-us/azure/architecture/patterns/cqrs
This situation occurs when two or more tests wait for a resource held by the other, causing the test suite to hang indefinitely
The ability to monitor, measure, and understand the internal state of a system from the data it produces and the ability to explore that data to answer questions about system events and failures
What is observability?
https://www.redhat.com/en/topics/devops/what-is-observability