title: AOP in Dotnet core : Dynamic Proxy with Real Proxy in Dotnet core
body: <p>I am migrating my application from .Net Framework 4.5.1 to Dot Net Core.
  I was using <a href="https://msdn.microsoft.com/en-us/library/system.runtime.remoting.proxies.realproxy(v=vs.110).aspx" rel="noreferrer">RealProxy</a>  Class for logging user information and parameters on BeforeExecute and AfterExecute  ( like this <a href="http://hintdesk.com/c-introduction-to-aspect-oriented-programming-with-realproxy/" rel="noreferrer">link</a>)</p>
  
  <p>Now it seems there is no such a thing in Dot core.Plus I don't want to use third parties.I found this <a href="https://dotnetthoughts.net/aop-with-aspnet-core/" rel="noreferrer">link</a> that is using Actionfilter but it won't do the job.</p>
  
  <p>my question is <strong>How can I implement Dynamic Proxy in Dot net Core?</strong> Is there any alternate for RealProxy Class?</p>