I noticed that my subclass of DefaultNancyBoostrapper is being executed anytime NancyServiceConfiguratorExtensions.WithNancyEndpoint is called. So basically, every time my TopShelf hosting app is run, including during installs and uninstalls. In fact, it runs before my InstallHostConfiguratorExtensions.BeforeInstall() lambda is even called.
I expected the Nancy bootstrapping to run around the same time as when Topshelf's WhenStarted() was called. This seems like a bug to me. Do you agree, or have any suggestions on how I might do things differently?
I noticed that my subclass of DefaultNancyBoostrapper is being executed anytime NancyServiceConfiguratorExtensions.WithNancyEndpoint is called. So basically, every time my TopShelf hosting app is run, including during installs and uninstalls. In fact, it runs before my InstallHostConfiguratorExtensions.BeforeInstall() lambda is even called.
I expected the Nancy bootstrapping to run around the same time as when Topshelf's WhenStarted() was called. This seems like a bug to me. Do you agree, or have any suggestions on how I might do things differently?