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.

Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: EWS PUSH - What is the StatusFrequency for

    The StatusFrequency value used in EWS Push notifications is often misunderstood. So, I will try to provide some information on this setting which may help. The important thing to understand: StatusFrequency is really not a "frequency" - it’s a maximum timeout value based upon the maximum number...
  • Blog Post: March release of EWSEditor 1.9.0.22503 - 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...
  • Blog Post: February release of EwsEditor 1.8.0.32423

    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...
  • Blog Post: January release of EWSEditor 1.7.5.32013

    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...
  • Blog Post: December 2013 releases of EwsEditor - 1.7.3.27070 and 1.7.4.31181

    Earlier this year I took over EwsEditor from its prior owner and have been updating it to update it for Exchange 2013 and include additional processing. This month did two releases of changes and fixes. If you are not familiar with EwsEditor then be aware that its a very large sample of code written...
  • Blog Post: 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...
  • Blog Post: "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...
  • Blog Post: 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...
  • Blog Post: EWS Autodiscovery Checker

    I have written a sample which can be used by developers and Exchange Admins for handling issues with their custom code doing Autodiscovery. I have and several others have used this sample as a base-line for testing and for code harvesting for a while. I wanted to share this with you so that you might...
  • Blog Post: Microsoft Developer Support does not write or maintain customer production code.

    Microsoft Developer Support does not write or maintain customer production code. If you want Microsoft to do the changes and implement production code, then MCS would be the more appropriate Microsoft organization. Also, you could engage a Microsoft Partner, or any other third party developer entity...
  • Blog Post: How to tell which authentication protocols can be used with WebDAV.

    When you do an anonymous POST to the “exchange” virtual folder, you will get back a response which will tell you about which authentication protocols are supported. Each “WWW-Authenticate:” header in the response tells you which type of authentication method is supported. If you...
  • Blog Post: Howto: Using EWS, get the original body type of a message without getting the best body of the message.

    The PidTagNativeBody property (Property ID, 0x1016; Data Type 0x0003 (PtypInteger32)) should reflect the format of the body when a normal email message arrives in the inbox (not counting calendar messages such as meeting requests, etc.). If the message is signed, you would need to dig into it to figure...
  • Blog Post: Howto: Set the organizer of a meeting on the calendar of an attendee using EWS.

    I would like to say that this is something which is easily possible - however, I cannot. Setting the organizer directly in code is not supported. Historically, having the organizer over-writable has caused some pretty bad situations for customers. When a meeting is created, the organizer property is...
  • Blog Post: Howto: Example to retrieve the body property of a message using the Exchange Managed API.

    public string GetItemMime(ItemId oItemId) { string sReturn = string.Empty; PropertySet oMimePropertySet = new PropertySet(ItemSchema.MimeContent); Item oItem = Item.Bind(_ExchangeService, oItemId, oMimePropertySet); return oItem.MimeContent.ToString() ; } public string GetItemMime...
  • Blog Post: Howto: Example to retrieve the html body property of a message using the Exchange Managed API.

    public string GetMessageBodyAsHtml(Item oItem) { string sRet = string.Empty; PropertySet oPropSet = new PropertySet(PropertySet.FirstClassProperties); oItem.Load(PropertySet.FirstClassProperties); PropertySet oPropSetForBodyText = new PropertySet(PropertySet.FirstClassProperties...
  • Blog Post: Howto: Example to retrieve the body property of a message using the Exchange Managed API.

    public string GetMessageBody(Item oItem, BodyType oBodyType) { string sRet = string.Empty; PropertySet oPropSet = new PropertySet(PropertySet.FirstClassProperties); oItem.Load(PropertySet.FirstClassProperties); PropertySet oPropSetForBodyText = new PropertySet(PropertySet.FirstClassProperties...
  • Blog Post: 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...
  • Blog Post: Howto: Read OOF info using EWS and VBScript against an Exchange 2010 SP1

    ' Here is a code sample showing how to read OOF info using EWS from VBScript against an Exchange 2010 SP1 box. Const strUrl = " https://mail.mycompanyetc.com/ews/exchange.asmx " ' TODO: Change Const strUser = "myuserid" ' TODO: Change Const strPass = "mypassword" Const strDom = "myusersdomain...
  • Blog Post: 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...
  • Blog Post: How to get the original body type of a message without getting the best body of the message using EWS.

    The PidTagNativeBody property (Property ID, 0x1016; Data Type 0x0003 (PtypInteger32)) should reflect the format of the body when a normal email message arrives in the inbox (not counting calendar messages such as meeting requests, etc.). If the message is signed, you would need to dig into it to figure...
Page 1 of 2 (47 items) 12