net framework 3.0 windows presentation foundation windows communication foundation windows workflow...

33
.NET Framework 3.0 Windows Presentation Foundation Windows Presentation Foundation Windows Communication Foundation Windows Communication Foundation Windows Workflow Foundation Windows Workflow Foundation

Upload: moses-morrison

Post on 19-Jan-2016

255 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

.NET Framework 3.0.NET Framework 3.0

Windows Presentation FoundationWindows Presentation Foundation

Windows Communication FoundationWindows Communication Foundation

Windows Workflow FoundationWindows Workflow Foundation

Page 2: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

.NET Framework 3.0

Enable developers to take advantage of new Enable developers to take advantage of new technologies and hardware advances technologies and hardware advances

Increase developer productivityIncrease developer productivity

Improve application security, deployment and Improve application security, deployment and manageabilitymanageability

Leverage existing developer skillsLeverage existing developer skills

Enable developers to take advantage of new Enable developers to take advantage of new technologies and hardware advances technologies and hardware advances

Increase developer productivityIncrease developer productivity

Improve application security, deployment and Improve application security, deployment and manageabilitymanageability

Leverage existing developer skillsLeverage existing developer skills.NET Framework 3.0

WCF WPF WF WCS

ASP.NET ADO.NETWindows

Forms...

Common Language Runtime

Page 3: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

The Subsystems

Windows Communication Foundation Windows Communication Foundation

Windows Workflow FoundationWindows Workflow Foundation

Windows Presentation FoundationWindows Presentation Foundation

Windows CardSpaceWindows CardSpace

Four strategic developer technologies that will Four strategic developer technologies that will ship as part of the Windows Vista operating ship as part of the Windows Vista operating systemsystem

In addition, Microsoft is making these In addition, Microsoft is making these technologies available on Windows XP and technologies available on Windows XP and Windows Server 2003Windows Server 2003

Page 4: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation
Page 5: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Unifies today’s distributed technology Unifies today’s distributed technology stacksstacks

Cross-platform interoperabilityCross-platform interoperability

Windows Communication Foundation

The unified framework for building service-The unified framework for building service-oriented oriented

applications on the Windows platformapplications on the Windows platform

Supports all features required by SOAsSupports all features required by SOAs

Page 6: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Each stack has different strengths, target scenariosEach stack has different strengths, target scenariosCustomers want to mix and match, compose:Customers want to mix and match, compose:

Reliable servicesReliable servicesInteroperable transactionsInteroperable transactions

ServicesInteroperable

ASP.NET Infrastructure

ObjectsExtensible

CLR Infrastructure

ComponentsTransactions

COM+ Infrastructure

QueuingReliable Msg

MSMQ Infrastructure

Distributed Stacks Today

Page 7: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

WS-*WS-*ProtocolsProtocols

SOASOAInteropInterop

Attribute-Attribute-BasedBased

ProgrammingProgramming

Message-Message-OrientedOriented

ProgrammingProgramming

ComposabilityComposabilityExtensibilityExtensibility

The Union of Today’s Stacks

Page 8: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

WCF Architecture

Transport

Extensibility

Reliability

Security

API for User code

Built-in controls for reuse

Page 9: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Service Model LayerService Model Layer

Instancing Behavior

Security

Channel TCP

Transport

ChannelUDP

Transport

Channel

Cross-Proc

Transport ChannelQueue

Transport

Channel

HTTP Transpor

t Channel

Messaging LayerMessaging Layer

Full DuplexChanne

l

Reliable Messagi

ngChannel

CustomChanne

l

BehaviorsBehaviors ChannelsChannels

Transaction Behavior

CLR Type Integration Behavior

Throttling Behavior

Metadata Behavior

Error Handling Behavior

Concurrency Behavior

Custom Behavior

Security

Channel

HTTP Transpor

t Channel

TCP Transpor

t Channel

UDP Transpor

t ChannelReliable

Messaging

Channel

