aws / aws-lambda-dotnet

Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
Apache License 2.0
1.57k stars 479 forks source link

.NET Core 3.1 (LTS) has been released #554

Closed raRaRa closed 4 years ago

raRaRa commented 4 years ago

.NET Core 3.1 (LTS) has been released - https://devblogs.microsoft.com/dotnet/announcing-net-core-3-1/

Any plans to support it any time soon? Thanks.

VissnuKumaar commented 4 years ago

Thanks!

assyadh commented 4 years ago

And its out with 13 hours left in the quarter 😅

https://aws.amazon.com/blogs/compute/announcing-aws-lambda-supports-for-net-core-3-1/

Thanks everybody for your patiences. @raRaRa I will leave you the honor of closing this issue.

Nice work!

rati-dzidziguri commented 4 years ago

That is AWS baby. That is AWS!!! No matter what happens, in the end, they get it done.

Thanks a lot, team!!!

image

andyKalman commented 4 years ago

Great news and much thanks @raRaRa @normj !!! At the risk of sounding foolish and/or greedy does this also intrinsically mean Powershell 7 as well? Just double checking......

raRaRa commented 4 years ago

Great job @normj and everyone at AWS! 🥳

Here's the link to the blog for those scrolling to the bottom https://aws.amazon.com/blogs/compute/announcing-aws-lambda-supports-for-net-core-3-1/

albertocorrales commented 4 years ago

awesome, thanks a million for adding support to dotnet core 3.1!!!

normj commented 4 years ago

@andyKalman Not yet on PowerShell 7. I'm doing some final touch ups on the AWSLambdaPSCore module and then will get that released the 2.0.0 version of AWSLambdaPSCore to the gallery.

andyKalman commented 4 years ago

I appreciate the quick reply @normj . I did see #607 after the fact so good to see it looks to be a quick followup. Is there another issue to track so I can stop the comments here? :) Thanks again.

petarrepac commented 4 years ago

Congrats! And thank you AWS and .NET Team! Much appreciated.

CraigHead commented 4 years ago

Thank you to everyone who helped make this happen! This is a huge release and it shows a lot of hard work went into it! Nice! 🎉🥳

hiroCat commented 4 years ago

Thanks!! :clap: :clap: :tada: :tada:

morquan commented 4 years ago

Congrats guys, looking forward to upgrading.

genisbarrera commented 4 years ago

Thanks!

HolloFox commented 4 years ago

Awesome work, keen to upgrade these lambdas.

joel-morland commented 4 years ago

Great work! Thank you @normj 👏 👏

SureshD84 commented 4 years ago

Great work Team!

akrsmv commented 4 years ago

Eager to jump on Lambda workers with dotnet 3.1 Async Streams +AWS AppSync/GraphQL subscriptions. AWS Team, Many Many Thanks !

bartoszsiekanski commented 4 years ago

OMG, guys you rules! Amazing! Woohoo! 😄😄😄

hrytskivr commented 4 years ago

THANKS!

normj commented 4 years ago

@andyKalman I pushed out version 2.0.0 of the AWSLambdaPSCore module which now uses PowerShell 7. I'm planning on putting out a blog post on the PS7 support but it acts the same as the existing PowerShell 6 support just uses 7.

tr33squid commented 4 years ago

@andyKalman I pushed out version 2.0.0 of the AWSLambdaPSCore module which now uses PowerShell 7. I'm planning on putting out a blog post on the PS7 support but it acts the same as the existing PowerShell 6 support just uses 7.

Does the new version of AWSLambdaPSCore update any of the configurations within my existing Lambda functions if i publish them with the new version? Like will it point it towards dotnet3.1 and ps7?

normj commented 4 years ago

@tr33squid Yes if you deploy with 2.0.0 it will use .NET Core 3.1 and PS7

Rajivhost commented 4 years ago

Thanks a lot and great job AWS team!!

neetika123 commented 4 years ago

Hi everyone,

I am actively working on bringing the support for .NET Core 3.1 in Lambda. It takes some time because a lot of work was done by Microsoft in how they build the runtime. I am working on incorporating these changes to bring you a native runtime.

Thanks to AWS-Lambda .NET core team

neetika123 commented 4 years ago

Hi, I am getting this error when trying to execute AWS-Lambda It was not possible to find any compatible framework version. The specified framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found. any suggestions ??

gregorylyons commented 4 years ago

Hi, I am getting this error when trying to execute AWS-Lambda It was not possible to find any compatible framework version. The specified framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found. any suggestions ??

You need to install the 3.1.0 SDK.

weare8 commented 4 years ago

I believe Microsoft.AspNetCore.App should be removed from your project dependencies, not anymore needed for Core 3.1.0, I had to remove it to build and deploy the service I upgraded from 2.1.

On Fri, Apr 24, 2020 at 3:24 AM Gregory Lyons notifications@github.com wrote:

Hi, I am getting this error when trying to execute AWS-Lambda It was not possible to find any compatible framework version. The specified framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found. any suggestions ??

You need to install the 3.1.0 SDK.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aws/aws-lambda-dotnet/issues/554#issuecomment-618850277, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMSHCOLW5WJDS7CCAFDMP4TROE5ENANCNFSM4JU5UTJA .

-- Best, George

George Taskos Senior Solutions Architect

WeAre8 230 Park Avenue, 3th fl. West New York, NY 10169 (917) 717-9067 weare8.com

Private Entrance, 71 Vanderbilt Ave 3rd Floor

neetika123 commented 4 years ago

I believe Microsoft.AspNetCore.App should be removed from your project dependencies, not anymore needed for Core 3.1.0, I had to remove it to build and deploy the service I upgraded from 2.1. On Fri, Apr 24, 2020 at 3:24 AM Gregory Lyons @.***> wrote: Hi, I am getting this error when trying to execute AWS-Lambda It was not possible to find any compatible framework version. The specified framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found. any suggestions ?? You need to install the 3.1.0 SDK. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#554 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMSHCOLW5WJDS7CCAFDMP4TROE5ENANCNFSM4JU5UTJA . -- Best, George George Taskos Senior Solutions Architect WeAre8 230 Park Avenue, 3th fl. West New York, NY 10169 (917) 717-9067 weare8.com Private Entrance, 71 Vanderbilt Ave 3rd Floor

Thanks for your reply, Actually this error was due to my silly mistake. I forgot to remove runtime: dotnetcore2.1 in my serverless.yml. Now issue solved.

onionhammer commented 4 years ago

Anyone do any updated benchmark/comparisons on this? All I can find are old ones with a custom runtime..

davidruhmann commented 4 years ago

Anyone do any updated benchmark/comparisons on this? All I can find are old ones with a custom runtime..

Here is a good one. https://medium.com/@zaccharles/a-close-look-at-net-core-3-1-on-aws-lambda-9ccec4dd96be

Also my personal experience updating a 2.1 complex lambda to 3.1 on a 512mb lambda size saw almost exact same performance (cold and warm start). Both the 2.1 and 3.1 lambda uses lambda layer, optimized publish, newtonsoft (might see perf improvement with Microsoft json in 3.1), tiered compilation off, and RTR for 3.1.

From my metrics, it seems to gain slight performance with dotnet 3.1 runtime, but lose performance on Amazon Linux 2 and dotnet 3.1 initialization. (2.1 uses Amazon Linux 1.) Making gains a wash.