Skip to content

Sponsor: Do you build complex software systems? See how NServiceBus makes it easier to design, build, and manage software systems that use message queues to achieve loose coupling. Get started for free.

Learn more about Software Architecture & Design.
Join thousands of developers getting weekly updates to increase your understanding of software architecture and design concepts.


Follow @CodeOpinion

.NET

Background Commands with MediatR and Hangfire

I’ve been using MediatR and Hangfire independently for awhile.  I’ve previously posted one solution on how you could use send Commands with MediatR and Hangfire. The solution I had come up with in that post was to get around the expression serialization issue with type parameters in MediatR’s Send<T>. IRequest<Unit> Because we are creating a a fire and forget command which will be run in the background, there will be no return value.  MediatR handles these types of requests by using the Unit type. When creating a command you will implement IRequest and your request handler will implement IRequestHandler<IRequest, Unit>.… Read More »Background Commands with MediatR and Hangfire

Logging in .NET with Exceptionless

There are plenty of options when it comes to logging in .NET.  NLog, log4net, Serilog are a few of the names you have likely heard.   One that I recently stumbled upon was Exceptionless. Complexity Logging shouldn’t be difficult.  But sometimes it sure feels that way. Generally, all I want to do is record various log messages through my application.  These could be handled or unhandled exceptions, debug logs with unstructured data, or just general informational logs such as feature usage. Exceptionless Exceptionless provides the means to persist all the types of logs that I mentioned above to a remote server.… Read More »Logging in .NET with Exceptionless

Windsor-Essex .NET Developers

I started a .NET Developers group in Windsor-Essex.  Why? Well first a bit of back story. I first started using .NET with C# around 2003-2004 with .NET 1.1.   At the time I was primary using Linux as my desktop and writing PHP and Python and creating web apps. However, I was required to create a Native Win32 app.  I had used Delphi and Object Pascal just prior but decided to use take the .NET route. Fast forward 13 or so years and I’m still using and for the most part enjoying the ride. OSS A lot has changed in the past 13… Read More »Windsor-Essex .NET Developers