Оцените презентацию от 1 до 5 баллов!
Тип файла:
ppt / pptx (powerpoint)
Всего слайдов:
29 слайдов
Для класса:
1,2,3,4,5,6,7,8,9,10,11
Размер файла:
833.43 kB
Просмотров:
59
Скачиваний:
0
Автор:
неизвестен
Слайды и текст к этой презентации:
№1 слайд![](/documents_6/86d0996a6b2d7d892eb3605332a06399/img0.jpg)
№2 слайд![Advanced Exchange Web](/documents_6/86d0996a6b2d7d892eb3605332a06399/img1.jpg)
Содержание слайда: Advanced Exchange Web Services Programming
Jason Henderson
Principal Program Manager Lead
Microsoft
Session Code: UNC401
№3 слайд![Agenda What is new in](/documents_6/86d0996a6b2d7d892eb3605332a06399/img2.jpg)
Содержание слайда: Agenda
What is new in Exchange 2010 Web Services?
Advanced EWS Managed API Concepts
Using Autodiscover
Accessing Mailbox Items
Writing Scalable Applications
Using Diagnostics to Identify Potential Performance Problems
Best Practice Recommendations
№4 слайд![Same Rich Capabilities as E](/documents_6/86d0996a6b2d7d892eb3605332a06399/img3.jpg)
Содержание слайда: Same Rich Capabilities as E2007
Rich Mailbox Access
Calendar - Free/busy, Meeting time Suggestions
E-mail – Send, Retrieve, Forward, Reply, Move, MIME
Contacts/Tasks
Search
Name Resolution
Change notifications
Synchronization services
Autodiscover
Rich Logon Modes
Delegate Access
Impersonation
Direct Logon
Plus Much More…
№5 слайд![What s New In Exchange ?](/documents_6/86d0996a6b2d7d892eb3605332a06399/img4.jpg)
Содержание слайда: What’s New In Exchange 2010?
№6 слайд![Agenda What is new in](/documents_6/86d0996a6b2d7d892eb3605332a06399/img5.jpg)
Содержание слайда: Agenda
What is new in Exchange 2010 Web Services?
Advanced EWS Managed API Concepts
Using Autodiscover
Accessing Mailbox Items
Writing Scalable Applications
Using Diagnostics to Identify Potential Performance Problems
Best Practice Recommendations
№7 слайд![Using Autodiscover To Connect](/documents_6/86d0996a6b2d7d892eb3605332a06399/img6.jpg)
Содержание слайда: Using Autodiscover To Connect To EWS
What is Autodiscover?
It’s a web service that configures
Exchange applications
Using a URL that can be automatically discovered by client applications
Why use it?
Removes the need for hard-coding the EWS URL
Enables seamless failover and “anywhere access”
Built-in client in the EWS Managed API
Makes it really easy to call Autodiscover
№8 слайд![When To Autodiscover The EWS](/documents_6/86d0996a6b2d7d892eb3605332a06399/img7.jpg)
Содержание слайда: When To Autodiscover The EWS URL
Inter-site failover and move
№9 слайд![When To Autodiscover The EWS](/documents_6/86d0996a6b2d7d892eb3605332a06399/img8.jpg)
Содержание слайда: When To Autodiscover The EWS URL
Migration
№10 слайд![Demos Calling AutodiscoverUrl](/documents_6/86d0996a6b2d7d892eb3605332a06399/img9.jpg)
Содержание слайда: Demos
Calling AutodiscoverUrl
Using AutodiscoverService
Batch requests
Retrieving specific settings (e.g. OWA URLs)
№11 слайд![Accessing Mailbox Items](/documents_6/86d0996a6b2d7d892eb3605332a06399/img10.jpg)
Содержание слайда: Accessing Mailbox Items
Properties And Property Sets
There are multiple ways to retrieve items
List items or search for specific items
Inbox.FindItems()
Bind to or load specific items
EmailMessage.Load();
Synchronize items
service.SyncFolderItems()
All use PropertySets to scope data to return
№12 слайд![Accessing Mailbox Items Batch](/documents_6/86d0996a6b2d7d892eb3605332a06399/img11.jpg)
Содержание слайда: Accessing Mailbox Items
Batch Operations
Batch operations act on multiple items in a single EWS request
Using batch operations:
Helps increases your application’s performance
Helps reduce server load
The EWS Managed API supports batch operations in addition to per-item operations
№13 слайд![Extended Properties](/documents_6/86d0996a6b2d7d892eb3605332a06399/img12.jpg)
Содержание слайда: Extended Properties
Complement “first class” properties
First class properties are directly available on items and folders (e.g. Item.Subject, Folder.DisplayName)
Allow developers to:
Set and retrieve custom, application
specific properties
Access properties that are not exposed as “first class” properties
Do bad things (so use with care):
Access properties that should not be accessed
Override EWS’ business logic
№14 слайд![Demo Bind Property set](/documents_6/86d0996a6b2d7d892eb3605332a06399/img13.jpg)
Содержание слайда: Demo
Bind
Property set
FindItems w/filter on Extended Property and with IdOnly
LoadProperties w/custom property set
№15 слайд![Agenda What is new in](/documents_6/86d0996a6b2d7d892eb3605332a06399/img14.jpg)
Содержание слайда: Agenda
What is new in Exchange 2010 Web Services?
Advanced EWS Managed API Concepts
Using Autodiscover
Accessing Mailbox Items
Writing Scalable Applications
Best Practice Recommendations
Using Exchange Web Services Diagnostics
№16 слайд![Scalability What is](/documents_6/86d0996a6b2d7d892eb3605332a06399/img15.jpg)
Содержание слайда: Scalability
What is scalability?
It is doing more with fewer resources
It is minimizing the Exchange Server resource
cost per user
We will discuss:
How to measure the impact of your EWS requests on Exchange?
How to minimize the internal Exchange processing driven by your application
№17 слайд![Exchange Architecture](/documents_6/86d0996a6b2d7d892eb3605332a06399/img16.jpg)
Содержание слайда: Exchange Architecture
№18 слайд![Methodology for Maximizing](/documents_6/86d0996a6b2d7d892eb3605332a06399/img17.jpg)
Содержание слайда: Methodology for Maximizing Scale
Think about your final end to end scenario and design your I/O patterns leveraging
best practices
Write code, Measure, Optimize, Repeat!
The Managed API can dramatically reduce your cycle time
Simulate your application in a dedicated environment
Use Realistic Mailbox Sizes and Data
VM’s don’t usually work well for this testing
№19 слайд![Best Practice Minimize the](/documents_6/86d0996a6b2d7d892eb3605332a06399/img18.jpg)
Содержание слайда: Best Practice #1: Minimize the number of web service calls
Use batch to get more data in each request
Use notifications to alert on item changes rather than repeatedly querying folders
Cache data locally
Use cached data when application restarts
№20 слайд![Best Practice Do not request](/documents_6/86d0996a6b2d7d892eb3605332a06399/img19.jpg)
Содержание слайда: Best Practice #2: Do not request unneeded data
Use property sets
Request only the needed properties
Use FindItem page sizes
Request only the items needed
Minimize service account mailbox size to avoid retrieving old or unnecessary data
№21 слайд![Best Practice Minimize search](/documents_6/86d0996a6b2d7d892eb3605332a06399/img20.jpg)
Содержание слайда: Best Practice #3: Minimize search load on Exchange
Do use SyncFolderItems or FindItem with no search criteria whenever possible
Do use FindItem+QueryString if it supports the necessary search criteria
Do delete SearchFolders after they are no longer needed
Don’t use FindItem or SearchFolder with search criteria unless absolutely required
№22 слайд![IIS Log Diagnostics Deep Dive](/documents_6/86d0996a6b2d7d892eb3605332a06399/img21.jpg)
Содержание слайда: IIS Log Diagnostics Deep Dive
№23 слайд![Performance Counter](/documents_6/86d0996a6b2d7d892eb3605332a06399/img22.jpg)
Содержание слайда: Performance Counter Diagnostics
Performance counters give you a
“big picture” view
Under the MSExchangeWS\* Counter
Requests/sec
Overall number of requests being served by EWS, this includes successful requests
Items [Read|Moved|Sent|Updated]/sec
Average Response Time
Running average in ms
Command/sec
GetItem Requests/sec
FindItem Requests/sec
№24 слайд![Take-aways Exchange enables](/documents_6/86d0996a6b2d7d892eb3605332a06399/img23.jpg)
Содержание слайда: Take-aways
Exchange 2010 enables easy, rich and “cloud ready” development
Use Autodiscover, explicit properties, and batch operations in your code
Follow the best practices to develop scalable and efficient applications
Download the Exchange Web Services Managed API 1.0 today!
№25 слайд![Resources Download the](/documents_6/86d0996a6b2d7d892eb3605332a06399/img24.jpg)
Содержание слайда: Resources
Download the Exchange Web Services Managed API 1.0
Learn more about Exchange Web Services
MSDN
http://msdn.microsoft.com/en-us/library/bb204119(EXCHG.80).aspx
“Inside Microsoft Exchange 2007 Web Services”
http://msdn.microsoft.com/blogs/exchangedev
Download the EWS Editor
Fill out session evaluations
№26 слайд![question amp answer question](/documents_6/86d0996a6b2d7d892eb3605332a06399/img25.jpg)
Содержание слайда: question & answer
question & answer
№27 слайд![Resources](/documents_6/86d0996a6b2d7d892eb3605332a06399/img26.jpg)
Содержание слайда: Resources
№28 слайд![](/documents_6/86d0996a6b2d7d892eb3605332a06399/img27.jpg)
№29 слайд![](/documents_6/86d0996a6b2d7d892eb3605332a06399/img28.jpg)