Answered by:
Azure Diagnostics vs ELMAH use cases?

Question
-
I've used ELMAH on standalone (non-Azure) projects. For Azure related projects, I came across the Windows Azure Diagnostics (WAD) library.
At face value they appear to do the same things (with Azure Diagnostics doing more low level stuff too) so I wanted to ask if, from a technical perspective, one is more suited towards a particular type of workload/design than the other? Or are they fairly similar in use cases and it's just a vanilla-vs-chocolate (i.e. personal preference) thing?Monday, September 10, 2012 7:06 PM
Answers
-
Hi Sid.S,
I personally like using ELMAH for the way you can easily set it up on your Web Apps to start logging those Unhandled exceptions that might occur and the fact that you can easily configure it to log these exceptions on your database(s) or sending it via Email or even put it on Twitter. So, for these reasons it is not really fair to compare it to WAD, although WAD has many advantages as well.
One other cool tip on ELMAH: http://nuget.org/packages/WindowsAzure.ELMAH.Tables
Hope this helps!
Best Regards,
Carlos Sardo- Proposed as answer by Carlos SardoMicrosoft employee Tuesday, September 11, 2012 9:34 PM
- Marked as answer by Jiang Yun Wednesday, September 19, 2012 2:15 AM
Tuesday, September 11, 2012 9:33 PM -
Hi,
ELMAH and Windows Azure Diagnostics (WAD) have different purposes and can perfectly be used together. ELMAH captures unhandled exceptions, which you wouldn't know about if you were only using WAD. While WAD, on the other hand, gives you information about the OS and Application performance (through performance counters), IIS logs, Custom logs, trace logs.
So I really think you need both.
With regards,
Patriek
onwindowsazure.com
If this reply is of help to you, please don't forget to mark it as an answer.- Proposed as answer by Carlos SardoMicrosoft employee Friday, September 14, 2012 12:25 PM
- Marked as answer by Jiang Yun Wednesday, September 19, 2012 2:15 AM
Friday, September 14, 2012 8:19 AM
All replies
-
Hi Sid.S,
I personally like using ELMAH for the way you can easily set it up on your Web Apps to start logging those Unhandled exceptions that might occur and the fact that you can easily configure it to log these exceptions on your database(s) or sending it via Email or even put it on Twitter. So, for these reasons it is not really fair to compare it to WAD, although WAD has many advantages as well.
One other cool tip on ELMAH: http://nuget.org/packages/WindowsAzure.ELMAH.Tables
Hope this helps!
Best Regards,
Carlos Sardo- Proposed as answer by Carlos SardoMicrosoft employee Tuesday, September 11, 2012 9:34 PM
- Marked as answer by Jiang Yun Wednesday, September 19, 2012 2:15 AM
Tuesday, September 11, 2012 9:33 PM -
Hi,
ELMAH and Windows Azure Diagnostics (WAD) have different purposes and can perfectly be used together. ELMAH captures unhandled exceptions, which you wouldn't know about if you were only using WAD. While WAD, on the other hand, gives you information about the OS and Application performance (through performance counters), IIS logs, Custom logs, trace logs.
So I really think you need both.
With regards,
Patriek
onwindowsazure.com
If this reply is of help to you, please don't forget to mark it as an answer.- Proposed as answer by Carlos SardoMicrosoft employee Friday, September 14, 2012 12:25 PM
- Marked as answer by Jiang Yun Wednesday, September 19, 2012 2:15 AM
Friday, September 14, 2012 8:19 AM