<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Silverlight IConnectionOptionsResolver</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Silverlight IConnectionOptionsResolver</description>
  <pubDate>Sat, 11 Apr 2026 04:36:07 -700</pubDate>
  <lastBuildDate>Mon, 17 Sep 2012 14:22:09 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3630</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Silverlight IConnectionOptionsResolver : Jean,ConnectionOptionsResolvers...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3630&amp;PID=14465#14465</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3630<br /><strong>Posted:</strong> 17-Sep-2012 at 2:22pm<br /><br />Jean,<div>ConnectionOptionsResolvers are created through MEF. As Kim says, your class needs to be public and have a public default ctor or alternatively a public ctor marked with the ImportingConstructorAttribute if you wish to inject dependencies.</div>]]>
   </description>
   <pubDate>Mon, 17 Sep 2012 14:22:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3630&amp;PID=14465#14465</guid>
  </item> 
  <item>
   <title>Silverlight IConnectionOptionsResolver :   Hi Jean,This is actually a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3630&amp;PID=14460#14460</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3630<br /><strong>Posted:</strong> 16-Sep-2012 at 6:29pm<br /><br />Hi Jean,<div>&nbsp;</div><div>This is actually a Cocktail issue, not a DevForce issue per se, and Marcel is traveling right now.&nbsp; I can try to help, but you may need to repost this in the Cocktail section of the forum to ensure Marcel sees it.</div><div>&nbsp;</div><div>My first guess at why you'd get a MethodAccessException when looking for your DealerliveConnectionOptionsResolver constructor is that you don't have a public parameterless constructor defined for the class.&nbsp; If you do, or don't have any constructors defined, then my next thought would be the class definition.&nbsp; Reflection in Silverlight works only with public types and members, or internal types and members if you explicitly grant access.</div>]]>
   </description>
   <pubDate>Sun, 16 Sep 2012 18:29:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3630&amp;PID=14460#14460</guid>
  </item> 
  <item>
   <title>Silverlight IConnectionOptionsResolver :   Anybody, any ideas? </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3630&amp;PID=14457#14457</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1514" rel="nofollow">halloweenx8</a><br /><strong>Subject:</strong> 3630<br /><strong>Posted:</strong> 15-Sep-2012 at 8:25pm<br /><br />Anybody, any ideas?]]>
   </description>
   <pubDate>Sat, 15 Sep 2012 20:25:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3630&amp;PID=14457#14457</guid>
  </item> 
  <item>
   <title>Silverlight IConnectionOptionsResolver :   HiIm trying to authenticate...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3630&amp;PID=14447#14447</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1514" rel="nofollow">halloweenx8</a><br /><strong>Subject:</strong> 3630<br /><strong>Posted:</strong> 14-Sep-2012 at 3:43pm<br /><br />Hi<div>&nbsp;</div><div>Im trying to authenticate a user using AuthenticationService and an implementation of IEntityLoginManager</div><div>My users have different database so I had to implement IDataSourceKeyResolver, all this works using aspx pages, but when i try the same thing in Silverlight i get this error</div><div>&nbsp;</div><div>{System.MethodAccessException: Attempt by method 'Microsoft.Internal.ReflectionInvoke.SafeInvoke(System.Reflection.ConstructorInfo, System.Object&#091;&#093;)' to access method 'ClientService.Authentication.DealerliveConnectionOptionsResolver..ctor()' failed.<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.CoroutineOperation.HandleError(INotifyCompletedArgs notifyCompletedArgs)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.CoroutineOperation.OnCompleted(INotifyCompletedArgs notifyCompletedArgs)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.CoroutineOperation.OnError(Exception error)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.CoroutineSerialProcessor.Process()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.CoroutineProcessor.Start()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.Coroutine.Start(Func`1 coroutine, Action`1 completedHandler)<br>&nbsp;&nbsp; at Cocktail.AuthenticationService.LoginAsync(ILoginCredential credential, Action onSuccess, Action`1 onFail)<br>&nbsp;&nbsp; at DealerLive.MainPage.Login()<br>&nbsp;&nbsp; at DealerLive.MainPage..ctor()<br>&nbsp;&nbsp; at DealerLive.App.Application_Startup(Object sender, StartupEventArgs e)<br>&nbsp;&nbsp; at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)<br>&nbsp;&nbsp; at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)}</div><div>&nbsp;</div><div>Any help will be appreciated, thanks</div>]]>
   </description>
   <pubDate>Fri, 14 Sep 2012 15:43:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3630&amp;PID=14447#14447</guid>
  </item> 
 </channel>
</rss>