CustomChanne

l

Instancing Behavior

Custom Behavior

CLR Type Integration Behavior

Composability

Page 10: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Windows Communications FoundationWindows Communications Foundation

Page 11: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation
Page 12: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

What is a workflow?

A set of A set of activitiesactivities that coordinate that coordinate peoplepeople

and / or software...and / or software...EscalateToManagerExample activitiesExample activities……. . CheckInventory

Like a flowchartLike a flowchart……. .

……organized into some form of organized into some form of workflowworkflow..

Or a state diagramOr a state diagram……. .

Page 13: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Workflow

Workflow is everywhereWorkflow is everywhereEvery “if” statementEvery “if” statement

Every Web page transitionEvery Web page transition

Think about all the places where Think about all the places where your app has conditional logic…your app has conditional logic…

Need to take the next stepNeed to take the next stepGet the complex workflow logic Get the complex workflow logic out of the applicationsout of the applications

Capture this logic into a systemCapture this logic into a system

Expose this system to developersExpose this system to developers

Page 14: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Windows Workflow Foundation

Extensible framework & API to Extensible framework & API to build workflow centric productsbuild workflow centric products

Single workflow technologySingle workflow technology for all of Windows for all of Windows

Fundamental part of the Office “12” value Fundamental part of the Office “12” value propositionproposition

Page 15: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Concepts and Components

Key ConceptsKey Concepts

Host Process

WindowsWorkflow Foundation

Runtime Engine

A Workflow

An Activity

Runtime Services

Base Activity Library

Custom Activity Library

Visual Designer

Visual Designer:Visual Designer: Graphical and Graphical and code-based constructioncode-based construction

Workflows are a set of Workflows are a set of ActivitiesActivitiesWorkflows run within a Host Workflows run within a Host Process:Process: any application or any application or serverserverDevelopers can build their own Developers can build their own Custom Activity LibrariesCustom Activity Libraries

ComponentsComponents

Base Activity Library:Base Activity Library: Out-of-box Out-of-box activities and base for custom activities and base for custom activitiesactivitiesRuntime Engine:Runtime Engine: Workflow Workflow execution and state managementexecution and state management

Runtime Services:Runtime Services: Hosting Hosting flexibility and communicationflexibility and communication

Page 16: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Consistent and Familiar Experience for Development

Workflow Workflow DesignersDesigners

(À la ‘ASP.NET’ Designer)(À la ‘ASP.NET’ Designer)

Create new workflows Create new workflows Visual (/code) authoringVisual (/code) authoringVisual debuggingVisual debuggingThemes support Themes support

Activity DesignerActivity Designer(À la ‘UserControl’ (À la ‘UserControl’

Designer)Designer)

Create new activitiesCreate new activitiesInherit from base activities or Inherit from base activities or start from scratchstart from scratch

Activity Designer

Sequential Designer State Machine

Designer

Page 17: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Windows Workflow FoundationWindows Workflow Foundation

Page 18: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

SharePoint: Start/participate, customize, and track workflows

• Workflows run inside SharePoint and are accessible across the Office System

OutLook: Receive notifications and track tasks

FrontPage: Create and customize workflows

Workflow Enabled OfficeWorkflow Enabled Office

Word, PowerPoint, Excel, InfoPath: Start/participate in SharePoint workflow

•Provide document centric workflow as an integrated part of the Office experience

•Empower information workers with common workflow solutions and activities out of the box

•Empower organizations to build sophisticated workflow using the full functionality of the broader platform

Office “12” Workflow Office “12” Workflow VisionVision

Workflow Integration with Office “12”

Page 19: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

WF ResourcesMSDNMSDN®® Workflow Page Workflow Page

Download the MicrosoftDownload the Microsoft®® Visual Studio Visual Studio®® ExtensionsExtensionsDownload 12 Hands-on LabsDownload 12 Hands-on Labshttp://msdn.microsoft.com/workflowhttp://msdn.microsoft.com/workflow

