Jamie Cool Program Manager Microsoft Corporation

Preview:

Citation preview

Microsoft Silverlight: Building Business Focused Applications

Jamie CoolProgram ManagerMicrosoft Corporation

Housekeeping…

Yes, my last name is Cool. Yes, it’s my real name. Yes, I know I have a Cool last name. Yes, I do, in fact, hear that all the time.

Agenda

Silverlight as a platform for business apps Building business apps with Silverlight 2 A Sneak Peak of what comes next

Common Business App Needs

Rich UI experiences Need an interactive UI model for working with data

Internet application deployment Need a pure web deployment

Application logic Need a highly productive dev experience

Silverlight 2 Lays the Foundation Huge step forward from SL 1

Rectangles -> Buttons JavaScript -> C#/VB

Enables business applications today Has the needed platform building blocks Core – CLR, BCL, XML, Networking UI – Core controls, control model, layout, styling, databinding

Lays the foundation for what comes next

Microsoft Confidential

What platform for your business app?

ASP.NET•Broadest reach•Most mature dev platform

Silverlight

•Broad reach•Rich, Interactive UI

WPF•Richest, Interactive UI•Offline •Desktop integration

Richness

Reach

Choice of platform based on richness vs. reach Goal: Parity in developer productivity

What makes a business app tick?

Business apps are almost universally about working with data in some shape or form.

At it’s a heart, a business app needs: A way to move data between tiers A way to shape data (sort, filter, etc..) A way to bind & display data A way to soundly apply business logic

Moving Data – Simple Cases

Browser integrated networking stack Ex. Shared cookies Make direct HTTP requests

Complete Service stack Use WCF to build SOAP or REST services Simple “Add Service Reference” experience to consume Use WebClient to consume REST and Plain-Old-XML

Moving Data – Advanced Cases

Cross-domain Support Requests constrained to same domain by default Cross domain enabled via server side config file

2-Way communication Sockets – To the metal communication WCF Duplex – HTTP pull based messaging

ADO.NET Data Services Easy way to expose & consume data via REST Optimal for straight data access layer -> client scenarios

Moving Data

demo

Displaying Data

Custom Control Model Core list controls in the box

Datagrid ItemsControl ListBox

Controls Toolkit providing many more Treeview Charts – data visualization

All fully stylable

Data Binding

Data Binding One way – any CLR object w/ INotifyPropertyChanged Two way Value Converters for converting/formatting Core Validation Hooks

Collection Binding A full & growing set of controls Data Template based customization

Displaying Data

demo

Shaping Data

XMLReader / XMLWriter

Serializers XML JSON

LINQ XLINQ LINQ to JSON

Shaping Data

demo

What I'd Like to Add Next

Updateable data Validation Data paging Server side filtering Authentication More fully featured UI

Ex. Less trivial pages, more pages Business Logic

All possible… but that would be work!

Futures

Business Application Frameworks

Base Frameworks

Base Platform

Silverlight Components

Network /Services

ControlsData

Binding

CLR

Core UI Engine

Data Shaping• XML• LINQ

Business Logic Validation App Services

Navigation

Data Loading

Control Model

Business Controls

Business Logic FrameworkMaking n-tier simpler

Data Access Layer

Business Logic

Business Logic

View

Server

Client

Business Logic Patterns that Grow Unified client/server model Common infrastructure built in Astoria/WCF for services transport

Broad Support in Presentation Silverlight, WPF New – validation, controls, navigation

Works with any Data Access Layer Entity Framework LINQ to SQL ADO.NET nHibernate, etc..

Silverlight Futures – Sneak Peak

demo

What else are we working on?

Richer tooling Editable VS SL designer Design time databinding support

Many more Silverlight controls Core platform enhancements

Additional Silverlight Talks

Talk Time / Presenter

Deep Dive: Building Optimized, Graphics-Intensive App in Silverlight

Tues, 10/28, 5:15-6:30 PMSeema Ramchandani

Silverlight Controls Roadmap Wed, 10/29, 12-12:45 PM Shawn Burke

Inside the Olympics: An Architecture and Development Overview

Wed, 10/29, 1:15PM-2:30 PMEric Schmidt, Jason Suess

Building and Customizing Controls in Microsoft Silverlight

Thurs, 10/30, 10:15-11:30 AMKaren Corby

Call to Action

Evaluate whether Silverlight makes sense for your next business application.

Interested in providing early feedback on some of the items discussed today? email: jamiec@microsoft.com

Questions?

Evals & Recordings

Please fill

out your

evaluation for

this session at:

This session will be available as a recording at:

www.microsoftpdc.com

Please use the microphones provided

Q&A

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market

conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Recommended