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
March release of EWSEditor 188.8.131.5203 - Updated for Exchange 2013 SP1.
After another round of EWS issues where I needed code to reproduce customer issues, I have included a lot of new code into EwsEditor. Also, it has been updated to use the newly released 2.1 version of the Exchange Managed API. The proxy classes have also been regenerated against Exchange 2013 SP1 and...
12 Mar 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
Announcing Fiddler Inspector for Exchange Server ActiveSync
One way people have been getting client-side Exchange Server ActiveSync (EAS) from devices which don’t supply logging export capabilities is to have the phone sync through a wireless router attached to a PC which fiddler taking traces. This is very helpful since getting logs otherwise and is usually...
5 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
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
New to Exchange ActiveSync Development?
One area I do developer support for is EAS development with those who have an EAS client development license and have a specific support agreement in their Premier contract for EAS developer support - these are needed to get any EAS developer support from Microsoft. Developers who do not have these should...
28 Sep 2011
Use Exchange PowerShell to get statistical information for Exchange Server ActiveSync
Background: To get information on EAS activity on an Exchange server, you will need to call Exchange PowerShell cmdlets. PowerShell is used for doing administrative work against Exchange. Each administrative task is done through an Exchange cmllet (command-let). Exchange PowerShell cmdlets can be...
28 Sep 2011
WebStoreExplore 1.8.3 is now public
In the past, the team I belong to has made vailable "super samples" which provide a broad range of coverage-by-example around specific messaging APIs - these are often referred to as API Explorers. Two examples of these are MFCMAPI (for Extended MAPI) and EWSEditor (Exchange Web Services). There is a...
1 Jun 2011
Consider the full impact of Exchange Set-MailboxCalendarSettings and Set-CalendarProcessing before changing settings
Many messaging developers and Exchange administrators are not aware of possible effects of MailboxCalendarSettings settings. While these options provide much needed capabilities which remove the need for specialized code, caution should be exercised as MailboxCalendarSettings can drastically affect any...
17 Feb 2011
Howto: Determine which Process Is It Running Under (Exchange and Outlook Development/Admin related)
Understanding which process to use for tracing or taking a dump can be difficult if you are not familiar with where to look. This sections covers the where to look part. Desktop Application: Desktop applications will appear in their own process. COM+ Application: If the COM+ service...
4 Jan 2011
FYI: The latest version of the Exchange MAPI download was released yesterday.
The latest version of the Exchange MAPI download was released yesterday. Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1 http://www.microsoft.com/downloads/details.aspx?familyid=e17e7f31-079a-43a9-bff2-0a110307611e&displaylang=en
10 Dec 2009
FYI: Rollup 1 for Exchange 2010 was released yesterday.
Rollup 1 for Exchange 2010 was released yesterday. Update Rollup 1 for Exchange Server 2010 (KB976573) http://www.microsoft.com/downloads/details.aspx?FamilyID=371add31-d7a0-4c8b-8325-a6fced2d05e6&displaylang=en
10 Dec 2009
With Exchange 2010, use Remote Powershell
With Exchange 2010, you should be using Remote Powershell. Below are some articles to help get you started. How to call Exchange 2010 cmdlet's using Remote Powershell in code http://blogs.msdn.com/dvespa/archive/2009/10/22/how-to-call-exchange-2010-cmdlet-s-using-remote-powershell-in-code.aspx ...
10 Dec 2009
HowTo: Create a mailbox for an existing user, Create a user in AD, List AD User info.
//====================================================================================================== // CdoexmMailboxUtil - // Exchange Mailbox and user account creation sample. // // This sample demonstrates the following: // Creating a user account in AD // Mail Enable an existing...
19 Aug 2009
Howto: Mail Enable, Mail Disable and view Mail settings for a Public Folder with CDOEX and CDOEXM
If your living in a pre Exchange 2007 Powershell worlds and want to mail enable or disable public folders, you may come to the point where you will be needing to write some CDOEX and CDOEXM code to do what you want. Below is a C# sample console application which will allow you to mail enable, mail disable...
14 Aug 2009
How to resolve the EWS ErrorNoPublicFolderServerAvailable error.
If you are using Exchange Web Services (EWS) against Exchange 2007 SP1, you may run into an issue where you are getting the ErrorNoPublicFolderServerAvailable and the error message says it’s not a proper error code. This error appears if you have set the ”Exchange2007_SP1”, your code is accessing public...
18 Jun 2009
Don't redistribute product DLLs unless you know its safe and legal to do so.
Redistribution of files in the “ C:\Program Files\Microsoft\Exchange Server ” folder and sub-folders is not advised/supported. Yes, this does include the “C:\Program Files\Microsoft\Exchange Server\Public” folder also. These files are installed when the Exchange 2007 (or later) tools are installed. If...
2 Apr 2009
An Adventure: Building an ASP.NET application to call 64bit Powershell.
I keep seeing quesions on calling Exchange PowerShell from ASP.NET pop-up. Not all the banter I've seen on the web and elsewhere seems to be correct, I decided to look into this. I see that some people end-up setting up speical accounts or putting the code into COM+ because they give up trying to make...
30 Dec 2008
WebDAV FBA Authentication Sample Explained.
Here is some basic information on how FBA authentication is done with WebDAV. To provide some insight into how this works, you should look at the sample code of KB891748 and review it with the explanation below. Note that if you are going against Exchange 2007, you should reconsider using FBA authentication...
12 Dec 2008
WebDAV and OWA Authentication Settings
With any login issue, it’s important to know which authentication protocols are valid. You have to code to an authentication protocol which can be used. The authentication settings for OWA and WebDAV are tied together under Exchange 2000 and 2003. Because of this, developers run into issues with...
12 Dec 2008
HOWTO: Exchange Web Service PUSH to a Windows Mobile Device.
OK, I’m not exactly the hard-core Windows Mobile developer here. However, I had a recent issue with a customer who wanted to be able to use a PUSH to a windows mobile device which would be in stand-by. Their goal was to save on the battery life. Let’s start off with this: · WM devices support...
6 Oct 2008
Links on Common PowerShell Automation Questions
I've put together a list of articles which cover common questions on Exchange PowerShell Automation. These links cover issues from starting out to common problems. I hope they help. Please let me know if there are others you see as important. Starting articles on automation: Using Exchange...
26 Sep 2008
HOWTO: Read unmounted Exchange EDB files.
I was recently asked this question similar to this: How can we search on unmounted EDB files? Are there any API's that I can use to access the mails in unmounted EDB? There are two answers: “No” and “It’s a bad idea”. Further: There is no support...
3 Sep 2008
Santa, I want it all - WebDAV and the full-meal-deal - allprops.
So, your trying to get "all properties" using WebDAV. Well, hate to break it to you, but there is no way unless you know what every property is and specify it. You will find the same limitation in other messaging APIs - just pick any of them. Now, you can get many and an even almost every property without...
22 Aug 2008
WebDAV: XML DOM vs managed classes.
I've seen a lot of issues with using the MSXML DOM when trying to get credentials from the owaauth.dll for FBA authentication. The managed classes seem to work all the time and in all versions. However, the MSXML DOM wont always reuturn cookies and sometimes just plain fails in the calls. Each version...
18 Jul 2008
Page 1 of 3 (58 items)
© 2014 Microsoft Corporation.
Privacy & Cookies