I used the sample code to configure Unity with UseUnityServiceProvider() and ConfigureContainer(IUnityContainer container) in the Startup class. However, the interceptors don't trigger handlers. The same code with interceptors works fine in console applications for both .NET Core and .NET Framework.
I used the sample code to configure Unity with UseUnityServiceProvider() and ConfigureContainer(IUnityContainer container) in the Startup class. However, the interceptors don't trigger handlers. The same code with interceptors works fine in console applications for both .NET Core and .NET Framework.
The same issue is described here - https://stackoverflow.com/questions/50699219/how-to-use-unity-container-interception-in-asp-net-core-webapi