SimpleProxy icon indicating copy to clipboard operation
SimpleProxy copied to clipboard

Simple Proxy implementation for Net Core using Castle Dynamic Proxy

Results 8 SimpleProxy issues
Sort by recently updated
recently updated
newest added

Castle.Core(4.4.0) Castle.Core.AsyncInterceptor (1.7.0) public class ScheduleEventInterceptor : IMethodInterceptor { public async void BeforeInvoke(InvocationContext invocationContext) { //Expect this call complete before decorated method await [some_async_call].ConfigureAwait(false); } } Problem is some_async_call complete...

Would love to use this, but our complete solution has been moved to .Net 5

'Other 'Objects ' registered as 'scoped' too, gives 'same' instance for all 'Request'. This fix will ensure 'addscoped' gives different object instance for each request.

Added extension methods to add proxy service without interface

I want to catch the error for logging errors or other operations. How to do?

Hi, I've used your lib recently and it works great. While using, I see that it's not a good practice to add the Attribute to the Class, I wonder if...

Package for this solution in nuget only supports .NET Core 2.2 which I tried to use in one of my class libraries. But it didn't work because my library was...

Two threads both write to InvocationContext in BeforeInvoke method: 1. Thread1: invocationCopntext.SetTemporaryData("temp", "value1"); 2. Thread2: invocationCopntext.SetTemporaryData("temp", "value2"); This seems corrupt invocationContext. Is there a thread safe solution?