Register
Login
Home
Silverlight 1.0
Silverlight 2.0
Forums
FAQ
About
Forums
(you must be logged in to post)
Unanswered
Active Topics
Forums
Search
Forums
>
DNN Silverlight Forum
>
Silverlight and DotNetNuke
Subject: Couple of questions
Prev
Next
You are not authorized to post a reply.
Author
Messages
Oldest First
Newest First
MattBell
Posts:2
07/30/2008 9:06 PM
Hey Michael,
This is a great site, exactly what I was looking for. I've got a Silverlight 2 beta 2 application that I want to put into a DNN site. I just wanted to make sure I understood what you are doing in the web service example.
When you initialize the Silverlight control on the control, you generate a random number and store it in the users profile for that module ID. Then you pass that random number into the init parameters for the silverlight control. Then on the subsequent web service call you pass that number back as a parameter for the service.
I'm a bit of a newbie with DNN, I'm trying to figure out how the web service bit works. I know you used your IWeb web service generator, but can I use any arbitrary web service? That is to say, if I package up a .svc file with my DNN Module, and reference it the way you do here:
string strWebServiceURL = "http://" + this.PortalAlias.HTTPAlias + "/DesktopModules/Silverlight2Webservice/WebService.asmx";
Is that sufficent, or is there something special about the Iweb services that I'm not accounting for?
Also, (sorry for the long winded post) is there a DNN Template for Modules for VS2008? The starter kit only has 2005 templates.
Thanks for putting this together, its very helpful.
Matt
Michael Washington (admin)
Posts:52
07/30/2008 10:05 PM
The examples on this site are based on IWeb but they do not use IWeb. Yes you can use any webservice, .asmx or .svc. Also note that I have outlined an even tighter webservice security using IP addresses here:
http://silverlightdesktop.net/Blog/tabid/56/EntryID/16/Default.aspx
As far as I know there are no VS2008 module templates.
MattBell
Posts:2
08/05/2008 7:19 PM
Thanks for the direction there!
One other question, is there anyway to include an entire folder of files in a dnn manifest or do you have to include every single file?
I have a DeepZoom Collection that I want to include on the module, and it's in a pretty deep folder collection.
Should I just upload the deep zoom collection as a file collection later via DNN's file manager, or should it be included in the Module definition?
Michael Washington (admin)
Posts:52
08/05/2008 8:29 PM
You have to include each file in the manifdest. It would be easier to upload a .zip using the file manager and have it unzip on upload.
You are not authorized to post a reply.
DNN Silverlight Forum
--Silverlight and DotNetNuke
Forums
>
DNN Silverlight Forum
>
Silverlight and DotNetNuke
> Couple of questions
ActiveForums 3.7
Terms Of Use
|
Privacy Statement
|
Copyright 2007-2008 by Adefwebserver.com
Dynnamite DotNetNuke Skins & Modules