-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET Core Compatibility #6
Comments
I would like to be first we need the EnyimMemcached dependency to be updated to .NET Core. |
@normj It is already! https://www.nuget.org/packages/EnyimMemcachedCore/ |
Thanks, I didn't realize that they put out a separate package for it. I'll take a look to see what it will take. |
Configuration Management will be the biggest part IMHO. See https://docs.asp.net/en/latest/fundamentals/configuration.html. |
@normj any updates on being able to use ElastiCache from .NET core? |
I haven't had a chance yet to work on this but it is still on my radar. |
Adding my 👍 to this issue. |
Also very interested in this too. Is there a plan around the configuration portions of this library? Asking because if I fork it for .NET Core, I want to make sure I go in roughly the same direction so replacing it with the official version later down the line is easier. |
@normj Is there any update on this? |
@rknewbow I have a fork where i've ported to .NET core: https://github.com/bcuff/elasticache-cluster-config-net It works, but it's not very pretty so I haven't made a PR. |
@bcuff Thanks! I'll take a look. It doesn't have to be pretty if it works. |
@bcuff Wanted to let you know that your fork is working for me. Thanks again! |
@rknewbow you're welcome. glad it was helpful. |
Looks like the official version isn't available atm, or is it? About to use @bcuff fork |
Hi @bcuff . I am using your fork. It works in a .net core web application, but it doesn't work with lambda, which is also .net core. Are you getting it to work in a lambda project by any chance? |
I've never tried it on lambda. What is the issue you're seeing? |
Thanks for the response @bcuff . It can't connect to my node. I get the following error message. I was on the phone with AWS, and we confirmed that the node has been configured correctly. Error Enyim.Caching.MemcachedClient: Create PooledSocket |
Hey @akinzo1, This looks like it might not be able to connect to the nodes. Have you tried your lambda by specifying the node names explicitly rather than using this plugin? If that doesn't work either then I would suspect that there is something wrong with your security group settings. See here about configuring your lambda to access resources within a VPC. |
Got it. Thanks @bcuff |
+1 for official .NET Core support, would really like to be able to use this within a C# lambda in AWS |
+1 for official .NET Core support... |
I have the plan to migrate projects ((Framework 4.6.2 ) to .NET core. The existing project we are using Enyim.Caching, Version=2.16.0.0 . Can any one answer ,Is Enyim.Caching support ,NET Core ? if yes which Version of .NET Core version (Core 1.0 and 2.0) ? and which .NET Standard version it's support? Thanks |
I don't think the main Enyim will ever support .NET core. There is a fork that everyone uses for .NET Core here - https://www.nuget.org/packages/EnyimMemcachedCore/ |
Thanks !! |
Do you have any idea its support information about FluentAssertions.Core, Version=4.19.2.0 and FluentAssertions , Version=4.19.2.0 as well ? |
I'm not sure I understand the question. If that is a dependency of this project then it should just be a test dependency. |
Hi bcuff, I want to use your fork too in my lambda core project. I am new to github so not sure how to use it. Are you releasing an official version anytime soon? Thanks, |
@kaurranjeet12 I wasn't planning on it, but since so many people seem to be asking about it maybe I should. @normj Do you want a PR for .NET Core support? In the mean time you would just have to build my fork from source. |
@bcuff thank you. It works fine with API running on core 1.0. but not working with my AWS lambda function. I am getting error saying netstandard1.6.1 can't be used with core 1.0 |
@kaurranjeet12 You could try downgrading to netstandard 1.6.0 or 1.5 to get it working on lambda. It looks like AWS Lambda only supports the 1.0 runtime at the moment. Hopefully they'll add support for 1.1 and 2.0 soon. |
@kaurranjeet12 The earliest version of EnyimMemcachedCore depends on NETStandard.Library 1.6.1 which is part of .NET Core 1.1 which is why it doesn't work in Lambda. The Lambda environment doesn't have .NET Core 1.1 bits on it. |
Yes, I kinda of guessed it. I tried downgrading but since
EnyimMemcashedCore depends on NetStandard 1.6.1 it was not working. Just
wanted the confirmation from you guys. I guess have to wait until lambda
supports Core 1.1.
Thank you Brandon and Norm.
…On Thu, Aug 24, 2017 at 11:10 AM, Norm Johanson ***@***.***> wrote:
@kaurranjeet12 <https://github.com/kaurranjeet12> The earliest version of
EnyimMemcachedCore depends on NETStandard.Library 1.6.1 which is part of
.NET Core 1.1 which is why it doesn't work in Lambda. The Lambda
environment doesn't have .NET Core 1.1 bits on it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ-zpGJmzWZq7AEBAj3Od56X1TCU46mpks5sbbylgaJpZM4KU8RE>
.
|
@bcuff support for .NET Core 2.1 with EnyimMemcachedCore 2.1.8? |
Feel free to use my fork - https://github.com/bcuff/elasticache-cluster-config-net it supports .net core however I do not feel like it is good enough to publish a package so I haven't. |
For anyone interested, I ported this project and enyim/EnyimMemcached to .NET Standard 2.0 libraries in the Kaelum/EnyimMemcachedStandard project. I can't support the code long term, but you are free to use it under the Apache 2.0 license. UPDATE 08/29/2019: |
It appears that someone else has forked a branch as well, and it is available at: https://github.com/kt81/elasticache-cluster-config-net-core/ |
@normj happy holidays! Checking in on this request. I'm using EnyimMemcachedCore which seems to work fine for a single node, but I'd love to be using an AWS provided library and move to a cluster. Thanks! |
Hi,
are there any plans to make this lib compatible to .NET Core?
If not, is there something else we can use for Cluster Discovery etc for .NET Core?
The text was updated successfully, but these errors were encountered: