🌐PerigeeApplication
Application initialization
Both application starting points are nearly identical. The full callback has an IPC token and the initialize callback. Both are described in Hello Perigee.
You may also run the ApplicationNoInit
as an async method as well:
Initialize outside a PerigeeApplication
Sometimes you need to initialize outside of the scope of a PerigeeApplication. We do this for API applications, blazor applications, and other scenarios where we need to call something before Perigee.
Host Statistics
To get information about the host it's running on, there is a single method:
The response class, HostStatistics
contains properties for the machine it's running on including machine name, drive info, cpu time and running directory.
Exit event
To get an exit callback, use the helper method supplied.
After return is executed and the domain/service is about to unload, OnExit
has a few seconds to perform any last tasks, like persisting data.
Last updated