Productivity Frameworks in .NET

Super Sommer ! 
(SS)

Because the Joker is cewl !

Reinventing the wheel

Reinventing the wheel

  • Know the framework exists
  • Know how to use the framework
  • Use the framework

Topics

  • Log4Net
  • Elmah
  • Topshelf
  • Hangfire

Log4NET

Log all the things!!

(and do it in a pretty way)

Log4Net ? 

The Apache log4net library is a tool to help the programmer output log statements to a variety of output targets.

log4net is a port of the excellent Apache log4j framework to the Microsoft® .NET runtime. 

So it logs ? 

Yes !

Elmah

Log all the errors !

(and make the right people give a f*ck!)

Elmah ?

ELMAH (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable. It can be dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for re-compiling or re-deployment

So it logs errors?

Yes !

TopShelf

Windows services done right

(because windows services can drive you a bit insane)

Topshelf ?

Topshelf is a framework for hosting services written using the .NET framework. The creation of services is simplified, allowing developers to create a simple console application that can be installed as a service using Topshelf.

So it's a console app?

Yes !

Hangfire

Scheduled tasks FTW

(as good as it gets)

Hangfire ?

An easy way to perform fire-and-forget, delayed and recurring tasks inside ASP.NET applications. No Windows Service required.

So.. Recurring tasks?

Yes !

Mixing it up!

Because we're awesome

(people need to deal with that)

Tadaaaaah!

Productivity Frameworks in .NET

By Tim Sommer

Productivity Frameworks in .NET

  • 1,144