Tim Huckaby Founder, InterKnowlogy Microsoft RD & MVP SESSION CODE: WEB203.

Slides:



Advertisements
Similar presentations
Microsoft SharePoint 2010 technology for Developers
Advertisements

Declarative based UI programming: WPF, Silverlight & Surface Tim Huckaby CEO, InterKnowlogy Microsoft RD & MVP.
Dinko Jakovljević Microsoft Student Partner | BambooLab
SAMPLE FILL Sample Fill.
An Introduction To Silverlight Gergely Orosz
Gustavo Cavalcanti tinyfit.com. About me... Programmer since mid-90s BS in Computer Science (Catholic University of Pernambuco, Brazil) MBA with emphasis.
Windows Phone
Announcement Feb WMC Barcelona. WMC Barcelona.
Building Windows Phone Applications with Silverlight Nguyen Thanh Tung Project Manager - MISA JSC.
Ronnie Saurenmann Principal Architect Microsoft Switzerland
Building Silverlight Applications Using the MVVM pattern An Introduction by Peter Messenger Senior Developer – Qmastor
Entire article, and much more, is available at By Michael Knopf
Aptech Borivali(West) Hefin Dsouza. Agenda  What is.NET and What is Visual Studio? .NET Framework 3.5 Overview.  Visual Studio 2008 Enhancements. 
Khalid Siddiqui Senior Architect, Mobility Center of Excellence Microsoft Corporation SESSION CODE: WPH311.
® IBM Software Group © 2006 IBM Corporation Creating JSF/EGL Template Pages This section describes how to create.JTPL (Java Template Pages) using the Page.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
WPF For PowerBuilder Developers
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
2 A First Look at Windows Presentation Foundation Everywhere ("WPF/E") Joe Stegman Lead Program Manager Microsoft Corporation.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Jump into WPF! Tim Huckaby CEO, InterKnowlogy Microsoft RD & MVP Level: Beginner / Intermediate.
Ch6:creating consistent looking web sites. Master pages Master page defines a combination of fixed content and content place holder to hold the web page(.aspx)
.NET Database Technologies: Introduction to WPF and Entity Framework DataBinding.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
A Jumpstart to WPF by Kevin Grossnicklaus ArchitectNow.
An Introduction to Silverlight Matt Harrington Developer Evangelist, Microsoft October 20, 2011.
Windows Presentation Foundation Adam Calderon Principal Engineer Interknowlogy LLC
Tim Huckaby CEO, InterKnowlogy Microsoft RD & MVP Declarative based UI programming: WPF, Silverlight & Surface.
2 Philosophy Customer Design Experience Platform.
Tim Huckaby CEO, InterKnowlogy Microsoft RD & MVP Jump into WPF!
Silverlight Technology. Table of Contents 1.What is Silverlight Technology? 2.Silverlight Overview. 2.1 How it works 2.2 Silverlight development tools.
Building RIA for Desktop, Web and Mobile using Silverlight and WPF Giorgio Sardo UX Consultant, Microsoft UK blogs.msdn.com/Giorgio.
Domain-Specific Development Stuart Kent, Senior Program Manager, DSL Tools, Visual Studio Team System, Microsoft.
LAYOUT CONTROLS. XAML Overview XAML : eXtensible Application Markup Language pronounced (ZAMEL) is a markup language used to design user interfaces XML-based.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
Declarative based UI programming: WPF, Silverlight & Surface Tim Huckaby CEO, InterKnowlogy Microsoft RD & MVP.
Declarative Programming Layout and Controls Events and Commands Working with Data Styles.
New Features Overview. Agenda Silverlight - Intro Silverlight 3 New Features Overview with Demos, Demos and Demos… RIA Services Overview Demos, Demos,
Adam Calderon – C# MVP Application Development Practice Lead Interknowlogy.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
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.
Rujchai Ung-arunyawee Department of Computer Engineering Khon Kaen University.
Making Money with Windows Phone Applications and Games Todd Biggs, Director of Product Management John Bruno, Lead Program Manager.
Silverlight 2 Andrew Pardoe Program Manager CLR Execution Engine
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Brad McCabe, Wole Moses Windows Client PMG Microsoft Corporation SESSION CODE: WCL320.
Contents : What is Silverlight? Silverlight Overview Silverlight Toolkit Overview Timeline & Packaging Silverlight V1.0 & V1.1 Properties of V1.0 Properties.
Windows 10 UWP MVVM In Depth
.NET Framework Presentation. About Me Patrik Löwendahl –C# MVP –Certified Vista Touchdown Trainer Cornerstone
Silverlight 101 Ahead! If you know Silverlight and are looking for more advanced content check out : ‘Microsoft Silverlight “Media” : Moving at 60fps’
2 Data Visualization: WPF & XAML…and Silverlight…and Surface..and “the phone” Session Objective: To get you excited by showing you “what you can do”
Drew Lytle Principal Program Manager Microsoft Corporation SESSION CODE: WPH203.
An Introduction to Developing Applications for Microsoft Silverlight Jaime Rodriguez
Positioning Objects with CSS and Tables
Part of the Microsoft.NET Framework 3.0 Tomer Shamam.NET Technologies Expert Sela Group
Daniel Tizon Semior Consultant, Microsoft Regional Director ANURA-SOLSTEAM Développez pour Windows Phone 7.
Adam Schultz MVVM and WPF. MVVM Model, View, ViewModel A software architecture designed to separate out User Interface design, Business Logic, and Data.
Introduction to Silverlight Development Pavel Yosifovich CTO, Matrix Global; Senior Instructor, Hi-Tech College
Introducing the Windows Mobile development
Java FX: Scene Builder.
Working in the Forms Developer Environment
Important New Concepts In WPF
The Windows Phone Application Platform
Building a User Interface with Forms
Build Windows 10 UWP MVVM Apps with Prism
iVend Retail Extensibility
WPF AKEEL AHMED.
.NET and .NET Core 7. XAML Pan Wuming 2017.
Silverlight Technology
MIX 09 12/8/2018 4:33 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Presentation transcript:

Tim Huckaby Founder, InterKnowlogy Microsoft RD & MVP SESSION CODE: WEB203

Silverlight: What is it / How to get Started Declarative Programming Layout and Controls, Events and Commands Working with Data Adding Style To Your Application

Lightweight WPF runtime - Silverlight was designed to be a subset of WPF not a direct port OK LightBlue XAML-based Tools

Functionality Project Structure VS & Blend

XAML replaces code Attributes control Layout and Style Event handlers wired-up in XAML Declarative Data Binding Declarative Programming

Separates the front-end from the back-endSimple declarative programming language suitable for constructing and initializing.NET ObjectsUsually the most concise way to represent user interfaces (or other hierarchies of objects)Doesn’t need a compile to renderThe language that almost all Silverlight related tools emit

Runs in a Silverlight Application: Runs in the Browser:

Declarative Programming: XAML ProductSearch in Silverlight

Content rendering flows inside parent Fixed positioning (Canvas) is seldom used Panels are used to house content Margins and Padding over fixed size

Arranges child elements into a single line that can be oriented horizontally or vertically. StackPanel A flexible grid area that consists of columns and rows. Grid An area within which you can explicitly position child elements by using coordinates that are relative to the Canvas area. Canvas

Positions child elements in sequential position from left to right, breaking content to the next line at the edge of the containing box. WrapPanel An area where you can arrange child elements either horizontally or vertically, relative to each other. DockPanel

Margin Text Block Padding Horizontal and Vertical Alignment MarginPadding

Layout Demo Silverlight-StoreInformation.xaml (in controls/store)

Not all controls are created equal Silverlight is a subset of WPF so many of the WPF controls do not exist in the core SL The Silverlight Toolkit has a number of great controls, but they exist in different bands There are plenty of good control vendors to fill the gaps.

BorderButtonCheckboxComboboxDataGrid GridImageLabelListBoxRadioButton RectangleStackPanelTabControlTextBlockTextBox TreeViewViewbox

Standard.NET Events Routed Events * Commands * Partial or no support in Silverlight

Logical action that can be invoke in several waysBased on the ICommand Interface

OverviewSimple Data BindingComplex Data Binding

Simple Field level Data Binding Complex Data Binding to multiple controls at a time (Master/Detail/Detail) Client-Side Sorting and FilteringSupport for binding to Objects

Simple Data Binding using Business Objects Support for two-way synchronization in simple objects via the INotifyPropertyChanged interface Implicit and Declarative binding via the DataContext

Binding to Lists Supports two-way data binding to list if list inherits from ObservableCollection Data TemplatesSortingFilteringMaster/Detail/Detail

Provides a pattern to write application logic that runs on the mid-tier and controls access to data for queries, changes and custom operations. Provides end-to-end support for common tasks such as data validation, authentication and roles by integrating with Silverlight components on the client A prescriptive model for exposing your domain logic over LINQ.

Working with Data Demo

OverviewResource DictionariesVisual State Manager

What are styles? Ability to associate different visual effects based on user events, Provide an entirely new looks for existing controls, Designate rendering behavior for non- visual objects. SL4 supports implicit styles Inherit from master styles Similarities to Cascading Style Sheets Inline declaration Page level declaration Separate file declaration

* Not supported in Silverlight Static Resources Loaded when Window or Page Loads Leads to slower page loading Changes to underlining values are not propagated Dynamic Resources * More overhead to allow for constant updates Can only be used to set dependency properties Can potentially improve Page and Window load time

Contains hash table of resourcesGreat way to organize resources ResourceDictionary.MergedDictionaries combines many different file based resources

Resource Dictionaries

Alternative to WPF Triggers in SilverlightPromotes separation between UI and codeControls have States and State GroupsStates within a State Group are immutableFully supported in Blend

Adding Style to Your Application with Blend

Not all XAML is created equal Silverlight was designed to be a small subset of WPF; not a direct port Mature, Stable, Preview, Experimental The Silverlight Toolkit Quality Bands The Windows Phone 7 resolution is 800x480 The Windows Phone 7 has a rich Multi-touch API; SL does not Write Once; Run Everywhere

7

7

Consistent set of hardware capabilities defined by Microsoft One resolution at launch Second resolution added later Same touch input Consistent processor / GPU Same available RAM Optional keyboard Consistent Platform Windows Phone Hardware Common Hardware Elements Quality Focus 7

CLOUD SCREEN Phone Emulator SamplesDocumentation GuidesCommunity Packaging and Verification Tools Notifications LocationIdentityFeeds MapsSocial App Deployment Registration Validation Certification Publishing Marketplace MO and CC Billing Business Intelligence Update Management Elements of the Application Platform Tools Portal ServicesCloud Services SensorsMediaData Xbox LIVENotifications.NET Framework managed code sandbox Location Phone Runtime – On “Screen” 7

“You may not be doing this now; but, you will…”Layout in XAML is flexible and elegantThe control ecosystem for SL is richData Binding in SL is rich & supports many data typesStyles bring life, usability & NUI to your applicationsThe learning curve can be steep, but is worth it.Download all my resources and dedicate some time to jump in

The InterKnowlogy Silverlight Reference Application

The InterKnowlogy Multi-Touch Scatterview control for Silverlight

SAMPLE FILL Sample Fill

Use this layout to show software code The font is Consolas, a monospace font The slide doesn’t use bullets but levels can be indented using the “Increase List Level” icon on the Home menu

Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.