I’m migrating from NSB.Host to selfhosted consoleapps, which i’m going to install with sc.exe.
I’ve just removed the NSB.Host package as i don’t want the exe to be generated in my build, now IWantToRunWhenEndpointStartsAndStops interface has gone.
Is there an interface to hook into this pipeline, or should i just inline the code into my selfhost startup?
PS. discourse didn’t let me post "IWantToRunWhenEndpointStartsAndStops " in title.