This question is almost purely for learning purposes. Environment used is the Unity 3D engine. I've been using the RealProxy and MarhalByRefObject cl ...
This question is almost purely for learning purposes. Environment used is the Unity 3D engine. I've been using the RealProxy and MarhalByRefObject cl ...
I want to allow inheritance, but forbid the direct construction of any of the inherited classes. Instead, I want to force the usage of the custom meth ...
Why not working logging for chained methods, but if the same methods call via the saved instance, logging for ones work fine Gist snippet ...
Goal I have a couple of interfaces and some dlls that provide implementations for these interfaces. I want to load the implementation into a new AppD ...
I'm looking for RealProxy replacement in .NET Core, and this issue forwards me to DispatchProxy. It has simple API, but it's unclear, how to wrap exi ...
I have a C# application with a WCF backend and a UWP frontend. I have a service implementing my service contract. Everything works as expected if I ca ...
I have a very basic interface for several services. Doing something like: while passing in an instance of a remote service that inherits from IServ ...
I have been struggling with WCF Proxies. What is the correct way to Dispose a WCF Proxy? The answer is not trivial. System.ServiceModel.ClientBase vi ...
In a call to the RealProxy base constructor, you pass the Type of the target object to be proxied. What I would like to do is dynamically add interfac ...
I'm trying to create a proxy using a RealProxy extension. I had no problem in forwarding calls and intercepting them. However, I also wanted to interc ...
I am trying to register a cross-AppDomain proxy with Autofac. The concrete type represented by the proxy implements the interface IServiceHost. Thus, ...
The documentation at http://msdn.microsoft.com/en-us/library/system.runtime.remoting.proxies.realproxy.gettransparentproxy%28v=VS.100%29.aspx doesn't ...
I'm trying to handle a call of a generic method through a RealProxy, but I cannot seem to find the information about the actual type of the generic pa ...
I'm working up a system where I plan on using RealProxy objects to enable intercepting method calls against a set of objects, handling the call, and t ...
I have a transparent proxy, for instance one generated by WCF: How do I get the RealProxy from the transparent proxy? ...
I need to call a method with ref-arguments through a RealProxy. I have isolated the problem down to the following code: The program should produce ...