icerpc-csharp icon indicating copy to clipboard operation
icerpc-csharp copied to clipboard

Improve generic host support and example

Open bentoi opened this issue 2 years ago • 0 comments

Our generic host example is quite complicated, the server or client needs to load the certificate, setup the ssl client/server authentication options, etc.

I think we should consider providing IHostBuilder extensions to allow setting up an IceRpc server or client more easily. We could take the same approach as ConfigureWebHostDefaults which is used to configure an http server using a startup class.

bentoi avatar Mar 16 '23 16:03 bentoi