This project contains samples for the AdapterInterceptor library. You should get familiar with it first to understand the samples.
Navigate to ../WebApp and execute dotnet run serilog
or dotnet run nlog
. Execute dotnet test
for the TestApp.
The following samples are provided:
- A sample of adapting the
BlogService
to use theBlogDto
instead of the originalBlog
data transfer object, - a sample of using
ProxyImitatorInterceptor
, which is a variant ofAdapterInterceptor
, to proxy non-virtual methods.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.