<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ninject.Extensions.Interception 2.0 Released!</title>
	<atom:link href="http://innovatian.com/2010/03/ninject-extensions-interception-2-0-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://innovatian.com/2010/03/ninject-extensions-interception-2-0-released/</link>
	<description></description>
	<lastBuildDate>Tue, 17 Aug 2010 11:44:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: innovatian</title>
		<link>http://innovatian.com/2010/03/ninject-extensions-interception-2-0-released/comment-page-1/#comment-14</link>
		<dc:creator>innovatian</dc:creator>
		<pubDate>Fri, 12 Mar 2010 03:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://innovatian.com/?p=274#comment-14</guid>
		<description>Is there any chance you could post a reproduction scenario in the bug tracker (&lt;a href=&quot;http://github.com/idavis/ninject.extensions.interception/issues%29?&quot; rel=&quot;nofollow&quot;&gt;http://github.com/idavis/ninject.extensions.int...&lt;/a&gt; I will update the post to mention the virtual method item.&lt;br&gt;&lt;br&gt;Thanks!</description>
		<content:encoded><![CDATA[<p>Is there any chance you could post a reproduction scenario in the bug tracker (<a href="http://github.com/idavis/ninject.extensions.interception/issues%29?" rel="nofollow"></a><a href="http://github.com/idavis/ninject.extensions.int.." rel="nofollow">http://github.com/idavis/ninject.extensions.int..</a>. I will update the post to mention the virtual method item.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dminikitin</title>
		<link>http://innovatian.com/2010/03/ninject-extensions-interception-2-0-released/comment-page-1/#comment-12</link>
		<dc:creator>dminikitin</dc:creator>
		<pubDate>Fri, 12 Mar 2010 03:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://innovatian.com/?p=274#comment-12</guid>
		<description>Hello,&lt;br&gt;Tried Ninject.Extensions.Interception v.2, getting the following exception on the &quot;var obj = kernel.Get&lt;IFoo&gt;();&quot; line. &lt;br&gt;&lt;br&gt;This happens only if the module is loaded automatically, i.e. the kernel is initialized with &quot;StandardKernel kernel = new StandardKernel();&quot;&lt;br&gt;&lt;br&gt;If the module is loaded explicitly (&quot;StandardKernel kernel = new StandardKernel(new NinjectSettings() { LoadExtensions = false }, new DynamicProxy2Module());&quot;) there&#039;s no exception and interception works fine.&lt;br&gt;&lt;br&gt;Another gotcha (at least looks like one to me) is that the method has to be explicitly declared &quot;virtual&quot; to be interceptable. &quot;public void Foo() {}&quot; will correctly implement its namesake from the interface but interception will not work.&lt;br&gt;&lt;br&gt;Other than these things everything works great, it&#039;s probably the most useful ninject module. Thank you!&lt;br&gt;&lt;br&gt;System.ArgumentException was unhandled&lt;br&gt;  Message=&quot;Target type for the proxy implements IProxyTargetAccessor which is a DynamicProxy infrastructure interface and you should never implement it yourself. Are you trying to proxy an existing proxy?rnParameter name: targetType&quot;&lt;br&gt;  Source=&quot;Castle.DynamicProxy2&quot;&lt;br&gt;  ParamName=&quot;targetType&quot;&lt;br&gt;  StackTrace:&lt;br&gt;       at Castle.DynamicProxy.Generators.ClassProxyGenerator.EnsureDoesNotImplementIProxyTargetAccessor(Type type, String name)&lt;br&gt;       at Castle.DynamicProxy.Generators.ClassProxyGenerator..ctor(ModuleScope scope, Type targetType)&lt;br&gt;       at Castle.DynamicProxy.DefaultProxyBuilder.CreateClassProxyType(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)&lt;br&gt;       at Castle.DynamicProxy.ProxyGenerator.CreateClassProxyType(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)&lt;br&gt;       at Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, Object[] constructorArguments, IInterceptor[] interceptors)&lt;br&gt;       at Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(Type classToProxy, ProxyGenerationOptions options, Object[] constructorArguments, IInterceptor[] interceptors)&lt;br&gt;       at Ninject.Extensions.Interception.ProxyFactory.DynamicProxy2ProxyFactory.Wrap(IContext context, InstanceReference reference)&lt;br&gt;       at Ninject.Extensions.Interception.Activation.Strategies.ProxyActivationStrategy.Activate(IContext context, InstanceReference reference)&lt;br&gt;       at Ninject.Activation.Pipeline.&lt;&gt;c__DisplayClass1.&lt;Activate&gt;b__0(IActivationStrategy s)&lt;br&gt;       at Ninject.Infrastructure.Language.ExtensionsForIEnumerableOfT.Map[T](IEnumerable`1 series, Action`1 action)&lt;br&gt;       at Ninject.Activation.Pipeline.Activate(IContext context, InstanceReference reference)&lt;br&gt;       at Ninject.Activation.Context.Resolve()&lt;br&gt;       at Ninject.KernelBase.&lt;Resolve&gt;b__7(IContext context)&lt;br&gt;       at System.Linq.Enumerable.&lt;&gt;c__DisplayClass12`3.&lt;CombineSelectors&gt;b__11(TSource x)&lt;br&gt;       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()&lt;br&gt;       at System.Linq.Enumerable.&lt;CastIterator&gt;d__aa`1.MoveNext()&lt;br&gt;       at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)&lt;br&gt;       at Ninject.ResolutionExtensions.Get[T](IResolutionRoot root, IParameter[] parameters)&lt;br&gt;       at NinjectTest.Program.Main(String[] args) in C:devNinjectTestProgram.cs:line 136&lt;br&gt;       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)&lt;br&gt;       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)&lt;br&gt;       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;br&gt;       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)&lt;br&gt;       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br&gt;       at System.Threading.ThreadHelper.ThreadStart()&lt;br&gt;  InnerException:</description>
		<content:encoded><![CDATA[<p>Hello,<br />Tried Ninject.Extensions.Interception v.2, getting the following exception on the &#8220;var obj = kernel.Get&lt;IFoo&gt;();&#8221; line. </p>
<p>This happens only if the module is loaded automatically, i.e. the kernel is initialized with &#8220;StandardKernel kernel = new StandardKernel();&#8221;</p>
<p>If the module is loaded explicitly (&#8220;StandardKernel kernel = new StandardKernel(new NinjectSettings() { LoadExtensions = false }, new DynamicProxy2Module());&#8221;) there&#39;s no exception and interception works fine.</p>
<p>Another gotcha (at least looks like one to me) is that the method has to be explicitly declared &#8220;virtual&#8221; to be interceptable. &#8220;public void Foo() {}&#8221; will correctly implement its namesake from the interface but interception will not work.</p>
<p>Other than these things everything works great, it&#39;s probably the most useful ninject module. Thank you!</p>
<p>System.ArgumentException was unhandled<br />  Message=&#8221;Target type for the proxy implements IProxyTargetAccessor which is a DynamicProxy infrastructure interface and you should never implement it yourself. Are you trying to proxy an existing proxy?rnParameter name: targetType&#8221;<br />  Source=&#8221;Castle.DynamicProxy2&#8243;<br />  ParamName=&#8221;targetType&#8221;<br />  StackTrace:<br />       at Castle.DynamicProxy.Generators.ClassProxyGenerator.EnsureDoesNotImplementIProxyTargetAccessor(Type type, String name)<br />       at Castle.DynamicProxy.Generators.ClassProxyGenerator..ctor(ModuleScope scope, Type targetType)<br />       at Castle.DynamicProxy.DefaultProxyBuilder.CreateClassProxyType(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)<br />       at Castle.DynamicProxy.ProxyGenerator.CreateClassProxyType(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)<br />       at Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, Object[] constructorArguments, IInterceptor[] interceptors)<br />       at Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(Type classToProxy, ProxyGenerationOptions options, Object[] constructorArguments, IInterceptor[] interceptors)<br />       at Ninject.Extensions.Interception.ProxyFactory.DynamicProxy2ProxyFactory.Wrap(IContext context, InstanceReference reference)<br />       at Ninject.Extensions.Interception.Activation.Strategies.ProxyActivationStrategy.Activate(IContext context, InstanceReference reference)<br />       at Ninject.Activation.Pipeline.&lt;&gt;c__DisplayClass1.&lt;Activate&gt;b__0(IActivationStrategy s)<br />       at Ninject.Infrastructure.Language.ExtensionsForIEnumerableOfT.Map[T](IEnumerable`1 series, Action`1 action)<br />       at Ninject.Activation.Pipeline.Activate(IContext context, InstanceReference reference)<br />       at Ninject.Activation.Context.Resolve()<br />       at Ninject.KernelBase.&lt;Resolve&gt;b__7(IContext context)<br />       at System.Linq.Enumerable.&lt;&gt;c__DisplayClass12`3.&lt;CombineSelectors&gt;b__11(TSource x)<br />       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()<br />       at System.Linq.Enumerable.&lt;CastIterator&gt;d__aa`1.MoveNext()<br />       at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)<br />       at Ninject.ResolutionExtensions.Get[T](IResolutionRoot root, IParameter[] parameters)<br />       at NinjectTest.Program.Main(String[] args) in C:devNinjectTestProgram.cs:line 136<br />       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)<br />       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)<br />       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()<br />       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)<br />       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<br />       at System.Threading.ThreadHelper.ThreadStart()<br />  InnerException:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: innovatian</title>
		<link>http://innovatian.com/2010/03/ninject-extensions-interception-2-0-released/comment-page-1/#comment-9</link>
		<dc:creator>innovatian</dc:creator>
		<pubDate>Wed, 10 Mar 2010 01:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://innovatian.com/?p=274#comment-9</guid>
		<description>I am working on a follow up post with examples. You can find a lot of examples in the unit tests however.</description>
		<content:encoded><![CDATA[<p>I am working on a follow up post with examples. You can find a lot of examples in the unit tests however.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toshihiro</title>
		<link>http://innovatian.com/2010/03/ninject-extensions-interception-2-0-released/comment-page-1/#comment-8</link>
		<dc:creator>toshihiro</dc:creator>
		<pubDate>Tue, 09 Mar 2010 21:34:13 +0000</pubDate>
		<guid isPermaLink="false">http://innovatian.com/?p=274#comment-8</guid>
		<description>I&#039;m interested  in your product. But I can&#039;t find documents and examples.</description>
		<content:encoded><![CDATA[<p>I&#39;m interested  in your product. But I can&#39;t find documents and examples.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
