Skip to content
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

Do you have this in .net core? #72

Open
jonathanalberghini opened this issue Feb 25, 2023 · 3 comments
Open

Do you have this in .net core? #72

jonathanalberghini opened this issue Feb 25, 2023 · 3 comments
Labels

Comments

@jonathanalberghini
Copy link

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?

@scale-tone
Copy link
Owner

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.

@jonathanalberghini
Copy link
Author

jonathanalberghini commented Feb 26, 2023 via email

@scale-tone
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants