ASP.NET, registration of a proxy-decorator service in ServiceCollection

added by DotNetKicks
5/20/2021 8:59:16 PM

493 Views

I recently found myself, having the need of intercepting calls to a service from an external NuGet package. The Service was registered in the Service Collection via extension methods and I wanted it to be "intact", seen to configuration and dependencies etc. I needed to register a proxy/decorator, with


0 comments