RIA Service Class Libraries and Session Data

Aug 5, 2009 at 12:02 AM

I need some help....

...I would like to share 'session' variables instantiated in my Silverlight client amongst my .Net Ria Service Class Libraries. The trouble is the .Net Ria Service Class Liraries are not directly referenced within my client but rather by modules (silverlight class libraries) that are instantiated using the Prism framework.

I'm guessing I could store the variables in the user's isolated storage but is there another way?


Aug 5, 2009 at 1:29 PM

Although the following blog is not specific to your requirement it does show a way to address it.   The implementation of IConfigInfo (reference link) is a Singleton which can be used throughout the entire system.   I evolved the process quite a bit since, i.e. ConfigInfo.InitParam stores object versus string and ConfigInfo.GetParameter(key) uses generics, but it may point you in a general direction.