Michael McCarthy
  • Home
  • Projects/Publications
  • About
  • linkedin
  • github

Michael McCarthy

Software. Simplified.

Modeling Internal and External Events Using Polymorphic Messaging

Modeling Internal and External Events Using Polymorphic Messaging

Originally published for Afterman Software Introduction Polymorphic messaging is a powerful concept that can assist with message contract migration in production environments as well as build message inheritance hierarchies for

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 16 Oct 2020 • 8 min read
Running NServiceBus Endpoints in Azure App Services Part 4: Build and Deploy with Azure DevOps

Running NServiceBus Endpoints in Azure App Services Part 4: Build and Deploy with Azure DevOps

Originally published for Afterman Software Posts in this Series: Part 1: Endpoint Implementation Part 2: Deploy with Visual Studio Publish Part 3: Pulling Back the Curtain on Visual Studio Publish

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 21 Sep 2020 • 11 min read
Running NServiceBus Endpoints in Azure App Services Part 3: Pulling Back the Curtain on Visual Studio Publish

Running NServiceBus Endpoints in Azure App Services Part 3: Pulling Back the Curtain on Visual Studio Publish

In this post, we'll be pulling back the curtain on Visual Studio Publish to examine what's happening in your local solution and in Azure.

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 20 Jul 2020 • 9 min read
Running NServiceBus Endpoints in Azure App Services Part 2: Deploy with Visual Studio Publish

Running NServiceBus Endpoints in Azure App Services Part 2: Deploy with Visual Studio Publish

This post is the second in a series on how to code, build, deploy and run an NServiceBus endpoint in Azure App Services.

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 8 Jun 2020 • 10 min read
Running NServiceBus Endpoints in Azure App Services Part 1: Endpoint Implementation
Azure

Running NServiceBus Endpoints in Azure App Services Part 1: Endpoint Implementation

This post is the first in a series on how to code, build, deploy and run an NServiceBus endpoint in Azure App Services.

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 18 May 2020 • 9 min read
Containerizing NServiceBus Endpoints with Docker - Part 5: Containerizing Sql Server and Switching to Sql Persistence
NServiceBus

Containerizing NServiceBus Endpoints with Docker - Part 5: Containerizing Sql Server and Switching to Sql Persistence

This is the fifth post in my Containerizing NServiceBus Endpoints with Docker Series Part 1: Introduction/Readying your System/Local Azure Resources Part 2: Live Azure Resources Part 3: Dockerize!

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 6 Mar 2018 • 10 min read
Containerizing NServiceBus Endpoints with Docker - Part 4: Docker Compose
NServiceBus

Containerizing NServiceBus Endpoints with Docker - Part 4: Docker Compose

This is the fourth post in my Containerizing NServiceBus Endpoints with Docker Series Part 1: Introduction/Readying your System/Local Azure Resources Part 2: Live Azure Resources Part 3: Dockerize!

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 27 Feb 2018 • 5 min read
Containerizing NServiceBus Endpoints With Docker - Part 3: Dockerize!
.NET, NServiceBus, Azure, Docker

Containerizing NServiceBus Endpoints With Docker - Part 3: Dockerize!

This is the third post in my Containerizing NServiceBus Endpoints with Docker Series Part 1: Introduction/Readying your System/Local Azure Resources Part 2: Live Azure Resources Part 3: Dockerize!

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 23 Feb 2018 • 12 min read
Containerizing NServiceBus Endpoints With Docker - Part 2: Live Azure Resources
NServiceBus

Containerizing NServiceBus Endpoints With Docker - Part 2: Live Azure Resources

This is the second post in my Containerizing NServiceBus Endpoints with Docker Series Part 1: Introduction/Readying your System/Local Azure Resources Part 2: Live Azure Resources Part 3: Dockerize!

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 23 Feb 2018 • 4 min read
Containerizing NServiceBus Endpoints With Docker - Part 1: Introduction/Readying your System/Local Azure Resources
NServiceBus

Containerizing NServiceBus Endpoints With Docker - Part 1: Introduction/Readying your System/Local Azure Resources

This is the first post in my Containerizing NServiceBus Endpoints with Docker Series Part 1: Introduction/Readying your System/Local Azure Resources Part 2: Live Azure Resources Part 3: Dockerize!

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 23 Feb 2018 • 7 min read
Optimize for the Happy Path: Null Checks

Optimize for the Happy Path: Null Checks

Photo by Erik Mclean on Unsplash Introduction It’s what we’ve been taught since we’ve started programming. Don’t trust user input. Validate everything. Think of, and handle,

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 27 Jan 2017 • 4 min read
Opinions Matter

Opinions Matter

Photo by Erik Mclean on Unsplash Opinions. Everybody has them. From topics ranging from politics, religion, science and who the best contestant is on "The Voice", it seems

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 20 Dec 2016 • 6 min read
Web Service Integrations Using Hangfire in ASP.NET Core
AllReady

