Some time ago I published an open source library which heavily relies on Castle DynamicProxy. Now that .NET Core 1.x RTM is out, I don't find how I could support .NET Core (Castle DynamicProxy still doesn't work on .NET Core...), until I met DispatchProxy
class.
Actually there's no comprehensive documentation about the whole class, and it seems like it's too limited compared to Castle DynamicProxy.
In my case, I would need to intercept property setters, and implement some interfaces in generated proxies during run-time.
Does DispatchProxy
meet these requirements? Or, what could be a working alternative to generate proxies during run-time on .NET Core?
For anyone else wanting to work with Castle Core and Net Core for generating proxies - there is a GitHub project that simplifies the whole process. SimpleProxy
[Disclaimer: I am the developer of this project]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With