Hi All,
I have a wcf service hosted in iis. The endpoint uses wsHttpBinding.
I have a lot of clients that are using the service.
The internet connection is unstable.
The clients uses the service to insert data in db.
What is the best practice of exception handling in the client.
Is it good choise to use the using statemen and initialize new connection every time the client needs to insert data (call the service) or should keep opened reference and reinitialize every time it detects no connection ?
I do not like when the client calls the service to show an error to the user telling to retry again. Can it retry automatically?
Regards