What’s New and Cool in Silverlight 5

Slides:



Advertisements
Similar presentations
Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
Advertisements

Ronnie Saurenmann Job title: Cant live without Silverlight Microsoft Switzerland 4 Overview.
Dynamic Analysis of Windows Phone 7 apps Behrang Fouladi, SensePost.
Välkommen till Sommarkollo Introduce XNA Game Studio Express Make A Game!
Microsoft SharePoint 2010 technology for Developers
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
Introducing Microsoft Surface ™ 1.0 Service Pack 1.
The Microsoft Technical Roadshow 2006 Windows Presentation Foundation (WPF) Marcus Perryman
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Silverlight Presenter: Kevin Grossnicklaus February 25 th, 2010.
Web Server Programming
Module 10 WPF 2-D Graphics, Multimedia, and Printing.
Silverlight 5: What’s new? Presenter: Kevin Grossnicklaus June 25 th, 2011.
Silverlight 2 CoreCLR Bringing the power of.NET to the net Andrew Pardoe, Common Language Runtime.
Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide Building Great Looking.
Essentials of Developing Windows Phone Apps Chinthaka Dissanayake Tech Lead Exilesoft.
An Introduction To Silverlight Gergely Orosz
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
The Microsoft View: Module 1: Getting Started. Copyright Course 2559B, Introduction to Visual Basic®.NET Programming with Microsoft®.NET. Lecture 1 Microsoft.
Silverlight for Developers making it pass the glitz.
Microsoft ASP.NET AJAX - AJAX as it has to be Presented by : Rana Vijayasimha Nalla CSCE Grad Student.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Silverlight Development Win Phone 7 Mohammed M. Melhem Senior ICT Assistant: Application Silverlight and Win Phone.
Michael S. Scherotter Microsoft Corporation
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Using Microsoft SharePoint to Develop Workflow and Business Process Automation Ted Perrotte National Practice Manager, Quilogy, Microsoft Office SharePoint.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Paul Trani Adobe Certified Instructor/Expert Resources:
Proprietary and Confidential, Microsoft Corporation All rights reserved. Microsoft Confidential Silverlight Partner Summit Expression Encoder Media.
MVC New release IE8 Beta 1 Deep Zoom (sea dragon) Silver light 2.0 Beta 1 Expression Blend 2.5 Preview Instant Messaging API Enhancements to Virtual Earth.
2 A First Look at Windows Presentation Foundation Everywhere ("WPF/E") Joe Stegman Lead Program Manager Microsoft Corporation.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Silverlight Hitesh Trivedi Computer Science B.Tech A-Sec J.I.E.T.
Windows 8 Hot or Not Piotr Włodek. Agenda MetroCharms Contracts WinRT App Execution Environment Motion Summary.
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
Scalable Game Development William Roberts Senior Game Engineer
Building RIA for Desktop, Web and Mobile using Silverlight and WPF Giorgio Sardo UX Consultant, Microsoft UK blogs.msdn.com/Giorgio.
Microsoft Tech Days 2012 Cheezia: Developing a Windows Phone XNA Game Rodrigo Barretto Software Engineer - MCPD on Windows Phone
Object Oriented Software Development 9. Creating Graphical User Interfaces.
The Microsoft Technical Roadshow 2007 Rich Client Development in XAML Mark Johnston Developer & Platform Group Microsoft Ltd
DEV331. class Tweet : TimelineItem {…} class DirectMessage : TimelineItem {…} class Notification : TimelineItem {…} … TimelineItem[] items = new.
What’s New for Web Developers in ASP.NET and Visual Studio 2008 Kate Gregory Microsoft Regional Director
Discover, Master, Influence1 Windows Presentation Foundation David Burela Senior Developer, Readify.
Developing ASP.NET AJAX Controls with Silverlight Barry Gervin Microsoft Regional Director John Bristowe Developer Advisor, Microsoft.
A Lap Around Windows Presentation Foundation. Why hasn’t UX taken off in software? It’s Difficult! Animation 2D 3D Documents Styled Controls Video Windows.
Silverlight 2 Andrew Pardoe Program Manager CLR Execution Engine
What’s New in SharePoint 2010 SharePoint 2010 Development Primer New Developer Tools for SharePoint 2010 SharePoint 2010 Integration with PowerShell.
Taking Control of Visual Studio through Extensions and Extensibility Anthony Cangialosi Senior Program Manager Lead Microsoft Corporation DEV311.
Contents : What is Silverlight? Silverlight Overview Silverlight Toolkit Overview Timeline & Packaging Silverlight V1.0 & V1.1 Properties of V1.0 Properties.
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
Ronnie Saurenmann Principal Architect Microsoft Switzerland Silverlight 5 Advanced.
Windows Forms in Visual Studio 2005: An in-depth look at key features Name: Joe Stegman Title: Lead Program Manager Session code.
Microsoft’s Rich Web Technology XAML,WPF and WPF/E July, 2006 John Allwright.
IE Developer Tools Jonathan Seitel Program Manager.
Part of the Microsoft.NET Framework 3.0 Tomer Shamam.NET Technologies Expert Sela Group
CM143- WEB CM143-WEB Page Layout live sites HTML Images User Considerations Planning Navigation CSS Architecture File Management Cascading Style Sheets.
Building Windows Phone 7 Games and Applications Yes, yes! “Games and Applications” and not “Applications and Games” Content is under NDA – please do no.
DES201 - Developers and Designers collaboration Level 200 Aude Mousset Artistic director i-Breed - France Dick Lantim User eXperience Advisor Microsoft.
Introduction to Silverlight Development Pavel Yosifovich CTO, Matrix Global; Senior Instructor, Hi-Tech College
Introducing the Windows Mobile development
5/15/2018 5:43 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Building beautiful and interactive apps with HTML5 & CSS3
Introduction to Silverlight
WPF AKEEL AHMED.
.NET and .NET Core 7. XAML Pan Wuming 2017.
Silverlight Technology
Chapter 2 – Introduction to the Visual Studio .NET IDE
Tooling and Diagnostics
Overview of Silverlight 2
Windows Forms in Visual Studio 2005: An in-depth look at key features
Presentation transcript:

What’s New and Cool in Silverlight 5 Visual Studio Live! Las Vegas 2011MGB 2003 What’s New and Cool in Silverlight 5 A tour of Silverlight 5 features © 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Where to find help Our Community Sites MSDN: msdn.microsoft.com silverlight.net windowsclient.net asp.net dev.windows.com MSDN: msdn.microsoft.com My Blog: 10rem.net Will include any updated source/examples Twitter: @pete_brown Mail pete.brown@microsoft.com

Tooling In-Browser Improvements XAML binding debugging In-Browser embedded browser Basic Visual Studio profiling support In-Browser trusted applications (group policy) Binding and Markup Controls Implicit data templates PivotViewer Control ICustomTypeProvider for dynamic properties Combobox type-ahead and text searching Ancestor RelativeSource binding Multi-click with ClickCount property Binding in style setters Graphics DataContextChanged event GPU-accelerated XNA 3D UpdateSourceTrigger PropertyChanged 3D Render targets, XNA effects, pipeline, more Custom Markup Extensions General Performance Text Hardware acceleration in windowless mode enabled via new IE9 APIs Linked and multi-column text Better OpenType support XAML parser performance improvements Pixel-Snapped Text Network latency performance improvements Tracking/leading control Multi-core JIT for improved startup time Media Text layout performance improvements H.264 hardware decoding Others Low-latency sound 64 bit browser support on Windows Remote-control and Media Key support Tasks from TPL Trick-play Postscript vector printing System Access Real windows Unrestricted file access for trusted applications LOTS of other fixes and improvements Read/write to Documents without a dialog P/Invoke for calling native methods

Binding and Markup

XAML Debugging Before Now Realize binding isn’t working Hunt through the output window for any binding failure information Create a debug-only value converter, assign it to all your bindings, and put a breakpoint inside it Miss lunch, go home late Now Set breakpoints in XAML on bindings Hit breakpoints at runtime just as you would with code Inspect values, sources, errors etc.

Binding to Dynamic Properties Before All object properties must be defined at compile-time After Type defined at compile time Can be a shell type with no properties Properties added using ICustomTypeProvider at runtime Supports binding, change notification Uses Data-driven and user-configurable systems Data from RESTful services

Implicit Data Templates Like regular data templates, but … implicit  Does for templates what implicit styles did for styles Like implicit styles, tied to a data type Classes/Structs, not interfaces Use in any content control or items control Reuse chunks of UI throughout application - automatically

Regular (Explicit) Data Templates Resulting Presentation class Tweet : TimelineItem {…} class DirectMessage : TimelineItem {…} class Notification : TimelineItem {…} … TimelineItem[] items = new TimelineItems[] { new Tweet(“Pete Brown”, “pete.png”, “…”), new Tweet(“Jon Galloway”, “jon.png” , “…”), new Tweet(“Joe Stagner”, “joe.png” , “…”), new Tweet(“Jesse Liberty”, “jesse.png” , “…”) }; Pete Brown Template Assigned to ListBox Jon Galloway Joe Stagner Jesse Liberty Developer Demo Rule #4705: Twitter must appear in any modern demo

