How to configure startup order of stateless services?

Viewed 1599

Is it possible to configure startup order when starting up the services.

A Service1 has to be running before Service2 can be started.

Clarification: I'm didn't mean micro services when I mentioned Service, I meant stateless services like REST API (Service1) and WebSocket (Service2).

So when then solution is deployed the WebSocket service (Service2) must be up and running before the REST API (Service1)?

2 Answers
Related