Dan's WebDAV 101
This blog covers Messaging API development for Exchange and Outlook. My name is Daniel Bagley, I'm on the Messaging Developer Team.
Translate This Page
Translate this page
custom mail headers
exchange managed API
exchange web services
Forms based authentication
Browse by Tags
Dan's WebDAV 101
Tagged Content List
EWS calls can do impersonation and delegation... how about REST?
This is an area where what EWS can do some things the REST API can do. At this time the REST API does not support impersonation, delegation or Basic Authentication with Exchange. Its possible that this may change in the future; however, for now those are not supported. If you need those capabilities...
22 Jan 2015
OWA Web Parts not working in 2013 - "This content cannot be displayed in a frame"
A while back in 2013 (Cumulative Update 2) there was a change which causes a header called X-Frame-Options to be inserted into rendered OWA pages. This header tells browsers to not render content in an iFrame. This is a security feature which is meant to help prevent click-jacking. There is a WebPartsFrameOptionsType...
20 Jan 2015
EAS Inspector for Fiddler 1.3
Lots of cool and helpful new features have been added for this release by a fellow engineer. Thanks Jason! Below are the release notes. Added "Smart" view, parsing some basic quoted-printable content and displaying the XML in an invalid, but easier to read format. Added a toggle button to switch between...
23 Dec 2014
Some nice features have been added to EASTester for this release. You can now get the results rendered in several ways. There is now a way to direct traffic through a proxy such as Fiddler, which makes it helpful for seeing what's actually going over the wire. If you combine that with the EASInspector...
23 Dec 2014
EwsEditor 1.11 has been released!
I've added new features and fixes which should make it easier to reproduce and diagnose many different issues. EwsEditor 1.11 Release http://ewseditor.codeplex.com/releases/view/167030 Below are the release notes... 1.11 – 8/12/2014 – 12/3/2014 Added default 365 URL to main...
4 Dec 2014
EWS Schema Versions - Why can't I pick versions for 2007 SP2/SP3 or 2010 SP3?
I see confusion on how the EWS Schema Version (RequestServerVersion) is used from time to time. So, I would like to clear up how its used. The EWS Schema Version is not the patch level of the Exchange server. Its something different - its the schema version of EWS that tells the server what the minimal...
4 Dec 2014
EWS Managed API... open source? YES! It's now Open Source!!!
A few weeks ago the EWS Java API was made open-source. Last week the EWS Managed API (.NET based) went open source. So now you can download the code and contribute to it. You can also directly report bugs on it. This is another of the wonderful changes which are happening at MS as it moves forward, evolving...
29 Sep 2014
EWS Java API - The story gets better... Open Source!!!
If you have been doing development with Exchange Web Services (EWS) and develop with Java there has been an API which could be used called the EWS Java API. In the past I've been asked about how often it got updated and if it might get made open source. The answers we could provide were to check the...
5 Sep 2014
Getting traces for .NET apps when you cannot modify the application and don't want to use more than one machine.
One of the biggest pains of .NET applications going against Exchange is getting detailed logs. Using a tracing tool like Fiddler is great since it will SSL decode traffic, however it won't capture traffic from a .NET application running on the same box unless that application can set its proxy settings...
7 Aug 2014
EASTester 1.4 Released - Troubleshooting Exchange Server ActiveSync (EAS) becomes even more fun!
I just published an update to EASTester. This release has several new features: You can set proxy server settings. This means you can point it to Fiddler and see more details on the requests and responses. The default is 127.0.0.8 and port 8888 – which is what Fiddler’s proxy defaults...
6 Aug 2014
Showing custom properties or custom forms on a device which uses EAS.
I was recently asked by a customer if there was a way to get custom properties to be displayed in a message on EAS Devices. The short answer is no. First, a bit about ActiveSync... Exchange Server ActiveSync (EAS) is a low-level binary protocol which is heavily licensed. All commercialized development...
5 Jun 2014
February release of EwsEditor 126.96.36.199423
I continued work on the EWS POST window and added many more EWS POST samples. The EWS POST window had some minor fixes one and also many more EWS samples have been added - there are now well over 100. A window which can send email using System.Net.Mail sends email to an SMTP port or to an SMTP...
5 Feb 2014
January release of EWSEditor 188.8.131.52013
I've been expanding EWSEditor so that it can be used for EWS calls which the Exchange Managed API 2.0 cannot handle. A new EWS POST windows has been added in addition to a lot of sample requests. The project was also ported to Visual Studio 2013 and .NET 4.5 is now used. Below is more information on...
5 Feb 2014
Announcing EwsRelentless 1.0
This is a sample/tool I wrote in order to check the behavior of Exchange when a heavy load is put against it. You need to exercise caution and take responsibility for the code and the apps behavior if you decide to use it since it can throw so much of a load against a CAS that it can bring the server...
26 Jul 2013
The Exchange Server Interoperability Guidance documents have some really good sample code. I’ve leveraged some of its code to build a tool with capabilities which have been helpful in resolving EAS issues. This tool’s code an binaries are now published in Codeplex. The current functionality...
28 Jun 2013
Exchange Autodiscover Checker
A while back I wrote a basic application which did Autodiscover using the Exchange Managed API and provided some minimal logging. The tool is called Autodiscover Checker and the full code for it can be found on code.msdn.microsoft.com. Over time I have added a lot more to this application by adding more...
25 Jun 2013
"Enhancing Exchange" via unsupported methods.
Every so often we run into cases where customers try to augment the behavior of Exchange or otherwise integrate with it using some unsupported methodology. When this is done Exchange may become unstable and behave in unexpected ways. It’s extremely important to stick to what is supported. If you...
13 Jun 2013
How to get OOF text from Exchange 2003 using WebDAV
You may be able to get OOF text with WebDAV using a SEARCH. However, its not supported in any way and there is no guarentee that it will always work. The OOF text is stored inside of a hidden item in a mailbox. Below is a sample of the request which is for educational purposes only. Please note that...
22 Oct 2012
OWA Single-sign-on support
OWA 2010 and prior is considered non-extensible as far as Microsoft is concerned in the area of doing single-sign-on programmatically. The exception to this would be when a person is in-network and uses their existing network credentials to access OWA through Windows Authentication. Please understand...
7 Aug 2012
OWA Web Part in an iFrame sample
I have not seen any examples of using OWA parts in an iFrame. However, I wrote such a sample recently and wanted to share it. The full OWA UI in an iFrame is not supported and its expected that doing so may fail at any given point and at different points depending upon the service pack and hotfix...
6 Jul 2012
The importance of EWS Impersonation while using an application account.
Developers of applications which require access to user mailboxes often struggle with the choice between the Impersonation and Delegation access methods. While both provide programmatic rights to mailbox objects, they are designed to meet rather different needs, and for situations where a single account...
27 Jun 2012
Inline attachments used with EWS and Text, HTML, MHTML or MIME
Exchange Web Services has three different ways to set message body content when working with messages – setting the Text body, setting the html body or creating the message using email MIME (note that there are different types of MIME). Images which are directly with HTML content are not supported...
28 Feb 2012
How to check for calendar corruption.
A corrupt calendar item can reallly mess-up a custom application and even some very seasoned applications. If there is a corrupt item/items, then those should be cleared-up ASAP before trying to do some sort of code work-around. If you are suspecting calendar corruption, you should consider using one...
28 Feb 2012
EAS 177 response code or Why cant I sync any more devices.
Exchange allows you to sync a max of 10 devices agains a mailbox. Each time you sync a new device, a sync partnershipe is created. You can view thes sync pertnerships in OWA. Most users will never see this error code; however, IT professionals who test and develop EAS devices will sometimes run into...
9 Feb 2012
Taking Dumps with the ADPlus executable
ADPlus from the Debugging Tools can be used to get Crash Dumps and Hang Dumps which would contain the most-needed information for debugging. It used to be a vbscript file which was used to attach the cdb debugger (cdb is a command line debugger). Now ADPLus is a managed code application. Because of this...
26 Jan 2012
Page 1 of 8 (176 items)
© 2015 Microsoft Corporation.
Privacy & Cookies