Implicit Data Templates Resulting Presentation Tweet Template Pete Brown class Tweet : TimelineItem {…} class DirectMessage : TimelineItem {…} class Notification : TimelineItem {…} … TimelineItem[] items = new TimelineItems[] { new Tweet( “Pete Brown”, “pete.png”, “…”), “Jon Galloway”, “jon.png” , “…”), new DirectMessage( “Joe Stagner”,“joe.png”,“…”), new Notification( “Jesse Liberty”,“jesse.png”,“…”) }; Jon Galloway DM Template Joe Stagner Notification Template Jesse Liberty

demo Binding and templates

Other Binding and Markup Enhancements Ancestor RelativeSource Binding Binding in Style Setters DataContextChanged event Custom Markup Extensions Update on PropertyChanged

Text

Multi-Column and Linked Text Flow text from RichTextBlock to RichTextBlockOverflow elements Link as many as you want Change from beta which used RichTextBox Size text elements to work around other elements Selection works across elements for a transparent experience

Character Spacing Important for text-heavy layout, headlines and more Control spacing between characters (Tracking) Continues to support control of spacing between lines as well Character Spacing expressed as 1/1000 of font size Set on anything derived from Control or TextElement

Opentype Support Ligatures Contextual Alternatives Numerical Formats Fractions Super/Sub Script Asian Font Specifics Much, much more System.Windows. Typography

Text Clarity API Similar to WPF 4 TextOptions. TextFormattingMode TextHintingMode TextRenderingMode

demo Text Awesomeness

Operating System Integration

Operating System Windows Past Approach Use the Popup and ChildWindow classes Constrained to Silverlight drawing surface No multi-display support Silverlight 5 Approach Popup and ChildWindow still supported and appropriate in some situations Enhanced Window class for real OS Windows

demo Real Windows

Platform Invocation (P-invoke) Just like on the full .NET framework Elevated Trust applications only In browser and out-of-browser Windows Only Call any compatible native library Windows APIs Device and sensor APIs Your own native DLLs

demo P-Invoke

Media

Variable Speed Playback and Trick Play +32x to -32x speed Enables Fast-Forward and Rewind without seeking Trick-Play Speed up or slow down video without affecting audio pitch Enabled from 0.5x to 2.0x Speed Save time watching my tutorials 

Remote Control and Media Keyboard Support MediaCommand Event Not a Command as in WPF On UIElement Supports Remote Controls Supports Media Keys Mac and PC

Low-Latency Sound Eliminates circular queues of MediaElements for near-realtime sound XNA-based API SoundEffect and SoundEffectInstance classes Enables playing WAV files PCM Encoded 8 or 16 bit, mono or stereo 22.5, 44.1 or 48khz sample rate Other formats will not work, just as in XNA and WP7 Not just for games

demo Media

Controls

ClickCount Unlimited click count Multi-click gestures are common Typically used for double and triple click Multi-click gestures are common MS Word uses double-click to select word, triple click to select paragraph Safari 3, Firefox 3, and IE7: triple click selects all text within an element Silverlight Implementation Supports 1 to n clicks (42 click easter eggs, anyone? ) Some tricks required if you want both n and n+x clicks (double and triple, for example)

demo ClickCount

Graphics

3D A top request from our customers Ranked 3rd on user voice during SL5 planning Features split between runtime and SDK libraries Based on XNA Suitable for games, visualization, modern interfaces, more Seamlessly combine 2d and 3d elements Many improvements in RC and RTM vs. Beta

Runtime Requirements Shader Model 2.0 GPU XPDM Driver (XP+) and WDDM (Vista+): User consent or elevated trust required (changed from beta behavior) Shader Model 2-capable GPU required (most machines these days) To guarantee security and compatibility Some XP drivers blocked For permissions: right-click app, choose config and allow

demo 3D

What Next? Silverlight 5 available now Visit http://silverlight.net Shipped in December Visit http://silverlight.net Download the bits Watch the tutorial videos Walk through the tutorial posts Build awesome stuff!

Where to find help Our Community Sites MSDN: msdn.microsoft.com silverlight.net windowsclient.net asp.net dev.windows.com MSDN: msdn.microsoft.com My Blog: 10rem.net Will include any updated source/examples Twitter: @pete_brown Mail pete.brown@microsoft.com