Introduction
This article focuses on how to log all errors your end-users get (and you never know about!) automatically and making it available in a single hosted service account:
Background
We are ASP.NET developers working on many sites, growing sick and tired
of the whole error reporting, bugtracking and fixing loop that we are
sucked into daily. And it never gets better. You never know if what you
fixed is really fixed for all clients. Your QA guys go over the same
issue again and again and verify it, but miss to test in on that
specific Mac OSX Safari browser that 10% of your end-users are using.
So what is the solution? Is there a way to automate this whole mess in just 10 minutes?
The Solution
The idea is really simple. ASP.NET is a great framework and allows developers to hook custom modules into their web sites and project. One such module can intercept all errors your application encounters in a generic way. So why not just install this module and have it automatically log all errors somewhere?
Sure, this idea is not new and there are some tools that help here, but say you have 5 sites you want to monitor? Or you want to be notified only about certain errors and not for other via email or RSS? Or how about that - you want to log client side javascript errors as well? All of this conveniently stored in a single place, in a hosted service?
How it works
Very simple really. We created a new site for this service http://www.spacebin.net where we decided we will keep track of all errors our own sites get. We also created a free account plan so that anyone else can test and use it and give us feedback (so please do).
The we created the SpaceBin.ErrorLogging module, which you can find attached to this article. Installation is very simple
The End Result
All server-side and client-side errors your end-users get and you never knew about in one convenient interface
The End Result
If you have any questions or comments - please comment here or send me an email to sven@spacebin.net