MobileTrack.Web.Components.Services Namespace

Contains services for the automatic deletion of data, email sending and exception handling.

Classes

AppConfigService Provides methods to interact with Azure App Configuration, allowing runtime retrieval and updates of configuration settings.
CloudEventsService Contains a series of methods to start new events in the cloud; This is done by:
  • DB update – Updating the relevant data to Cosmos DB and Redis Cache
  • Service Bus – Shoots events into the Azure Service Bus, from which the Event Handler can pick them up and handle them as it sees fit.

This class can also be used to retrieve the state of events in the Azure Service Bus.
FailureHandler Service to be invoked to handle technical exceptions that weren't accounted for or other issues. (Service outages, bugs in the code, etc. etc.) Not to be used for human-invoked issues that the code itself should handle!
MfaTwilioService Service for sending and verifying MFA codes using Twilio.
MtWebHealthChecker Azure invokes this method to ask Portal if everything is OK. If we return otherwise, Azure will restart the service after a minutes of unhealthy results.
TemporarySessionService The service to set and retrieve some info that can be saved temporarily in a session.