Proxy: Implementation and Example
Learn the Proxy design pattern by implementing an example program.
We'll cover the following...
We'll cover the following...
Implementing the Proxy design pattern
Let’s imagine that we have some back-end service that we can retrieve data from and submit new data to. However, retrieving the data happens to be a long and computationally expensive process. This is what we’ll simulate to demonstrate how the Proxy design pattern can be applied to solve such a problem.
Creating a new application
We’ll create a new .NET console application, and we will add the IDataService
...