Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Silverlight Application with RIA Authentication Silverlight Application with RIA Authentication
Previous
 
Next
New Post
7/8/2010 12:49 PM
 
Jack, if your SL App module is running on any given page in DNN, why not restrict access to that page and thus the module by user-role/group? Unless your app needs to manipulated data from the db, authenticating the user from the SL App should be necessary, no? BTW, I'd be interested to know how you got DNN to run, targeting the .Net 4.0 framework. I thought .Net 4.0 had breaking changes that affect the running of DNN.... If you find further info on RIA and SL, please do tell! Cheers
 
New Post
7/8/2010 2:35 PM
 
This would be fine if your app didn't need to know anything about the user, but let say you wanted some featurs in your silverlight app to only be available to users in a particular dnn role. For this to work the authentication and roles membership info needs to be passed to the silverlight app. RIA services authentication does this just fine for a standard asp.net web app that uses the standard authentication and membership providers. For this to work with the DNN authentication and membership providers a custom RIA authentication service must be crafted, this is what Philip Beadle did in the above mentioned post, but it doesn't work in the new RIA framework. As far as targeting .Net 4 in your new modules, it's posible as long as the app pool that your DNN site is configured to use is set to Framework 4. The min version of DNN that is .NET 4 aware is 5.4.1 I think. read this: http://www.dotnetnuke.com/Community/B...
 
New Post
7/8/2010 3:03 PM
 
Oh and as far as porting any example code that was based on earlier RIA frameworks, you will have to go through the code and change any namespace references to the new ones by hand. This microsoft article titled RIA_Services_Breaking_Changes.docx was really helpful for this, it can be found here (click 'I Agree' to download the article) http://code.msdn.microsoft.com/Projec... I hope this can help you.
 
New Post
7/8/2010 3:20 PM
 
Jack, download the CodeEndeavors Silverlight Mdule template from codeendeavors.com. I installed that into vs2008 then just copied the C# templates over to the vs2010 templates. They use ([moduleview].js) java script with delegates and reflection to send userdata to the SL App. I managed to tweak that a bit to get the ExpiryDate from UserRoles. You could probably do the same if you don't need to send anything back to the server. IF you do manage to extend that well enough to retrieve your own module-data, I'd be curious to know. I just don't understand enough about reflection and delegates to do ALL that I want but enough to move forward in some way. I'd like to see that whole design extended to get any data AND return data in an Add/Update. That way we would not need WebService or RIA... That template is great, packages everything nicely and seamlessly installs into your DNN dev instance BUT, there is ZERO help/support. ZERO! Cheers
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Silverlight Application with RIA Authentication Silverlight Application with RIA Authentication


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out