Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ELMAH and ELMAH.MVC

ELMAH and ELMAH.MVC

This is a small presentation given on .NET Saturday in Dnepropetrovsk. It shows all main features of ELMAH and easy intergration of ELMAH to MVC applications.

Alexander Beletsky

February 26, 2012
Tweet

More Decks by Alexander Beletsky

Other Decks in Programming

Transcript

  1. ELMAH
    Error Logging Modules and Handlers

    View Slide

  2. About me:
    About me:
    @alexbeletsky
    @alexbeletsky
    http://beletsky.net
    http://beletsky.net
    http://xpinjection.com
    http://xpinjection.com

    View Slide

  3. All the applications
    requires..
    MAINTANANCE

    View Slide

  4. It is vital
    to understand
    application
    health

    View Slide

  5. Developers temptation
    is to create own
    solutions

    View Slide

  6. This is
    a little
    wrong

    View Slide

  7. “ ELMAH (Error Logging Modules
    and Handlers) is an application-
    wide error logging facility that is
    completely pluggable.. “

    View Slide

  8. Logging almost all unhandled exceptions
    Remote access to logs
    Different storages (memory, XML, SQL etc)
    Different notifications (Email, Twitter)
    RSS feed

    View Slide

  9. Demo time
    Demo time

    View Slide

  10. Easy to install (NuGet package)
    Easy to configure
    Comprehensive Logs

    View Slide

  11. I want my MVC!
    I want my MVC!

    View Slide

  12. View Slide

  13. “ ELMAH.MVC - Painless
    integration of ELMAH
    functionality into ASP.NET MVC
    Application. Creates Admin area
    and corresponding controller, so
    ELMAH is availble by
    /admin/elmah route. “

    View Slide

  14. “Native” ASP.NET MVC integration
    Easy to apply security
    No more need 'elmah.axd'
    Installed as simple Controller
    Protection of “Troy Hunt” ELMAH attack

    View Slide

  15. Sources available on github:
    https://github.com/alexanderbeletsky/elmah.mvc.controller

    View Slide

  16. Thank you.
    http://beletsky.net
    @alexbeletsky

    View Slide