I am playing with EventStore. As a .NET user I prefer Windows as OS, only that I have home edition. In order to install Docker I need Windows Proffessional Edition - and I don't have it ... it's out of my budget.
Anyway, I kept trying to install (via Chocolatey) and I managed it. How do I start it? I can't find the command in the documentation.
I am having this code:
var settings = new EventStoreClientSettings {
ConnectivitySettings = {
Address = new Uri("http://localhost:2113")
}
};
var client = new EventStoreClient(settings);
taken from here.
I am gettig an error "Error starting gRPC call - the connection cannot be created".
I suspect that I need to start the server. But how? even if I am using docker, I would still be unable to start the server with a command line, as I my experience tells me that I would do in these kind of situations.
I would gladely contact their support, however I am just exploring - I do not have a licence for this software.
For GRPC download the zip file from https://www.eventstore.com/downloads and unzip into a local folder or install
eventstore-oss
from chocofor version 20.10 run
EventStore.ClusterNode.exe --insecure --run-projections=all --start-standard-projections --enable-atom-pub-over-http
Open
localhost:2113
in a browser and confirm the db is runningUse connection string
esdb://localhost:2113?Tls=false
for gRPC clients. .net 3.1 console appes-connect.csproj
filemain.cs
filebrowse to
http://localhost:2113/web/index.html#/streams
to confirm the written stream(s).Click the links for the stream details e.g.
http://localhost:2113/web/index.html#/streams/item-{item id}
and
http://localhost:2113/web/index.html#/streams/item-{item id}\0
for the first eventthe item category is at
http://localhost:2113/web/index.html#/streams/$ce-item
the ItemCreated events at
http://localhost:2113/web/index.html#/streams/$et-ItemCreated
the ItemChanged events at
http://localhost:2113/web/index.html#/streams/$et-ItemChanged