Your SlideShare is downloading. ×
Exchange 2010 Web Services
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Exchange 2010 Web Services

11,452
views

Published on

En esta presentación revisamos las características de Exchange 2010 Web Services. …

En esta presentación revisamos las características de Exchange 2010 Web Services.

Saludos,
Eduardo Castro – Microsoft SQL Server MVP
http://mswindowscr.org
http://comunidadwindows.org
Costa Rica

Published in: Technology

1 Comment
5 Likes
Statistics
Notes
No Downloads
Views
Total Views
11,452
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
1
Likes
5
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. What's New in Exchange Web Services in Microsoft Exchange Server 2010
    Ing. Eduardo Castro, PhD
    Grupo Asesor en Informática
    ecastro@grupoasesor.net
  • 2. We are Very Serious About EWS
    Entourage 2008 - www.microsoft.com/mac/products/entourage2008/
  • 3. Exchange 2010 Enterprise Topology
    Enterprise Network
    Phone system (PBX or VOIP)
    Hub Transport
    Routing & Policy
    Edge Transport
    Routing & AV/AS
    External
    SMTPservers
    Unified Messaging
    Voice mail & voice access
    Mailbox
    Storage of mailbox items
    Mobile phone
    Client Access
    Client connectivity
    Web services
    Web browser
    Outlook (remote user)
    Line of business application
    Outlook (local user)
  • 4. Consolidation of Store Access Paths
    Exchange 2010
    Exchange 2007
    Exchange Components
    Exchange Components
    Transport Agents
    Transport Agents
    WS
    WS
    OWA
    OWA
    Mailbox Agents
    Mailbox Agents
    UM
    UM
    Entourage
    Sync
    Sync
    Outlook / MAPI clients
    MiddleTier
    Exchange Biz Logic
    MiddleTier
    MAPI, RFR & NSPIRPC
    Exchange Biz Logic
    Outlook / MAPI clients
    Exchange Core Biz Logic
    Entourage
    DAV
    Mailbox
    MAPI RPC
    Mailbox
    MAPI RPC
    Store
    Store
  • 5. RPC Client Access ServiceThe what
    Outlook Clients
    A new service in Exchange Server 2010 that resides on CAS
    What it handles:
    Outlook data connections go to CAS instead of connecting directly to mailbox servers
    Replaces the DSProxy interface by providing an Address Book service on CAS
    Public folder connections connect directly to the mailbox server, but through RPC Client Access
    Exchange CAS Array
    MBX
    GC
  • 6. Client AccessClient RPC connection changes
    Exchange Server 2007
    Exchange Server 2010
    Outlook / MAPI clients
    Outlook / MAPI clients
    CAS Array
    MAPI RPC
    NSPI,RFR RPC
    RPCProxy
    CAS
    RpcProxy
    Exchange Biz Logic
    Mailbox
    MAPI RPC
    AD
    LDAP
    NSPI
    DSProxy
    Mailbox
    MAPI RPC
    AD
    Store
    Store
    ESE
    ESE
    RPC Data Flow
    HTTP Data Flow
    Common Data Flow
  • 7. What is EWS?
    Unified API to access Exchange resources
    Items and folders
    Synchronization
    Calendaring workflows
    Built on top of an outlook-compatible common business logic
    Appropriate architectural choices
    Standards-based (SOAP)
    Remotable
  • 8. Exchange N-Tier Architecture
    Mailbox Server
    Mailbox Server
    CDOEx
    ExoleDB
    CDO 1.2.1
    WebDAV
    Exchange 2000/2003
    HTTP
    RPC
    Windows Client
    Exchange Web Services
    RPC
    HTTP
    Exchange 2007/2010
    X-Platform Client
    Client Access Server
  • 9. Unifying a Large Set of APIs
    Outlook interop
    Do it yourself
    Built-in
    Runs on the mailbox server
    OleDB
    CDO for Exchange
    CDO 1.2.1
    MAPI
    Runs in the intranet only
    Runs over the internet
    Exchange Web Services
    WebDAV
  • 10. Exchange API EvolutionWhy you should use EWS
    The following APIs were de-emphasized in Exchange 2007, they have been removed from Exchange 2010:
    CDO 1.2.1
    CDOEx
    ExOLEDB
    WebDAV
    OWA URL commands
    Store Events
    Replaced by EWS
    EWS only support asynchronous events
  • 11. EWS Architecture: Impact on Your Applications
    Installation
    Applications no longer installed on Mailbox
    Authentication
    Applications no longer have full mailbox access when running on a Mailbox Server
    Asynchronous notifications only
    No synchronous events
    EWS supports any language or platform capable of making an HTTP request (C#/C/C++/Java)
  • 12. EWS Features Overview
    Exchange mailboxes
    Public folders
    Business logic layer (shared with Outlook Web Access and ActiveSync)
    Full access to items, folders and attachments:
    Exchange 2007
    Exchange 2007 Service Pack 1
    Exchange 2010
    HTTP/SOAP
    HTTP/SOAP
    Auto-generated proxies, raw XML
    EWS Managed API
    or
  • 35. Introducing the EWS Managed APIFor Exchange 2007 SP1 and Exchange 2010 development
    Easy
    First-class .NET development for Exchange
    Fully object-oriented
    Fast
    Discoverable and intuitive, easy to learn
    Full IntelliSense support
    High quality
    Significantly reduces the number of lines of code
    Code is easy to read, understand and maintain
    “Software + Services” ready
  • 36. GetFolderType request = new GetFolderType();
    request.FolderShape = new FolderResponseShapeType();
    request.FolderShape.BaseShape = DefaultShapeNamesType.AllProperties;
    DistinguishedFolderIdTypeinboxId = new DistinguishedFolderIdType();
    inboxId.Id = DistinguishedFolderIdNameType.inbox;
    request.FolderIds = new BaseFolderIdType[] { inboxId };
    GetFolderResponseType response = serviceBinding.GetFolder(request);
    FolderInfoResponseMessageTyperesponseMessage =
    response.ResponseMessages.Items[0] as FolderInfoResponseMessageType;
    if (responseMessage.ResponseClass == ResponseClassType.Success)
    {
    FolderType inbox = responseMessage.Folders[0] as FolderType;
    }
    <s:Envelope>
    <s:Body>
    <m:GetFolderResponse>
    <m:ResponseMessages>
    <m:GetFolderResponseMessage
    ResponseClass="Success">
    <m:ResponseCode>NoError</m:ResponseCode>
    <m:Folders>
    <t:Folder>
    <t:FolderIdId="..." ChangeKey="..." />
    <t:FolderClass>IPF.Note</t:FolderClass>
    <t:DisplayName>Inbox</t:DisplayName>
    ...
    </t:Folder>
    </m:Folders>
    </m:GetFolderResponseMessage>
    </m:ResponseMessages>
    </m:GetFolderResponse>
    </s:Body>
    </s:Envelope>
    <soap:Envelope>
    <soap:Body>
    <m:GetFolder>
    <m:FolderShape>
    <t:BaseShape>AllProperties</t:BaseShape>
    </m:FolderShape>
    <m:FolderIds>
    <t:DistinguishedFolderIdId="inbox" />
    </m:FolderIds>
    </m:GetFolder>
    </soap:Body>
    </soap:Envelope>
    Folder inbox = Folder.Bind(service, WellKnownFolderName.Inbox);
    How Easy?
    Increased Productivity
    Raw XML
    Auto-generated proxies
    EWS Managed API
    • Cross-platform
    • 37. No client-side logic
    • 38. Manual plumbing
    • 39. Multiple platforms
    • 40. Class-based access
    • 41. No client-side logic
    • 42. Windows only (.NET 3.5)
    • 43. Fully Object Oriented
    • 44. Smart client-side logic
  • Exchange 2010
    Ing. Eduardo Castro, PhD
    Architect
    http://ecastrom.blogspot.com
    demo
  • 45. Autodiscover and Tracing
    The EWS Managed API includes a built-in Autodiscover client
    All the logic required to discover the Autodiscover endpoint is taken care of
    One line auto-configuration
    Tracing
    Shows all the steps the EWS Managed API goes through to find the Autodiscover endpoint
    Useful to debug Autodiscover configuration issues
    Works throughout the API, not only Autodiscover
  • 46. Full Private DL Support
    Support for all operations on Private Distributions Lists (aka “groups”)
    Create, update, modify, delete
    Add, update, remove members
  • 47. UserConfiguration and FAI
    Create and retrieve UserConfiguration objects
    Store XML, binary data or key/value pairs
    Create and find Folder Associated Items
  • 48. Enhanced Time Zone Support
    Support for a different TZ for start and end times
    EWS Managed API makes it very easy to specify time zones
    Improved reliability when time adjustment rules change
  • 49. Availability Service
    Free/busy information
    Meeting time suggestions
    Now very easy to use via the EWS Managed API
  • 50. Wrapping It Up
    Start migrating your WebDAV and CDOEx applications now
    Legacy APIs have been removed from Exchange 2010
    Use Autodiscover:
    To figure out the appropriate EWS URL for a given mailbox,
    To make your application service ready
    Download the EWS Managed API Beta
    Exchaneg development made easy for .NET developers
  • 51. question & answer
  • 52. Required Slide
    Speakers,
    TechEd 2009 is not producing
    a DVD. Please announce that
    attendees can access session
    recordings at TechEd Online.
    www.microsoft.com/teched
    Sessions On-Demand & Community
    www.microsoft.com/learning
    Microsoft Certification & Training Resources
    http://microsoft.com/technet
    Resources for IT Professionals
    http://microsoft.com/msdn
    Resources for Developers
    www.microsoft.com/learning
    Microsoft Certification and Training Resources
    Resources
  • 53. Resources
    Download the Exchange 2010 EWS Managed API 1.0Exchange Web Services Managed API 1.0
    Visit the Microsoft Unified Communications Developer Portalhttp://msdn.microsoft.com/uc
    Visit the Microsoft Exchange Developer Centerhttp://msdn.microsoft.com/exchange
    Visit the Microsoft Office Communications Developer Portalhttp://msdn.microsoft.com/ocdev
    Join the UC Developer Community and Sign-up for the Dev Sandbox!http://gotuc.net
  • 54. Download the EWS Managed APIEWS Managed API 1.0 Download
    Get the book!
    EWS basics
    Things in the mailbox
    Searching
    Synchronization & Notifications
    Advanced topics
  • 55. Required Slide
    © 2009 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.