Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4579032
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:35:07+00:00 2026-05-21T20:35:07+00:00

I am desperately trying to develop with RIA services, but I want the User

  • 0

I am desperately trying to develop with RIA services, but I want the User and Role classes to be entities generated by the EDM designer.
The problem with that is, that I can’t inherit from UserBase, since the entity already inherits from EntityObject.
I tried to follow what I’ve read in few discussions over the net, and I implemented the partial class of the User with the IUser interface, having the AuthenticationService inherit from LinqToEntitiesDomainService<MyEntities> and implement IAuthentication<User>.

But since I feel that it’s a dead end since I keep on getting errors everywhere with no result, I thought I might post my question to those who have been thru it and are willing to share the knowledge they’ve been fighting for, and make my life easier.

I beg you, please only share ideas that you have experience with, I’ve spent a lot of time finding the solution.

UPDATE:
I managed to make it compile and run, but now I have a very weird situation: After several seconds that the application runs, it vanishes (I use Out-Of-Browser), the window frame remains, but no content!

Here is what I’ve done to make it compile:

  • Generate the Entity Model entities
  • Make the User class implement IUser
  • Mark the implemented Name property that returns the username with Key and DataMember attributes
  • Attribute DataMember on the Roles property
  • Then I run the project, it does compile but the content disappears after several seconds, without letting me know the source of the internal exception!

I could just tell that the vanishment occurs after the following is printed in the output window:

'sllauncher.exe' (Silverlight): Loaded 'ProxyBuilder'

Then, when it disappears, it writes:

'sllauncher.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\4.0.50917.0\en-US\System.Runtime.Serialization.debug.resources.dll'
'sllauncher.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\4.0.50917.0\en-US\mscorlib.debug.resources.dll'

Resources I’ve been thru:

  • The Name property in User must be marked with the KeyAttribute.
  • How do I tie up the UserBase class with my database user entity?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T20:35:07+00:00Added an answer on May 21, 2026 at 8:35 pm

    Turns out that Nikhil Kothari, has already done this work for us, it’s included in the RiaEssentials project.

    Read this blog for detail.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am desperately trying to use LinqKits PredicateBuilder to allow the user to enter
I'm desperately trying to avoid a for loop in Matlab, but I cannot figure
I've been trying desperately to get my application (15 C# dlls and 1 C++/CLI
I am not familiar with this website but I am desperately seeking help with
I'm desperately trying to connect controls of NSViews which will reside in a NSCollectionView
I am desperately trying to move a document in a document library from one
I'm desperately trying to create a relatively concise search engine with PHP, mySQL and
I've been desperately trying for about the last week to figure out whatever my
I am desperately trying to get my head wrapped around how to implement home
I'm a total regexp noob. I'm working with wordpress and I'm desperately trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.