Community SiteCommunity SiteDownload samples, tools, and runtime Download samples, tools, and runtime service componentsservice componentshttp://www.WindowsWorkflow.nethttp://www.WindowsWorkflow.net

ForumsForumsAsk questions in the forumsAsk questions in the forumshttp://www.WindowsWorkflow.net/Forumshttp://www.WindowsWorkflow.net/Forums

Page 20: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Enabling app developers for Enabling app developers for amazing UXamazing UX

WindowsWindows®® Presentation Presentation FoundationFoundation

Page 21: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Why hasn’t UX taken off in software?

UX is often not recognized as a top UX is often not recognized as a top level requirementlevel requirement

““Functional” is often sufficientFunctional” is often sufficient

Development complexity is the main Development complexity is the main challengechallenge

Great UX takes more timeGreat UX takes more time

Application UX design is an emerging Application UX design is an emerging disciplinediscipline

Craft, best practices, and technologies to drive UX Craft, best practices, and technologies to drive UX design and development are still emergingdesign and development are still emerging

Page 22: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Developer Capability – The Lever to Superior UX

By unlocking developer capability & By unlocking developer capability & spurring productivity…spurring productivity…

End User UX can be brought into scope…End User UX can be brought into scope…

And significant new & expanded business And significant new & expanded business opportunities will come into reachopportunities will come into reach

Page 23: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Richness vs. Complexity - Microsoft Presentation Technologies

UX RichnessUX Richness

Develo

per

Develo

per

Pro

du

cti

vit

yP

rod

ucti

vit

y

ASP.NET 2.0(HTML)

Windows Forms 2.0

Win32

Direct 3D v9

Availability: Availability: 2005 2006

DHTML(AJAX)

1997

ASP.NET “Atlas”

Approachable

Direct 3Dv10

Richness

WindowsPresentationFoundation

Optimized Richness

& Approachable

Page 24: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Windows Presentation Foundation

Microsoft’s strategic UX technologyMicrosoft’s strategic UX technologyThe common foundation for UI, documents, and The common foundation for UI, documents, and media on Windows Vistamedia on Windows Vista

Windows Presentation Foundation Windows Presentation Foundation consists of:consists of:

Hardware accelerated rich media presentation Hardware accelerated rich media presentation engine built on Direct 3D v10engine built on Direct 3D v10

.NET Framework programming and object model.NET Framework programming and object model

XAML Declarative Markup language for describing XAML Declarative Markup language for describing content and UIcontent and UI

Page 25: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Extensible Application Markup Language –XAMLExtensible Application Markup Language –XAMLDeclaratively program the object modelDeclaratively program the object model

One-to-one correspondence with object modelOne-to-one correspondence with object model

Each tag corresponds to an object model classEach tag corresponds to an object model class

Easy for tools to consume and generateEasy for tools to consume and generateEnables interoperation between design and developer toolsEnables interoperation between design and developer tools

Consistent programming modelConsistent programming modelConsistent model between UI, documents, and mediaConsistent model between UI, documents, and media

Button b1 = new Button();b1.Content = "OK";b1.Background = new SolidColorBrush(Colors.LightBlue);b1.Width = new Length(100);

<Button Width="100px"> OK <Button.Background> HorizontalGradient White LtBlue </Button.Background></Button>

Dim b1 As New Buttonb1.Content = "OK"b1.Background = New SolidColorBrush(Colors.LightBlue)b1.Width = New Length(100)

XAML Declarative Programming

Page 26: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Windows Presentation FoundationWindows Presentation Foundation

Page 27: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

WPF References

Dev Center GuidelinesDev Center Guidelineshttp://msdn.microsoft.com/windowsvista/experienhttp://msdn.microsoft.com/windowsvista/experience/ce/

WPF HomeWPF Homehttp://msdn.microsoft.com/windowsvista/building/http://msdn.microsoft.com/windowsvista/building/presentation/default.aspxpresentation/default.aspx

