Skip to content

Asynchronous background processing in .NET with Hangfire by Fabian Schmied

Photo of Raoul Holzer
Hosted By
Raoul H. and 2 others
Asynchronous background processing in .NET with Hangfire by Fabian Schmied

Details

This meetup is organized by DotNetDevs.at (https://dotnetdevs.at/).

Abstract:
Many web applications need to asynchronously process background work. While this may sound simple at first - why not just use Task.Run, Thread.Start, or ThreadPool.QueueUserWorkItem? -, the devil is in the details. What if the application crashes or shuts down before the background task has completed? What if the task throws an exception and needs to be retried? And once you need to scale, how to distribute the background work over multiple worker processes?

Hangfire is a background processing framework for .NET and .NET Core that helps you deal with these questions, and a few more. It's open source and free even for commercial use, and getting started with the framework is really easy.

In this presentation, we'll talk about why we need asynchronous background processing in general, what Hangfire has to offer, and what a simple Hangfire-based solution could look like.

Fabian Schmied is a Software Developer and Software Architect working at RUBICON IT. For the last couple of years, his team has been building SignPath, a code signing solution available both as a SaaS platform (https://signpath.io) and an on-premise software product. SignPath is built in C#/.NET, is based on the CQRS and Event Sourcing architectural patterns, and makes heavy use of asynchronous background processing.

Fabian is also a member of the organizer team behind the Domain-Driven Design Vienna (https://www.meetup.com/ddd-vienna/) and the Microservices, Reactive, and Distributed Systems Vienna meetups (https://www.meetup.com/reactive-vienna/). If you're interested in working on these kinds of systems, you can reach him at fabian.schmied (at) rubicon.eu or check out https://signpath.io/jobs.

Timetable:

Recordings will be available afterward on https://go.dotnetdevs.at/recordings

This meetup is organized by DotNetDevs.at (https://dotnetdevs.at/).

This session is part of the .NET Virtual User Group(https://www.meetup.com/dotnet-virtual-user-group) series, where you can join and find more virtual user groups happening around the world.

This meetup is sponsored by

Photo of .NET Community Austria group
.NET Community Austria
See more events