DCSIMG
MIX 2011: Advanced Feature in Silverlight 5 - Arik Poznanski's Blog

Arik Poznanski's Blog

It CAN be done with .NET

News

MVP

MCC

CodeProject MVP

MCPD

MCTS

Subscribe to my blog by email

Arik Poznanski LinkedIn Profile

Email: arik.com at gmail dot com
or, use this form

Locations of visitors to this page


Sela Group

Sela Canada

DZone MVB

Links

Official Blogs

WPF / SL Blogs

Developers Blogs

MIX 2011: Advanced Feature in Silverlight 5

This session was delivered by Nick Kramer, Senior Program Manager from Microsoft.

IMG_20110414_150931

Topics discussed:

Unrestricted file access

Silverlight 5 trusted apps can access all files. Silverlight 4 trusted apps could only access My Documents and friends.

Access is done using the standard .NET Directory.EnumerateFiles and File.OpenRead

IMG_20110414_150250

Trusted apps in-browser

In Silverlight 4 only out-of-browser application could be trusted with user consent

In Silverlight 5: in-browser trusted apps with admin consent

Trusted apps can access files, Use P/Invoke, COM Interop, etc.

IMG_20110414_150641

IMG_20110414_150817

Group policy

Administrators can set whether a Silverlight 5 application is trusted or not.
The administrator should say which certificates are trusted, same as ClickOnce.

IMG_20110414_151358

P/Invoke

Allows calling system APIs. This could be done in Silverlight 4 using COM, but at sometimes it can be much robust to do the call directly.

Using P/Invoke is optimized for win32 api and native c++ code.

COM Interop is optimized for COM automation APIs, like office.

Using P/Invoke in Silverlight works the same as in .NET Framework

IMG_20110414_151613

HTML support

In Silverlight 5, in-browser WebBrowser control is supported.

IMG_20110414_152547

 

Multiple windows

In Silverlight 5 you can instantiate a Window class as much as you want, only in out-of=browser applications. Also the restrictions on the window position and title were loosen.

IMG_20110414_152930

 

64-bit support

Silverlight 5 can be run in a 64bit process, this means it can now be run under a 64bit browser.

IMG_20110414_153315

 

PivotViewer

PivotViewer will be shipped as part of Silverlight 5 SDK.

Main improvements:

- Dynamic client based collections, instead of static pre-generated XML data

- XAML based visuals, instead of bitmaps

- improved customizability

IMG_20110414_153622

IMG_20110414_153921

That’s it for now,
Arik Poznanski.

kick it on DotNetKicks.com Shout it

Comments

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# April 15, 2011 11:39 AM

DotNetShoutout said:

Thank you for submitting this cool story - Trackback from DotNetShoutout

# April 15, 2011 11:39 AM

Interesting .NET Links - April 15 , 2011 | Tech Blog said:

Pingback from  Interesting .NET Links - April 15 , 2011 | Tech Blog

# April 15, 2011 9:24 PM

MIX 2011 Sessions’ Reviews | www.nalli.net said:

Pingback from  MIX 2011 Sessions’ Reviews | www.nalli.net

# April 17, 2011 3:39 AM

MIX 2011 Sessions’ Reviews | www.nalli.net said:

Pingback from  MIX 2011 Sessions’ Reviews | www.nalli.net

# April 17, 2011 5:23 AM

MIX 2011: Advanced Feature in Silverlight 5 – Arik Poznanski’s Blog « Hornet Dear Bernard said:

Pingback from  MIX 2011: Advanced Feature in Silverlight 5 – Arik Poznanski’s Blog «  Hornet Dear Bernard

# April 19, 2011 11:08 AM

MIX 2011: Advanced Feature in Silverlight 5 -... | .NET and Microsoft | Syngu said:

Pingback from  MIX 2011: Advanced Feature in Silverlight 5 -... | .NET and Microsoft | Syngu

# July 13, 2011 2:52 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: