C-Sharp Design Patterns Adapter
By the end of the course, you will be able to recognize situations where the Adapter pattern is appropriate and apply it with confidence to your code.
The Adapter pattern aims to resolve the problem of incompatible interfaces. There is client code that must use one or more service providers, but the interface that the client is configured to call does not match the one that the service provider defines.
Sign in to read this course
A free account unlocks all 514 courses. 20 are readable without one.
What's inside
12 sections- 1 Table of Contents
- 2 Course Overview
- 3 The problem that the Adapter pattern solves
- 4 Related design principles
- 5 The two types of Adapter
- 6 Progressive application of the Adapter pattern
- 7 Final complete example: ThirdPartyApiAdapter
- 8 UML diagram of the Adapter pattern
- 9 Related Design Patterns
- 10 Structure of the demonstration project
- 11 Key Takeaways
- 12 Summary and conclusion
More Testing, Patterns & Architecture courses
View all 29ASP.NET Core Clean Architecture
Implement Clean Architecture with the GloboTicket app — core, infrastructure, API, Blazor UI and testing.
Automation Testing Strategies with ASP.NET Core
Unit, integration, UI, E2E (Playwright) and performance (NBomber) testing in a CI/CD pipeline.
Unit Testing an ASP.NET Core MVC Web Application
Unit test MVC controllers with xUnit, Moq and FluentAssertions — isolation, mocking and CI/CD.
Debugging and Error Handling in ASP.NET Core
Debugging tools, error-handling middleware, Problem Details, custom exceptions and remote debugging.
Logging and Monitoring in ASP.NET Core
ILogger, structured logging, providers, scopes, source generators, health checks and OpenTelemetry.
C-Sharp 8 Design Patterns Composite
This course covers the Composite design pattern in C#. The Composite pattern provides a way to work with tree structures in a consistent manner, regardless of whether you are manipulating...
Interested in this course?
Contact us to book it or get a custom training plan for your team.