philly tech fest silverlight

28
Creating Silverlight 3.0 Applications & Silverlight 4.0 Sneak Peek Andre Magni, ME MCT, MCITP, MCPD, MSF Practitioner Training Manager

Upload: springhouse-education-and-consulting-services

Post on 18-Nov-2014

775 views

Category:

Technology


0 download

DESCRIPTION

Slide presentation from Philly TechFest 2010

TRANSCRIPT

Page 1: Philly Tech Fest Silverlight

Creating Silverlight 3.0 Applications & Silverlight 4.0 Sneak Peek

Andre Magni, ME

MCT, MCITP, MCPD, MSF Practitioner

Training Manager

Page 2: Philly Tech Fest Silverlight

Agenda

Goals of Silverlight

Working with WCF Services

Data Visualization and Binding

What’s new on Silverlight 4

Page 3: Philly Tech Fest Silverlight

Agenda

Goals of Silverlight

Working with WCF Services

Data Visualization and Binding

What’s new on Silverlight 4

Page 4: Philly Tech Fest Silverlight

Goals

Compelling user experience

Great results through major browsers

Easy to integrate with back-end systems

Can run locally

Minimal learning curve for .NET developers

4

Page 5: Philly Tech Fest Silverlight

Developer Environment

Silverlight 3

• Visual Studio 2008

• Silverlight Tools for Visual Studio

• Expression Blend 3

Silverlight 4

• Visual Studio 2010

• Silverlight Tools for Visual Studio

• Expression Blend 4 (RC was published on 4/30)

5

Page 6: Philly Tech Fest Silverlight

Getting Started

Hosting options

• HTML pages with Silverlight Content Region

• ASP.NET site, VS creates 2 projects:

• Silverlight project itself

• ASP.NET

6

Page 7: Philly Tech Fest Silverlight

Getting Started

Demo: Getting Started

7

Page 8: Philly Tech Fest Silverlight

Agenda

Goals of Silverlight

Working with WCF Services

Data Visualization and Binding

What’s new on Silverlight 4

Page 9: Philly Tech Fest Silverlight

Working with WCF Services

Adding a Service Reference

Creating a Service Proxy

• svcutil http://mysvc/svc1.svc?wsdl

All calls must be Asynchronous

• Use the proxy class Aysnc call + Completed event

• 1 minute timeout

9

Page 10: Philly Tech Fest Silverlight

Working with WCF Services

Cross-domain security – clientaccesspolicy.xml

10

Page 11: Philly Tech Fest Silverlight

Working with WCF Services

Demo: Simple Web Service

Demo: Auto complete Web Service

11

Page 12: Philly Tech Fest Silverlight

Agenda

Goals of Silverlight

Working with WCF Services

Data Visualization and Binding

What’s new on Silverlight 4

Page 13: Philly Tech Fest Silverlight

Data Visualization and Binding

Does NOT support ADO.NET Dataset

Does NOT support grouped data

Does NOT support IDataErrorInfo

Value Converters only in one data property not multiple

13

Page 14: Philly Tech Fest Silverlight

Data Binding

Text to a TextBox

<TextBox Text=“{Binding PresentationName}”/>

Binding Mode:

• OneWay: source changes target changes

• TwoWay: source changes target changes

• OneTime: source changes X

14

Page 15: Philly Tech Fest Silverlight

Data Binding

Demo: Simple Data Binding

15

Page 16: Philly Tech Fest Silverlight

Binding to Lists

ItemsControl class:

• ItemsSource

• DisplayMemberPath

• ItemTemplate

• ItemsPanel

16

Page 17: Philly Tech Fest Silverlight

Data Biding

Demo: Binding to Lists

Demo: Getting data from WCF Services

17

Page 18: Philly Tech Fest Silverlight

Agenda

Goals of Silverlight

Working with WCF Services

Data Visualization and Binding

What’s new on Silverlight 4

Page 19: Philly Tech Fest Silverlight

What’s new on Silverlight 4

For Application Developers • Printing support

• 60+ styleable components. • DataGrid with sort/resize and even copy and paste rows

• WCF RIA support

• Localization

• Same code can run on desktop and Silverlight

• Drag and Drop

• More performance

• Multi-touch support

19

Page 20: Philly Tech Fest Silverlight

WCF Rich Internet Applications Services

20

Page 21: Philly Tech Fest Silverlight

Silverlight 4

Demo: Silverlight 4

Demo: WCF RIA Services

21

Page 22: Philly Tech Fest Silverlight

Q&A

Page 23: Philly Tech Fest Silverlight

Thank you!

Andre Magni

[email protected]

Page 24: Philly Tech Fest Silverlight

Stay Connected with Springhouse

www.linkedin.com/companies/201280

www.facebook.com/springhouseeducation

www.twitter.com/SpringhouseEduc Join in the conversation Philly TechFest hashtag #phtf10

Page 25: Philly Tech Fest Silverlight

Spend an hour over lunch (12pm – 1pm ET) with a live presentation and demonstration of topics such as: • SharePoint Document Libraries • Project 2007/Project Management Tips & Tricks • Windows 7 for IT Pros • Office 2007 and Office 2010 • and many more

Just visit www.Springhouse.com/iLearn to learn more and register for a FREE webcast!

Upcoming iLearn Topics

What's New in Microsoft Office 2010

5/17/2010

An Overview of ITIL 5/20/2010

IIS 7.0 for Developers 6/1/2010

Project Management Tips and Tricks

6/14/2010

Common Tasks with PowerShell

6/24/2010

Microsoft Excel 2007: Tips and Tricks

6/28/2010

Page 26: Philly Tech Fest Silverlight

There is no need to travel to take a live, instructor-led class with Springhouse. You can stay at home or at your office and join a class via Springhouse CONNECT, our Remote Learning System.

• Participate in the live instructor-led classroom demonstrations and labs

• Interact with the instructor and students, via high-quality conferencing equipment

• View the Instructor's Presentation, Whiteboard and Demonstrations

• Get remote hands-on help from the Instructor during labs and demos

Take ANY class via Springhouse CONNECT. Learn more at www.Springhouse.com/CONNECT

Page 27: Philly Tech Fest Silverlight

Buy 2 Classes, Get 1 Free! Or Buy 1 Class, Get 2nd for Half Price! What’s In It For Me? • You’ll Gain New Skills! • You’ll Save Money! • You’ll Increase Your Productivity!

How Do I Take Advantage? Visit www.Springhouse.com and select any course scheduled to run between May 31, 2010 and September 6, 2010. Enroll in the course using Promo Code: SUMMER2010 A Springhouse representative will contact you to register for the other discounted course.

Springhouse is making it easier for you and your organization to gain new skills and increase productivity while maximizing your budget. For full details of the program visist www.Springhouse.com/Summer-of-Learning

Page 28: Philly Tech Fest Silverlight

Exton, PA – May 13th Malvern, PA – June 29th Reston, VA - May 14th Richmond, VA – June 2nd & 11th Washington, DC – June 30th For full event details and registration visit www.springhouse.com/events

Event Overview This one-day Windows 7 Migration Clinic dives deep into the migration and deployment planning strategies for Windows 7. Through a series of in-depth presentations and exercise demonstrations, we will highlight the new tools and technologies designed to enable successful Windows 7 migrations and deployments.

Upcoming Windows 7 Migration Clinics