WCF Practices

Embed Size (px)

Citation preview

  • 8/4/2019 WCF Practices

    1/30

    Chris HewittSenior ConsultantReadify

    Windows Server AppFabricSimplifying the Life of WCF and WF Developers

    SESSION CODE: #DEV322

  • 8/4/2019 WCF Practices

    2/30

  • 8/4/2019 WCF Practices

    3/30

    3

    AgendaWindows Server AppFabric

    AppFabric

    WCF 4.0

    WF 4.0 Services

    AppFabric Hosting Services

    AppFabric Caching Services

  • 8/4/2019 WCF Practices

    4/30

    4

    AppFabric?

    WindowsAzure AppFabric WindowsServer AppFabric

    You are Here

  • 8/4/2019 WCF Practices

    5/30

    5

    IIS Worker Process

    Windows Server AppFabric

    AppFabricHosting

    Services

    IIS Manager

    AppFabric Caching ServicesCache

    Server

    Cache

    Server

    ASP.NET

    WF & WCF

    Apps

    Windows

    Apps

    Cache ClientCache Client

    Persistence

    Database

    Monitoring

    Database

    CacheConfig

    Cache ClientCache Client

    Cache

    Server

  • 8/4/2019 WCF Practices

    6/30

    6

    AgendaWindows Server AppFabric

    AppFabric

    WCF 4.0

    WF 4.0 Services

    AppFabric Hosting Services

    AppFabric Caching Services

  • 8/4/2019 WCF Practices

    7/30

    7

    ASMX => WCF

    ASMX

    WCF

    + Power- Simplicity

  • 8/4/2019 WCF Practices

    8/30

    8

    WCF 4.0 - Back To The Future

    WCF

    4.0

    WCF

    + Power+ Simplicity

  • 8/4/2019 WCF Practices

    9/30

    9

    WCF - Simplified

    r t c l mappi gs

    efa lt e dp i ts

    efa lt i di gs a d e avi rs

  • 8/4/2019 WCF Practices

    10/30

    10

    WCF 4.0 Simplified

    DEMO

  • 8/4/2019 WCF Practices

    11/30

    11

    AgendaWindows Server AppFabric

    AppFabric

    WCF 4.0

    WF 4.0 Services

    AppFabric Hosting Services

    AppFabric Caching Services

  • 8/4/2019 WCF Practices

    12/30

    12

    Other Activities

    Base Activity Library

    Workflow

    Activities

    WF 4.0

    WF

    Runtime

    Visual Studio

    WF Workflow

    Designer

    Persistence

    Store

  • 8/4/2019 WCF Practices

    13/30

    13

    Workflow Service

    A WCF service whose logic is implemented as aWF workflow is called a workflow service

    WFRuntime

    WCF

    Client

  • 8/4/2019 WCF Practices

    14/30

    14

    Client

    Persistence

    Store

    Monitoring

    Database

    Hosting a Workflow Service

    IIS Manager

    Workflow

    Service

    WF

    WCF

    IIS WorkerProcess

    AppFabric

    Extensions

  • 8/4/2019 WCF Practices

    15/30

    15

    WF 4.0 Workflow Service

    DEMO

  • 8/4/2019 WCF Practices

    16/30

    16

    AgendaWindows Server AppFabric

    AppFabric

    WCF 4.0

    WF 4.0 Services

    AppFabric Hosting Services

    AppFabric Caching Services

  • 8/4/2019 WCF Practices

    17/30

    17

    IIS Worker Process

    AppFabric Hosting Services

    IIS ManagerWF &

    WCF

    Apps

    Persistence

    Database

    Monitoring

    Database

    ISV

    Apps

    ASP.NET

    Apps

    Event Tracingfor Windows (ETW)

    AppFabric

    Extensions

  • 8/4/2019 WCF Practices

    18/30

    18

    AppFabric Hosting Services

    DEMO

  • 8/4/2019 WCF Practices

    19/30

    19

    AgendaWindows Server AppFabric

    AppFabric

    WCF 4.0

    WF 4.0 Services

    AppFabric Hosting Services

    AppFabric Caching Services

  • 8/4/2019 WCF Practices

    20/30

    20

    IIS Worker Process

    AppFabric Caching Services

    AppFabric Caching ServicesCac e

    Server

    Cac e

    Server

    ASP.NET

    WF & WCF

    Apps

    Windows

    Apps

    Cache ClientCache Client

    CacheConfig

    Cache ClientCache Client

    Cac e

    Server

  • 8/4/2019 WCF Practices

    21/30

    21

    High Availability

    Cache Server

    Cached Data

    Yourapp

    LocalCacheCache Server

    Cached Data

    Cache Server

    Cached Data

  • 8/4/2019 WCF Practices

    22/30

    22

    Web Server Web Server Web Server

    Session State

    AppFabric Caching Services

    Cac e Server Cac e Server Cac e Server

    App

    Session State

    Provider

    1 21 2

    App

    Session State

    Provider

    App

    Session State

    Provider

    Browser1

    Browser2

  • 8/4/2019 WCF Practices

    23/30

    23

    AppFabric Caching Services

    DEMO

  • 8/4/2019 WCF Practices

    24/30

    24

    Summary

    WCF 4 simplified configuration

    WF 4 Easier to create, better model (XAML)

    Windows Server AppFabric provides supporting

    services for applicationsHosting, monitoring and control for WCF services,especially workflow services

    Useful for DEVELOPMENT as well as Production

    Caching services for ASP.NET applications and others

  • 8/4/2019 WCF Practices

    25/30

    25

    Expert advice and demonstrations for developing on the .NET PlatformExpert advice and demonstrations for developing on the .NET Platform

    For more information please visit:For more information please visit:

    UpcomingUpcoming eevents in a city near youvents in a city near you

    Discover. Master. Influence.Discover. Master. Influence.

  • 8/4/2019 WCF Practices

    26/30

    Questions?

  • 8/4/2019 WCF Practices

    27/30

    27

    For Further Reading

    Workflow, Services and AppFabric for the WebDeveloper (downloadable 2 daycourse)

    Visual Studio 2010 and .NET Framework 4

    Training KitWindows Server AppFabric Samples

    All at the Microsoft Download Center

  • 8/4/2019 WCF Practices

    28/30

    28

    Related Content

    Breakout sessions

    Breakout sessions

    Breakout sessions

    Breakout sessions

  • 8/4/2019 WCF Practices

    29/30

    2010 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 M icrosoft, 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.

  • 8/4/2019 WCF Practices

    30/30

    30

    www.msteched.com/Australia

    Sessions On-Demand & Community

    http:// technet.microsoft.com/en-au

    Resources for IT Professionals

    http://msdn.microsoft.com/en-au

    Resources for Developers

    www.microsoft.com/australia/learning

    Microsoft Certification & Training Resources

    Resources