ElmahR – Elmah fused With SignalR
If your using Elmah then you’ll be familiar with most of this blog post, if not then don’t worry Elmah stands for Error Logging Modules and Handlers and is used to log unhandled exceptions to the file system, event log, databases or even have it email you the errors.
ElmahR was created by Roberto Vespa (@wasp_twit) and his blog on ElmahR can be found at:- Roberto’s blog
The basics – ElmahR uses Elmah and SignalR to create a dashboard page where you can monitor any unhandled exceptions in all of the applications you have running which use Elmah, that means if you have 5 websites in production you can have one web page monitor them all.
To view an example dashboard running on app harbor.
ElmahR uses SignalR which again you can read more on Scott hanselman’s blog
Now lets see how we go about setting this up to work with a new MVC 3 project – the same steps apply to adding it to an existing web application.
- Create a brand new web application, mvc or normal web app works fine.
- Using Nuget add the following packages to your blank MVC solution, so add Elmah and JQuery.
- Once both added follow the configurations steps here
- You can install the Nuget Package:-
[…] ElmahR – Elmah fused With SignalR (Gregor Suttie) […]
[…] Summary Meet the New Windows Azure – ScottGu's Blog Visual Studio Express 2012 for Windows Desktop ElmahR – Elmah fused With SignalR « Gregor's work related blog Visual Studio 2012 JavaScript Updates | Russ's Development Blog Who needs all that Azure news when […]
Just a small addition:
If you want to get it going with the provided sample.zip you need to add a few .dll to the bin folder.
Navigate to your asp.net folder (ie C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v2.0\Assemblies) and copy those dll.
Once those are in your bin folder, your IIS should have stopped complaining about the .cshtml.
Kind regards
Marco
Will ElmahR be able to handle all types of exceptions in the file systems or of any specific type?
Will ElmahR be able to handle every type of exception or of any particular type?
[…] (via ElmahR – Elmah fused With SignalR « Gregor’s work related blog) […]
[…] If your unfamiliar with Elmah and/or ElmahR then please take a quick look here. […]