Register  Login
Forum
Subject: What exactly is SilverlightDesktop??
Prev Next
You are not authorized to post a reply.

Author Messages
Rahul SinglaUser is Offline

Posts:4

09/27/2008 8:15 AM  
I downloaded and ran Silverlight Desktop successfully. Pretty impressed!!!

But what exactly it is meant for??
Is it a 'Proof of Concept' app as to how to use advanced Silverlight features in DNN??

Or is it a stand-alone Silverlight based CMS, that has just began its life, and aims to mimic the success of DNN with its next-gen features??
Michael WashingtonUser is Offline

Posts:64

09/27/2008 8:44 AM  
Thank you for the feedback, it is appreciated.,

The purpose of SilverlightDesktop for DNN is to allow you to easily make Silverlight applications for use in your DotNetNuke website.

Go ahead and try to make a secure Silverlight application without it. You will find yourself spending days creating required code that you would get automatically if you used SilverlightDesktop for DNN instead.
Rahul SinglaUser is Offline

Posts:4

09/28/2008 5:13 AM  
I have just started to migrate my DNN modules and DNN installations to .NET 3.5.

I think it would take some time (say 2-3 weeks) for everything to settle down.

I have already decided to exploit Silverlight for all my future Modules, that are built from scratch, and I believe a new Module should start inside a month.
And then, I would test the weight of your statement
(I already believe it should be considerably heavy, as it comes from someone called Michael Washington. I have learnt DNN using your ADEFWebserver site extensively, among other resources. Let me take this opportunity to THANK you for all the good work and help you have provided at this site as well as at the DNN forums to me).

By the way, one thing is still quite unclear to me. SilverlightDesktop looks like a DNN module. And in DNN, modules are considerably independent. How can SilverlightDesktop help me secure my Silverlight module?? More importantly, what's all this about Security at module level?? DNN already handles this via its View and Edit permissions, and other ways.

Looks like I need to get my hands dirty with Silverlight to get under the skin of your statement.
Michael WashingtonUser is Offline

Posts:64

09/28/2008 5:25 AM  
Thank you I am glad to help.

You are correct about what DotNetNuke already provides to modules. What is important to remember is that your Silverlight applications do not run inside DotNetNuke, they are only LAUNCHED by DNN. They run in your visitor's web browsers. They communicate with DNN using web services.

A lot of code for secure web services was taken from the http://iweb.adefwebserver.com/ project. Then lessons were learned with this project: http://dnnsilverlight.adefwebserver.com/

So to answer your question it is the secure WEB SERVICES that SilverlightDesktop helps you with.

SilverlightDesktop also allows you to upload SilverlightDesktop modules because DNN cannot handle their special needs to track the .xap file, the web service and the .sql scripts and put them in the right place and assign security.

This is what allows you to download and install the email module and assign only the admin rolde to it and it just works.
Rahul SinglaUser is Offline

Posts:4

09/29/2008 8:33 AM  
A major reason for me deciding to use Silverlight 2 was the ability to perform Complex operations on client side with an intuitive Object -Oriented language as opposed to JavaScript.

Personally, I never like JavaScript and AJAX due to their cross-browser issues as well as the work and debugging required to for doing something decent on the Client side.

I was excited about how Silverlight would allow me to do things Client side, like to change the DataContext of a Grid when something like a DropDownList index changes. Earlier I needed to use Post-Backs or Ajax to accomplish this.

However, I have been thinking more about how to accomplish this in Silverlight lately. Obviously, I need to contact the Server for fetching the data. As I mostly work on Intranet applications, my initial instinct was to allow Remote connections on the DBMS server, and connect from Silverlight directly.

I was always aware of the issues in allowing remote connections, not to mention that this means ADO.NET needs to be available for Silverlight. Although I have read that Developers can use strap-on .NET assemblies in their Silverlight apps, I was never sure whether System.Data would be available. Are you in the know how for this??

Then, I have started beginning to think more in terms of Web Services. My DNN modules use Controller-Info Class-Provider design pattern. I would really appreciate if you could throw some design Guidelines as to how to call Controllers on the Server and pass them information from Client, so that I dont need to create a Service methods for all Controllers, and some general methods are able to receive information from Client, execute appropriate Controller's appropriate methods for them, and send back the data to client.

First of all, is this really possible to create such generic Service methods??
Michael WashingtonUser is Offline

Posts:64

09/29/2008 10:19 AM  
You really want to plan on using web services for all communications. YES Linq is in Silverlight, you should use the system.data.linq to manipulate collections.

When communicating with ethe DNN Core you should just create the web service methods you need rather than trying to create wrappers for a bunch of methods you may never need.

For example, if I want to find out the number of users in a certain role who have logged in recently I do not want to:

1) Call a method that gets all the users
2) Determine who is in the role
3) Find the users who logged in recently.

What I want to do is create one web method that does all the hard work and returns one simple list.
Rahul SinglaUser is Offline

Posts:4

09/29/2008 9:31 PM  
I think I would better start my Silverlight journey, before discussing more on this issue.

I would definitely come back as and when I start that journey (which I hope should be pretty soon).

Thanx for all your feedback!!!
You are not authorized to post a reply.
Forums > Silverlight Desktop > General > What exactly is SilverlightDesktop??



ActiveForums 3.7

ActiveForums

Terms Of Use | Privacy Statement | Copyright 2008 by SilverlightDesktop.net Dynnamite DotNetNuke Skins & Modules