I've created a silverlight class library and I am trying to link to a class in a non silverlight class library. This other class uses the GenericIdentity() method of the System.Security.Principal dll.
I can't get the silverlight class library to build as it doesn't recognise the GenericIdentity() method.
Does anybody know what dll/version of the dll that I need to reference or is this going to work?
you need to change your thinking, asp.net security is changing
Silverlight 5 and in fact microsoft.net security is changing to oauth or openid http://msdn.microsoft.com/en-us/library/system.security.principal.genericidentity(v=VS.110).aspx
You can see that it is using a claims based token service http://en.wikipedia.org/wiki/OpenID
If you read michelle busamante's book it is like windows idnetity foundation
federated security model
In othe words you use purchase a token from a issuer and they have their own server etc
You should be able to use silverlight using security however you need to not stuck in the old membeship provider this is what I am telling you-challenge yourself to grow. you need to expand your learning curve asp.net will be using this also....
For example In silverlight 4 and earlier versions silverlight was able to use claims based security by building on top of custom membership security
It is too long to explain windows idnetity foundation, you need to look http://msmvps.com/blogs/nunogodinho/archive/2010/09/06/claims-based-identity-and-silverlight-4-0-part-1-of-n.aspx
and really study these hard to understand. By the way Paypal uses this type of security and it is the future with client server