WPF NewsgroupWPF Newsgrouphttp://forums.microsoft.com/msdn/showforum.asphttp://forums.microsoft.com/msdn/showforum.aspx?forumid=119&siteid=1x?forumid=119&siteid=1

Page 28: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Microsoft Expression™ IntroductionMicrosoft Expression™ Introduction

Page 29: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

What are the Expression Tools?

Microsoft Expression™ Microsoft Expression™ Professional design tools from MicrosoftProfessional design tools from Microsoft

Three products:Three products:Graphic DesignerGraphic Designer

Interactive Designer Interactive Designer

Web DesignerWeb Designer

Design for .NET Fx 3.0Design for .NET Fx 3.0

Page 30: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Overview

Graphic Designer – “Acrylic”Graphic Designer – “Acrylic”Create graphic visual effectsCreate graphic visual effects

Best of vector-based and pixel-based design Best of vector-based and pixel-based design

Export to Windows Presentation FoundationExport to Windows Presentation Foundation

Interactive Designer - “Sparkle”Interactive Designer - “Sparkle”Create innovative and beautiful applications Create innovative and beautiful applications

Cinematic user interfaces Cinematic user interfaces

Create in XAML and .NET Framework 3.0Create in XAML and .NET Framework 3.0

Web Designer – “Quartz”Web Designer – “Quartz”Design, develop, and maintain exceptional standards-based Design, develop, and maintain exceptional standards-based Web sites Web sites

Dynamic web sites with ASP.NET 2.0Dynamic web sites with ASP.NET 2.0

Page 31: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Expression Resources

Expression Home PageExpression Home Pagehttp://www.microsoft.com/products/expression/http://www.microsoft.com/products/expression/en/default.aspxen/default.aspx

Expression DemosExpression Demoshttp://www.microsoft.com/products/expression/http://www.microsoft.com/products/expression/en/demos.aspxen/demos.aspx

FAQFAQhttp://www.microsoft.com/products/expression/http://www.microsoft.com/products/expression/en/expression_faq.aspxen/expression_faq.aspx

News and PressNews and Presshttp://www.microsoft.com/products/expression/http://www.microsoft.com/products/expression/en/news_and_press/default.aspxen/news_and_press/default.aspx

Page 32: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

Vista References

MSDN Windows Vista Developer CenterMSDN Windows Vista Developer Centerhttp://msdn.microsoft.com/windowsvista http://msdn.microsoft.com/windowsvista

Top-10 Ways to Light Up Your Windows Vista Top-10 Ways to Light Up Your Windows Vista ApplicationsApplications

http://msdn.microsoft.com/windowsvista/top10 http://msdn.microsoft.com/windowsvista/top10

Preliminary Windows Vista UX GuidelinesPreliminary Windows Vista UX Guidelineshttp://msdn.microsoft.com/windowsvista/experience http://msdn.microsoft.com/windowsvista/experience

Enterprise Planning Guide for Windows Vista PCsEnterprise Planning Guide for Windows Vista PCshttp://www.microsoft.com/technet/windowsvista/evaluate/http://www.microsoft.com/technet/windowsvista/evaluate/hardware/entpguid.mspx hardware/entpguid.mspx

Using Application Compatibility Tools for Marking Using Application Compatibility Tools for Marking Legacy Applications with Elevated Run Levels on Legacy Applications with Elevated Run Levels on Windows VistaWindows Vista

http://www.microsoft.com/technet/windowsvista/deploy/http://www.microsoft.com/technet/windowsvista/deploy/appcompat/acshims.mspx appcompat/acshims.mspx

PDC 2005 Recorded SessionsPDC 2005 Recorded Sessionshttp://microsoft.sitestream.com/PDC05/ http://microsoft.sitestream.com/PDC05/

Page 33: NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation

[email protected]://blogs.msdn.com/[email protected]://blogs.msdn.com/johanl