Top Banner
Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation
18

Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Dec 20, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Moving a Commercial ASP.NET Application to Silverlight

Jeffrey M. Rhodes

Platte Canyon Multimedia Software Corporation

Page 2: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Product Objectives

Provide the power of ASP.NET but with no programming or advanced configuration

Store questions and objectives in SQL Server, Access, or XML

Create exams composed of questions pulled randomly by objective from a pool

Create exams that support the SCORM 1.2/2004 Runtime Environment and packaging specification (can’t do the latter currently)

Make it easy for Subject Matter Experts to edit questions

Page 3: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Version 2 Demo

QuestionWeb Player

Graphical Button

Page 4: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

What are the Problems?

Requires ASP.NET virtual directoryPrevents complete SCORM compliancy

Has limited question types (multiple choice, true-false, fill-in-the-blank) due to databinding approach

Has frequent postbacks that are frustrating to users with slow connections

Difficult for users to customize

Page 5: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Why Silverlight?

Easy to play media and display graphics

Has power to perform more complex actions like drag & drop and drawing lines

Does not require a virtual directory

Allows reuse of much existing “Question” object functionality

Considered implementing in Flash using existing Flash “Learning Interactions” but these are limited to ActionScript version 2

Security model more conducive to web services than Flash

Page 6: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Version 3 DemoPage.xaml

matching_lines.xaml

Page 7: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Edit Resources/Templates in Expression Blend

Page 8: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Deployment and .xap

Content rather than resources so can add to the .xap programmatically without rebuilding DLL

Page 9: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Key Programming Tasks

Navigate between questionsDave Relyea’s Transition Control

Display graphic

Play mediaSimilar to graphic but don’t need to create object

Page 10: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Key Programming Tasks

Configure buttons with graphics and textSet Content to be a new StackPanel

Page 11: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Key Programming Tasks

Time questionsImplement at QuestionTemplate level

Page 12: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Key Programming Tasks

Communicate with an LMS via JavaScriptWindow.Invoke() for calling JavaScript function

Window.Eval() for injecting complete JavaScript calls

Page 13: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Key Programming Tasks

“Server-side” tasks: email, save resultsWCF web service

Page 14: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Create “Rollover” ButtonCustom component implemented with VisualStateManager

Key Programming Tasks

Page 15: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Feedback/Challenges

Feedback: extremely positive so far with customers like Exxon/Mobile and Motorola eagerly waiting for release

Challenge: creating new templates eased with Blend but still challenging for non-programmer due to necessity to work with “code-behind” file and build DLL

Harder than opening Flash .fla and saving as a new name

Challenge: dependent on corporate acceptance of Silverlight

Page 16: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Rest of the Puzzle

Page 17: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Dave Relyea’s Transition Control: http://tinyurl.com/57bwh4

Delay’s HtmlTextBlock: http://tinyurl.com/d8m23s

Sample Exam: http://www.examengine.net/ExamEngine3

Mike & Mike’s Silverlight Demos (Beta 2): http://www.miketaulty.com/SLVideos.html

Tim Heuer’s Blog: http://timheuer.com/blog

Scott Guthrie’s Blog: http://weblogs.asp.net/Scottgu

Shawn Burke’s Blog: http://blogs.msdn.com/sburke

References

Page 18: Moving a Commercial ASP.NET Application to Silverlight Jeffrey M. Rhodes Platte Canyon Multimedia Software Corporation.

Questions?

Jeffrey M. RhodesPlatte Canyon Multimedia Software

Corporation

[email protected]