I add a stateless service to my service fabric app . I need this service to expose two endpoints : A - endpoint for http listening , B - endpoint for RPC calls Now I need to use the Startup class that configure the asp.net cor with the dependency injection and all the staff. WebHostBuilder already has a method user , but if I use the B endpoint listener (CreateServiceRemotingListener) how I can use the Startup class.
Thanks in advance ...