Dave Burke : Freelance .NET Web Developer specializing in Online Communities

ReMix07 Boston Session Scribblings for Day One

The following are my scribbles of today's ReMix07 sessions.  I guess I could have brought my laptop and blogged them, but scribbling with pen and paper is good for the soul.  The notes might not make any sense to you, but they do to me which is why I'm blogging them.  They might also be wrong, so virtually attend the following sessions at your own risk.

 

Brad Abrams' Keynote

HTML DOM.  C# <--> Javascript

Tab twice in VS2008 to create the event method

Blend-VS2008 integration.  Right-click on XAML file in solution window for "edit in Blend."

Demonstrated setting break-points in Silverlight app, attaching to Mac process, and debugging

Popfly mashups [but for business?]

 

Real-world experiences building applications using WPF and Silverlight

Databinding <--> WPF

"You will type XAML"

Currently must recopy-past form XAML contents to create multiple XAML forms

XAML header contains namespaces, using statements, and...

Resources containers - Dataproviders with key to which objects and data are bound with a DataContext.

PNGs from Photoshop masks and alpha channels brought into Blend

Timelines are used for changing opacities and other aspects as well as animation

Object names on both sides of the Design-Developer process must not be changed without informing other side

 

Building Great Experiences with Silverlight 1.1

A CLR Execution Engine sites on top of the XAML Rendering Engine in 1.1 to support managed code

Slimmed-down CLR for Silverlight: "CoreCLR"

CoreCLR contains no COM-interop, remoting, other CLR functions that don't make sense in the Silverlight environment.  Included is "what makes sense in a browser environment."

"agclr" namespace.  "ag" is the periodic table name for silver

System.Linq included in CoreCLR

Must have Microsoft's own private key to be able to execute P/Invoke.  Silverlight is sandboxed, great efforts to make secure.

Silverlight 1.1 XAML files have a XAML.CS codebehind file.

<Canvas /> x:class attribute

Compiled CLR code on client is 100's of times faster than javascript

Multiple CLR instances and versions supported with Silverlight in the browser--for multiple Silverlight objects running different Silverlight CLR versions

What is downloaded to the client: XAML, assembly and any app-specific assets

Managed references to DOM elements

Mark classes with [SCRIPTABLE] attribute to make them executable in Javascript

Silverlight demos from Jeff located at wintellect.com/webdemos.aspx

System.IO.IsolatedStorage for local client storage

The first look at custom control model will be in the Silverlight beta

 

Server Communication with Silverlight and ASP.NET AJAX

[SCRIPTSERVICE] attribute on the web service class used as a client-side invocation in AJAX and Silverlight

Firebug for tracking web service post requests and response.  No post request header or XML in the post.

Creating client-side proxies.  http:// ...ASMX/JS for proxy info.

Page Web Service methods.  Must be static.  Add EnablePagingData=true on invocation

Profile-JSON-Appservice.axd for ASP.NET Membership profile functions.  Getall, Getprofile, Setprofile.

Authentication-JSON.Appservice.axd

1.1 calls web service via .NET.  [SCRIPTSERVICE] required in 1.1 for web service as well.  Add reference in Silverlight client. 

1.1 Web Service called in .XAML.CS codebehind

1.1 .NET web service calls are synchronous by default.  Should rewrite as asynchronous with begin-end web service method.

Comments (0) | Post RSS RSS comment feed

Posted on 10/8/2007 4:43:19 PM by Dave Burke
Categories: .NET

Related posts

Comments are closed

Copyright © 2008 Dave Burke Consulting  |  All Rights reserved.