More good scribblings for ReMix07 Boston Day Two. Day One notes are here.
Building Silverlight enabled ASP.NET AJAX Controls
Using ASP.NET Futures. asp:XAML and asp:Media controls
Embeds ActiveX OBJECT tag, object requires click to interact
Video skins with asp:Media control. Use XamlUrl for custom skin.
IScriptControl encapsulate server-side controls to render in the client.
Scriptmanager - specifies what scripts and properties are needed on the client
The session's focus was on taking client-side script and moving it to the server.
Server-side starting point - render a DIV control.
Can place JS and XAML files into resource assembly. [assembly:WebResource("file.js","text/javascript")]. Build Action - embedded resource.
In OnInit() Page.Clientscript.GetWebResourceUrl(GetType(),"file.xaml")
ProjectName.Filename. Relector displays object names used.
Define the class in the client, mirroring its state and properties. State is initialized the first time from the server.
Client-side Initialize() function calls Silverlight.createObject().
Event handlers in clientfile.js
IScriptControl - script references, property and event descriptors
OnPreRender - integrate server control with ScriptManager. ScriptManager sm = ScriptManager.GetCurrent(Page)
On page <%# Register Assembly... %>
Building Rich Web Experiences with Silverlight and Microsoft Expression Studio for Designers
Silverlight is a subset of WPF
XAML unifies the work of designers and developers
Studio: Design, Blend, Encoder, Web, Media
Expression Blend 2 September Preview includes support for Silverlight 1.0/1.1
Can share same solution with Visual Studio project
Cannot currently edit HTML in Blend.
Default.html instantiates the Silverlight objects. html.JS set properties. XAML.JS contains functions
Expression Design comparative with Illustrator.
.design files. File-export. Silverlight option, along with WPF options.
Image was copied and pasted into Blend.
Pasted in man has 18 paths. For animation, all paths were grouped into canvas to support animation. New timeline created. Turn recording on.
Effects saved as resources can be called from Javascript and Silverlight events.
Expression Encoder for working with videos after they've been editing. Markers raise events. Can select templates.
Returns to Blend and opens the Encoder Project file. Edited the template.
Session Footnote: This presentation was god awful. See Day Two post.
Go Deep with ASP.NET AJAX
(Caught the last 20 minutes of this after the partial-life aborted Expression session.)
ASP:ScriptReference required for Intellisense support
$get("className").value
debugger; During session VS2008 process had to be killed when used with setting a breakpoint
Back button triggers OnNavigate() event. Can pass state to page loaded
#addhandler to set client DOM element events
Top 10 Concepts an Architect needs to know about WPF
I succumbed on the Bataan Powerpoint Death March before anything meaningful was said, if indeed anything meaningful was said. See Day Two post.