New Posts New Posts RSS Feed: Adding Silverlight functionality to current EntityModel
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Adding Silverlight functionality to current EntityModel

 Post Reply Post Reply
Author
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Topic: Adding Silverlight functionality to current EntityModel
    Posted: 09-May-2011 at 3:31pm
I am trying to extend my current EM to allow for Silverlight functionality. I have already created a new project and added my existing classes to the new SL project as linked classes. This allows me to compile.
In my existing environment I have the EM assembly and a seperate Server assembly that houses the IEntityLoginManager and EntityServeryQueryInterceptor implementations.
I started my SL app using the Ideablade Business Templates. My SL assembly for the EM and Server, both SL, are referenced in both the web project and the SL project.
 
I am trying to get my login functions to work correctly and seem to be running into issues. When I try and pass credentials to the LoginManager the credentials always seem to be null. On the call of LoginAsync the parameter exists but on the implementation of Login the credentials are null.
 
Any help would be greatly appreciated.
Back to Top
robertg View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 15-Mar-2011
Location: California
Posts: 87
Post Options Post Options   Quote robertg Quote  Post ReplyReply Direct Link To This Post Posted: 10-May-2011 at 10:49am
I think we'll need to collect some additional information before we can have a clear idea of what's going on. Are  you using the login mechanisms included in the template, or have you adjusted them? When you debug the call to LoginAsync, are the properties of your ILoginCredential object populated, or are they still null, as with the first call to LoginAsync when you start up the app, and its checks for anonymous authentication?
Back to Top
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Posted: 10-May-2011 at 10:57am
I am trying to use my existing code which was built in WPF. When I do a traditional BOS it still works but doing so with the SL and BOS it does not.
 
I was trying to extend the AspAuthenticating... class to have some additional functionality. It pulls from the standard asp users tables. I want to pull from my own tables.
 
So, my first shot at it was using my original code but when I pass the ILoginCredential it was received as null. I assumed this was because the credential was not of the Asp credentials. I then tried to force it my custom credentials and had the same result; null.
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down