Parsing connection strings

Hi,

Has anyone come up with a way of parsing EventStore connection strings.

I’d ideally like to store the connection string as a string in a config file.

Any help appreciated.

Kind regards

Sean.

They are already strings, you can just load it from a configuration file and use EventStoreConnection.Create(connectionString)

James

For how parsing works check:

https://github.com/EventStore/EventStore/blob/release-v3.6.0/src/EventStore.ClientAPI/ConnectionString.cs