Web Service Integrations Using Hangfire in ASP.NET Core

By either exposing an endpoint that others will invoke into your system or making an HttpClient call to a web service outside your system, you need to take into account

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 9 Dec 2016 • 11 min read
Using Hangfire to Schedule Jobs in ASP.NET Core
AllReady

Using Hangfire to Schedule Jobs in ASP.NET Core

Photo by Eric Rothermel on Unsplash This is part of an ongoing series of posts revolving around Humanitarian Toolbox’s allReady open source project. Part of working on this open

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 7 Nov 2016 • 18 min read
Entity Framework: AddOrUpdate Can Be a Destructive Operation
AddOrUpdate

Entity Framework: AddOrUpdate Can Be a Destructive Operation

Although we’ve been using it for over three years at my job developers are still incorrectly using Entity Framework’s .AddOrUpdate(). I’ve also seen incorrect usages of in

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 24 Aug 2016 • 6 min read
ASP.NET Core: Abstracting External Login Providers with Autofac and the Factory Design Pattern: Part 4

ASP.NET Core: Abstracting External Login Providers with Autofac and the Factory Design Pattern: Part 4

Photo by NordWood Themes on Unsplash This is the final post in a series on Abstracting External Login Providers with Autofac and the Factory Design Pattern Part 1: Keeping it

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 12 Aug 2016 • 5 min read
ASP.NET Core: Abstracting External Login Providers with Autofac and the Factory Design Pattern: Part 3

ASP.NET Core: Abstracting External Login Providers with Autofac and the Factory Design Pattern: Part 3

This is the third post in a series on Abstracting External Login Providers with Autofac and the Factory Design Pattern Part 1: Keeping it Local in the Action Method Part

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 10 Aug 2016 • 4 min read
ASP.NET Core: Abstracting External Login Providers with Autofac and the Factory Design Pattern: Part 2

ASP.NET Core: Abstracting External Login Providers with Autofac and the Factory Design Pattern: Part 2

This is the second post in a series on Abstracting External Login Providers with Autofac and the Factory Design Pattern Part 1: Keeping it Local in the Action Method Part

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 9 Aug 2016 • 3 min read
ASP.NET Core: Abstracting External Login Providers with Autofac and the Factory Design Pattern: Part 1
AllReady

ASP.NET Core: Abstracting External Login Providers with Autofac and the Factory Design Pattern: Part 1

This is the first post in a series on Abstracting External Login Providers with Autofac and the Factory Design Pattern Part 1: Keeping it Local in the Action Method Part

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 8 Aug 2016 • 3 min read
Unit Testing: SUT Setup Methods and Code Maintainability
code reuse

Unit Testing: SUT Setup Methods and Code Maintainability

Photo by Alain Pham on Unsplash During my time working on various open source projects as well as my regular job, I’ve been seeing more and more unit test

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 3 Aug 2016 • 7 min read
Naming is Everything
code reviews

Naming is Everything

Photo by Jon Tyson on Unsplash The other day, during a code review I came across code that looked like this in a Controller’s action method. foreach (var fooRow

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 21 Jul 2016 • 3 min read
ReSharper's Rename Refactoring and ASP.Net Core Tag Helpers
razor views

ReSharper's Rename Refactoring and ASP.Net Core Tag Helpers

Photo by Brett Jordan on Unsplash For those ReShaper users out there… watch ReSharper’s rename refactoring (Ctrl+R, R) when working with ASP.NET Core’s Tag Helpers. Why?

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 15 Jul 2016 • 2 min read
ASP.NET Core: User Secrets, Secret Manager and External Logins, oh my!
AllReady

ASP.NET Core: User Secrets, Secret Manager and External Logins, oh my!

ASP.NET Core has a concept called user secrets. What are user secrets? Well, in short they’re usually some type of value, whether is be an AppId or AppSecret

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 12 Jul 2016 • 4 min read
ASP.NET Core: Retrieving a User's Email and Name from the Twitter External Login Provider
AllReady

ASP.NET Core: Retrieving a User's Email and Name from the Twitter External Login Provider

Photo by Miguel Á. Padriñán from Pexels TL;DR: if you’ve already set up your Twitter application to allow requesting of users emails and don’t feel like learning

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 7 Jul 2016 • 8 min read
AllReady

Open Source Continued: Humanitarian Toolbox and AllReady

This post is one in a series of posts I’ll be writing on contributing to the AllReady project. In my previous blog post, I talked about my foray into open source development. Coming from a purely TFS background with no knowledge of Git

  • Michael McCarthy
    Michael McCarthy
Michael McCarthy 5 Jul 2016 • 7 min read
Michael McCarthy
  • Home
  • Projects/Publications
  • About
  • linkedin
  • github
Michael McCarthy © 2021
Latest Posts Twitter Ghost