EventStore Client Package for .NET Core (dnx core)

Created on 23 Nov 2015  ·  31Comments  ·  Source: EventStore/EventStore

Original post on google group

Hi,

I'm working on getting the EventStore .NET Client to run on .NET Core 5.0.

I noticed from the thread "dnx core support" that no one seems to be working on it yet AFAIK, but that pull requests would be welcomed, so once I get stable results, I'll make a pull request and link this issue.

The solution builds on my branch, but the tests don't pass yet. Right now it is failing on some dependencies that aren't available (DLLs missing) for whatever reason.

Also, for some of the changes I had to make (things that have been deprecated in .NET core), I wasn't able to find a replacement, (or ignored and made a todo list item for later) so I simply removed code instead of replacing it.

Some things that come to mind are Socket.Close(), SerializableAttribute, and some of the methods on the x.509 certificate (they were only used in logging). There are probably others.

For now, I have to work on something else, but either myself or someone else from my team will eventually get back to this and finish it. I created this issue for tracking purposes.

Here are the (very work in progress) changes I have made so far: https://github.com/EventStore/EventStore/compare/release-v3.4.0...forestjohnsonilm:dotnet-client-dnx-core

kinenhancement

Most helpful comment

ok, we have most of the build process working and are happy enough with the tests that there is now an alpha: https://www.nuget.org/packages/EventStore.ClientAPI.NetCore/

for now, if you have any issues, please raise them in this repo and give them a label of [netcoreclient]

All 31 comments

Great progress so far! :+1:

I hadn't looked at Event Store until now, but fancy trying it out. How are you getting on with the DNX Core version?

Have found some bugs in coreclr but working towards it, one we were looking
through today apparently has been fixed but isn't in nightly builds.

On Thu, Jan 7, 2016 at 2:01 PM, Paul Davidson [email protected]
wrote:

I hadn't looked at Event Store until now, but fancy trying it out. How are
you getting on with the DNX Core version?


Reply to this email directly or view it on GitHub
https://github.com/EventStore/EventStore/issues/757#issuecomment-169672274
.

Studying for the Turing test

Thanks for the update. I'll be keeping an eye on this :)

@gregoryyoung I hope you don't give me the same answer as you would if I asked you to go to the grocery store for me* but, is it likely that 3.6.0 would include the DNX Core version?

We're porting our code to .net core and the only thing stopping us now is an EventStore client.

*I was at your talk at DDDEU that was keeping us all back from the beer ;-)

So the client I can see moving over providing a few issues we found are now
resolved. The backend well we have tried a bit and coreclr isn't ready.

On Thu, Mar 3, 2016 at 6:25 PM, Steve Gill [email protected] wrote:

@gregoryyoung https://github.com/gregoryyoung I hope you don't give me
the same answer as you would if I asked you to go to the grocery store for
me* but, is it likely that 3.6.0 would include the DNX Core version?

We're porting our code to .net core and the only thing stopping us now is
an EventStore client.

*I was at your talk at DDDEU that was keeping us all back from the beer ;-)


Reply to this email directly or view it on GitHub
https://github.com/EventStore/EventStore/issues/757#issuecomment-191836954
.

Studying for the Turing test

Perfect. Its just the client we need.

Hi guys, I'm also porting my code base to DNX Core version and it would be great if I could get access to the DNX compatible version.
If it isn't ready yet, would you recommend that I pull the repo source code and build it myself ?
Or - are the nightly builds available somewhere ?

Thanks very much.

I checked out the EventStore Client 3.6.0 but VS says it the client does not support DNX version 5. Do you have any information about whats happening at your side?

I am guessing that you can compile the client code on dnx...

thanks, I'll give it a go.

Now that .NET Core RC2 has landed and the netstandard1.* library tags are set it would be great to get this. Is this on the roadmap at all?

@qooroo @jageall has done some work on this maybe he can update.

I have been working on porting the whole code base over to dnx/core. There have been some stability issues (bugs in the framework, total rewrite of the tooling etc.) which have resulted in this taking a bit of a back seat while MS settle on a stable release.

I expect to have an update on timelines within the next week or so once I have a clearer idea of what the issues are.

Great to hear - would be awesome if the whole code base got ported.

FYI I've done a quick port of the Client API here

