C# Client, Check if eventstore is running

What is a good way to check if the event store is running ?

I want to check this especially in my startup

The connection i use in my application code sets the eventstore connecttion to always reconnect, so this should throw exceptions.

But to avoid errors (for example after server reboot) it would be nice to see wether the eventstore is up and running

Connect with reconnects disabled and it will give you a yes/no as to
whether or not it could connect.

Also you can try using gossip (http) to find out status of nodes in cluster.

The first solutions sounds sounds good, didn’t think of that.

in my scenario i got a CommonRepository Implementation. This gets the IEventStoreConnection injected. Now i’d like to “clone” this connection with different reconnect options, but i can’t find a “Endpoint” property which i could use to create a new connection.

Am I right that this is missing ? Another option to get the adress the connection is related to ?

The first solutions sounds sounds good, didn’t think of that.

in my scenario i got a CommonRepository Implementation. This gets the IEventStoreConnection injected. Now i’d like to “clone” this connection with different reconnect options, but i can’t find a “Endpoint” property which i could use to create a new connection.

Because it’s not related to one endpoint. It’s related possibly to a whoLe group of endpoints (eg cluster)

ok. but isn’T there a way to mimic a clone of a collection ?
If not this would be a nice feature ; )