BetterFinds
Static Public Member Functions | List of all members
BetterFinds.Program Class Reference

The main entry point of the application. More...

Static Public Member Functions

static async Task Main (string[] args)
 The main entry point of the application. More...
 

Detailed Description

The main entry point of the application.

Member Function Documentation

◆ Main()

static async Task BetterFinds.Program.Main ( string[]  args)
inlinestatic

The main entry point of the application.

It's responsible for configuring services used by the application and starting it.

Configuration includes:

  • Razor pages
  • Authentication
  • Session
  • Localization
  • Auctions background service
  • Bidders groups service
  • SignalR
  • Error handling and page redirection

Additionally, it initializes the Auctions and Bidders groups services, and maps the SignalR hub.

The Auction background service is started by the Services.AuctionBackgroundService class and will run asynchronously throughout the application's lifetime to monitor ending auctions.

Parameters
argsThe command line arguments.
Returns
A task that represents the asynchronous operation of running the application.

The documentation for this class was generated from the following file: