I am trying to build the ASP.NET Core Web API from this link (https://docs.microsoft.com/en-us/azure/notification-hubs/push-notifications-android-specific-users-firebase-cloud-messaging). It wants me to register the MessageHandler using the following code:
config.MessageHandlers.Add(new AuthenticationTestHandler());
It says to "add the following code at the end of the Register method in the Program.cs file. There is no register method in the Program.cs file. Everything I have found indicates that the Register method is part of a class called WebApiConfig, but I don't have one of those either, and when I create one, it cannot find HttpConfiguration. How do I register the MessageHandler?