linq2dynamodb icon indicating copy to clipboard operation
linq2dynamodb copied to clipboard

Do you have this in .net core?

Open jonathanalberghini opened this issue 1 year ago • 3 comments

Do you have a version of this in.net core that could be deployed on Amazon Lambda? Or do youknow of a way to do it?

jonathanalberghini avatar Feb 25 '23 13:02 jonathanalberghini

Hi @jonathanalberghini , LINQ2DynamoDB is a .NET Core package, so it should be easily installable into any .NET Core/.NET 5/.NET 6/.NET 7 project, including Lambda projects:

dotnet add package Linq2DynamoDb.DataContext

Then you should be able to use it as normal.

If you observe anything otherwise, please, let me know.

scale-tone avatar Feb 26 '23 09:02 scale-tone

I guess I was wondering what would happen in the caching with lambda as it does not keep running?

[Logo] Jon Alberghini Director of Technology @.@.> o. 802-323-4558 | c. 802-323-4558 | www.legacyresearch.comhttps://www.legacyresearch.com/

From: Konstantin Lepeshenkov @.> Date: Sunday, February 26, 2023 at 4:50 AM To: scale-tone/linq2dynamodb @.> Cc: Jon Alberghini @.>, Mention @.> Subject: Re: [scale-tone/linq2dynamodb] Do you have this in .net core? (Issue #72)

Hi @jonathanalberghinihttps://github.com/jonathanalberghini , LINQ2DynamoDB is a .NET Core package, so it should be easily installable into any .NET Core/.NET 5/.NET 6/.NET 7 project, including Lambda projects:

dotnet add package Linq2DynamoDb.DataContext

Then you should be able to use it as normalhttps://github.com/scale-tone/linq2dynamodb/wiki.

If you observe anything otherwise, please, let me know.

— Reply to this email directly, view it on GitHubhttps://github.com/scale-tone/linq2dynamodb/issues/72#issuecomment-1445312126, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF6OZWMXZA2YGS2NY2LRNUDWZMROLANCNFSM6AAAAAAVH3M3YU. You are receiving this because you were mentioned.Message ID: @.***>

jonathanalberghini avatar Feb 26 '23 23:02 jonathanalberghini

I guess I was wondering what would happen in the caching with lambda as it does not keep running?

If you don't use any distributed cache, then obviously the cached data does not survive instance restarts and does not span multiple instances. If you do use distributed cache, then everything is cached and remains there in cache for as long as TTL expires. TTL is adjustable.

scale-tone avatar Feb 27 '23 08:02 scale-tone