Jamie Cool Program Manager Microsoft Corporation.

27
Microsoft Silverlight: Building Business Focused Applications Jamie Cool Program Manager Microsoft Corporation

Transcript of Jamie Cool Program Manager Microsoft Corporation.

Page 1: Jamie Cool Program Manager Microsoft Corporation.

Microsoft Silverlight: Building Business Focused Applications

Jamie CoolProgram ManagerMicrosoft Corporation

Page 2: Jamie Cool Program Manager Microsoft 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.

Page 3: Jamie Cool Program Manager Microsoft Corporation.

Agenda

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

Page 4: Jamie Cool Program Manager Microsoft Corporation.

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

Page 5: Jamie Cool Program Manager Microsoft Corporation.

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

Page 6: Jamie Cool Program Manager Microsoft Corporation.

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

Page 7: Jamie Cool Program Manager Microsoft Corporation.

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

Page 8: Jamie Cool Program Manager Microsoft Corporation.

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

Page 9: Jamie Cool Program Manager Microsoft Corporation.

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

Page 10: Jamie Cool Program Manager Microsoft Corporation.

Moving Data

demo

Page 11: Jamie Cool Program Manager Microsoft Corporation.

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

Page 12: Jamie Cool Program Manager Microsoft Corporation.

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

Page 13: Jamie Cool Program Manager Microsoft Corporation.

Displaying Data

demo

Page 14: Jamie Cool Program Manager Microsoft Corporation.

Shaping Data

XMLReader / XMLWriter

Serializers XML JSON

LINQ XLINQ LINQ to JSON

Page 15: Jamie Cool Program Manager Microsoft Corporation.

Shaping Data

demo

Page 16: Jamie Cool Program Manager Microsoft Corporation.

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!

Page 17: Jamie Cool Program Manager Microsoft Corporation.

Futures

Page 18: Jamie Cool Program Manager Microsoft Corporation.

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

Page 19: Jamie Cool Program Manager Microsoft Corporation.

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..

Page 20: Jamie Cool Program Manager Microsoft Corporation.

Silverlight Futures – Sneak Peak

demo

Page 21: Jamie Cool Program Manager Microsoft Corporation.

What else are we working on?

Richer tooling Editable VS SL designer Design time databinding support

Many more Silverlight controls Core platform enhancements

Page 22: Jamie Cool Program Manager Microsoft Corporation.

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

Page 23: Jamie Cool Program Manager Microsoft Corporation.

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: [email protected]

Questions?

Page 24: Jamie Cool Program Manager Microsoft Corporation.

Evals & Recordings

Please fill

out your

evaluation for

this session at:

This session will be available as a recording at:

www.microsoftpdc.com

Page 25: Jamie Cool Program Manager Microsoft Corporation.

Please use the microphones provided

Q&A

Page 26: Jamie Cool Program Manager Microsoft Corporation.

© 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.

Page 27: Jamie Cool Program Manager Microsoft Corporation.