@ardalis | ardalis.com | weeklydevtips.com
FORCE MULTIPLIER FOR DEV TEAMS
C# Design Patterns: Proxy APPLYING THE PROXY PATTERN Steve Smith - - PowerPoint PPT Presentation
C# Design Patterns: Proxy APPLYING THE PROXY PATTERN Steve Smith FORCE MULTIPLIER FOR DEV TEAMS @ardalis | ardalis.com | weeklydevtips.com t h s What problems does proxy solve? Objectives How is the proxy pattern structured? Apply the
@ardalis | ardalis.com | weeklydevtips.com
FORCE MULTIPLIER FOR DEV TEAMS
t h s
User Interface Twittergrambook ServiceProxy Client App API Service Twittergrambook API Endpoints
Virtual Proxy
Remote Proxy Smart Proxy Protective Proxy
s h s
t h s
s h s
t h s
s h s
t h s
s h s
t h s
Separation of Concerns
Avoid mixing separate concerns or ideas in the same class or method
Loose Coupling
Prefer loose coupling to third party dependencies
Single Responsibility
Classes should have only
reason to change
Some principles suggest the use of a Proxy as the solution in certain cases.
t h s
https://github.com/ardalis/DesignPatternsInCSharp
@ardalis | ardalis.com | weeklydevtips.com
FORCE MULTIPLIER FOR DEV TEAMS