Skip to main content

Microsoft Silverlight

Advanced Forum Search Results

  • Re: Re: Re: keyboard is not working with full screen

    Just adding my 2 cents...there MUST be a middle ground solution that maintains security without sacrificing keyboard input in full screen mode.  FIND IT. John
  • Re: Testing using MockDomainClient fails

    Just to close the loop on this, I'm answering my own question for future readers. The following method in LocalDomainClient was the problem: protected override sealed QueryCompletedResults EndQueryCore(IAsyncResult asyncResult) { LocalAsyncResult localAsyncResult = (LocalAsyncResult)asyncResult; return new ...
  • Re: Need IDomainClient interface!

     Sure looks like it should work, although I'm having trouble getting what I need.  I'd be interested if Unity were to work better at this than Ninject.  As it is, I got a new error -- Ninject can't inject httpDomainClient because it doesn't have a parameterless constructor and it isn't tagged with the Inject ...
  • Re: Re: Need IDomainClient interface!

    I'd be curious to see how that works out.   It sounds similiar to what I tried: creating an IDomainClient myself.  I still hit a wall because at the end of the day, DomainContext has a dependency on DomainClient, and DomainClient is not a partial class.  In fact, I don't think DomainContext is a partial class, either. I ...
  • Re: Need IDomainClient interface!

    Thanks, Bryant. That's the article I referenced above. It's very good, and the whole concept of MockDomainClient / LocalDomainClient is great.  He outlines a method that works, but introduces a dependency into the ViewModel that I'm not comfortable with. Regards, John
  • Need IDomainClient interface!

    After working for a bit with RIA Services, unit testing with a dependency injection tool (like Ninject in my case), I'm running up against a wall. I would like to use NInject to instantiate the appropriate DomainClient depending on whether the app is in test mode or live mode.  However, there is a problem. The DomainContext derived class ...
  • Re: Null EntityRef<>

    Thanks, Kasimer! I moved the Include attribute back to the entity class and it still worked.&nbsp; Not sure why I thought it didn&#39;t earlier. :) Thanks also for the IsForeignKey note...makes sense now. John &nbsp;
  • Re: Null EntityRef<>

    Thanks for the help, Colin. That was part of the problem. The other piece is that the &#39;include&#39; attribute needs to go on the metadata class, not the entity: 1 [MetadataType(typeof(IssueMetaData))] 2 public partial class Issue 3 { 4 internal sealed class IssueMetaData 5 { 6 ...
  • Re: Null EntityRef<>

    [quote user=&quot;ColinBlair&quot;]The .Include is an EntityFramework thing.[/quote] &nbsp;Thanks Colin...I thought that might be the case. As mentioned above, NHibernate is correctly populating the &#39;Project&#39; property.&nbsp; However, it does not make it into the http response. Does that provide helpful information in tracking down the ...
  • Re: Null EntityRef<>

    &nbsp;Thanks Wolfgang.&nbsp; However, I note that &quot;.Include()&quot; is not an option at that point -- &quot;cannot resolve symbol&quot;.&nbsp; Perhaps I am missing a reference? &nbsp;
1 2 Next >
Microsoft Communities