0
votes

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 ...

1
Not sure what you're asking, can you post some code of what you've tried and how it failed?Mardoxx

1 Answers

0
votes

You can't use the Startup class in CreateServiceRemotingListener as it has nothing to do with RPC listener. It was developed to be used for creation of the host for asp.net core apps.