This is an initial spike for a project that I'm porting from RC1 dnx/net451(mono) to RC2 dotnet/netstandard1.x

The hello world sample runs so I'll try it in my project and see how it goes.

Note that this client API port is on netstandard1.3 so any full .net framework project referencing it would have to be at >=4.6

Did somewhere exists a prerelease feed of a nuget package of the netcore EventSource.Client ?

@stefc I've got a fork that I'm using, published here: https://www.myget.org/feed/qooroo/package/nuget/EventStore.ClientAPI.DotNetCore

we are just setting up the build process/tests for the repo it's currently on

Hey @jageall how is this going? Do you need a hand?

Anyone else can provide feedback on this? @jageall seems to be rather inactive

Apologies for the delay in updating, things kind of went crazy over the summer. I am just finishing off sorting out the last few client tests, porting the existing full .NET framework tests has taken longer than anticipated due to issues with tooling and the fact that all current tests are written to run against self hosted nodes, not something possible in core atm. but I expect to be finished on the tests this week.
I hope to see an alpha build out sometime shortly after that.

ok, we have most of the build process working and are happy enough with the tests that there is now an alpha: https://www.nuget.org/packages/EventStore.ClientAPI.NetCore/

for now, if you have any issues, please raise them in this repo and give them a label of [netcoreclient]

How reliable is this package? Is it "very alpha" or is it meant to work stable (to start some prototypes on it) or is it already reliable enough for some production work? Just to get a feeling of this at this point in time

It seems to be working (have not yet had anyone file any issues). To be
fair its not a huge departure from the CLR client api

On Thu, Dec 15, 2016 at 1:27 PM, Boas Enkler notifications@github.com
wrote:

How reliable is this package? Is it "very alpha" or is it meant to work
stable (to start some prototypes on it) or is it already reliable enough
for some production work? Just to get a feeling of this at this point in
time


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/EventStore/EventStore/issues/757#issuecomment-267326941,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXRWsQhU199Wxq_z1nAsUslCOnbJe9Eks5rIUBFgaJpZM4GnxA6
.

--
Studying for the Turing test

How does the https://www.nuget.org/packages/EventStore.Client/ compare to https://www.nuget.org/packages/EventStore.ClientAPI.NetCore/?

Any bug fixes or features missing?

I ask as the EventStore.ClientAPI.NetCore was published last 28 September 2016 and the EventStore.Client was updated 5 days ago.

Is there a branch/repo for the core version?

The Core version is for dotnetcore where as the regular client is for the
CLR/mono.

The dotnetcore version appears to be stable (we did an alpha release of it)
and we will be moving into the normal build/release pipeline.

On Wed, Dec 28, 2016 at 6:24 AM, Dennis Roche notifications@github.com
wrote:

How does the https://www.nuget.org/packages/EventStore.Client/ compare to
https://www.nuget.org/packages/EventStore.ClientAPI.NetCore/?

Any bug fixes or features missing?

I ask as the EventStore.ClientAPI.NetCore was published last 28 September
2016 and the EventStore.Client was updated 5 days ago.

Is there a branch/repo for the core version?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/EventStore/EventStore/issues/757#issuecomment-269432309,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXRWkTM47quBEr2h9d03codXNlL6npGks5rMgCkgaJpZM4GnxA6
.

--
Studying for the Turing test

@gregoryyoung thanks for the update. we'll start using the dotnet core version. 👍

why is it to separate packages? Not a real problem, but can't it be solved with different target framework?

Hey guys, any update on this?

I tried to use the aforementioned EventStore NetCore package from September. However, the API is a tad too old so I can't actually switch to that package. Is there any plan and/or schedule to provide proper .NET Core support?

Thanks for the great work! :)

For anyone interested in contributing or opening issues, the repository is located over here.

@aft-ape, would you mind heading over there?

Hi, the indicated client library is dead with little or no activity, there's no documentation, it can't even write to a stream, and no one is answering issues and questions.

Is EventStore not supporting .NET Core? If not, is there a clear roadmap for it? If so, can anyone point me to an event stream with actual support for .NET Core?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidgoate picture davidgoate  ·  7Comments

thangchung picture thangchung  ·  3Comments

p0onage picture p0onage  ·  3Comments

jonnylocke picture jonnylocke  ·  5Comments

mandeep-rubicon picture mandeep-rubicon  ·  8Comments