Skip to content

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

Closed

Description

@raRaRa

.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.

Activity

  1. normj commented on Dec 3, 2019

    @normj
    Member

    Its an LTS and will be supported. It will just take sometime to get .NET Core 3.1 ready for Lambda and deployed out.

  2. hounddog22030 commented on Dec 4, 2019

    @hounddog22030
    Contributor

    Its an LTS and will be supported. It will just take a sometime to get .NET Core 3.1 ready for Lambda and deployed out.

    If there's anything I can do to help out, please let me know.

  3. ckuetbach commented on Dec 4, 2019

    @ckuetbach

    Will there be a speedup for the cold start time?

    .NET Core 3.1 has some features like AOT compile

    • PublishReadyToRun
    • PublishTrimmed
  4. beeradmoore commented on Dec 4, 2019

    @beeradmoore

    @normj should people subscribe to this issue for updates or is there another .NET Core 3.1 issue which we should follow for progress?

  5. pinned this issue on Dec 7, 2019
  6. normj commented on Dec 8, 2019

    @normj
    Member

    We can use this issue to track updates. Unfortunately I probably won't be able to provide much of status updates till it is out.

  7. daseintheworld commented on Dec 12, 2019

    @daseintheworld

    Will there be a speedup for the cold start time?

    .NET Core 3.1 has some features like AOT compile

    • PublishReadyToRun
    • PublishTrimmed

    In case the answer is yes for the comment, will it be possible to run and test the 'compiled lambda' from a local environment? I would eagerly set a linux environment for it :)

  8. rati-dzidziguri commented on Dec 13, 2019

    @rati-dzidziguri

    Any update here?

  9. beeradmoore commented on Dec 13, 2019

    @beeradmoore

    @rati-dzidziguri

    As above from @normj

    We can use this issue to track updates. Unfortunately I probably won't be able to provide much of status updates till it is out.

  10. rati-dzidziguri commented on Dec 13, 2019

    @rati-dzidziguri

    @beeradmoore
    My question was about ETA. That would be helpful to know ETA for this as we could prepare accordingly.

  11. Kralizek commented on Dec 13, 2019

    @Kralizek

    @rati-dzidziguri Amazon seldom discloses their ETA when it comes to releases.

  12. normj commented on Dec 13, 2019

    @normj
    Member

    @rati-dzidziguri I understand and appreciate you wanting an ETA so you can plan accordingly. In reality it is for that reason we generally don't give an ETA because we try really hard to not make promises that we are not 100% sure we can keep. I would hate to give you an ETA and you make your roadmap based on that and we then me miss that ETA you expected throwing all of your plans into disarray.

    For now if you really are needing .NET Core 3.1 features then i suggest using .NET Core 3.1 as a Lambda Custom Runtime which is explained here (except change references from .NET Core 3.0 to .NET Core 3.1). Then when the native .NET Core 3.1 support comes along you will have a very simple migration of changing a few settings on your Lambda function.

  13. daseintheworld commented on Dec 15, 2019

    @daseintheworld

    @normj One reason made me decide that I can't use the custom runtime feature with the 'LambdaEntry' class is the 'monolithic architectural' aspect of the implementation approach. Every API request comes through the only one entry lambda and 'distributed' to controllers of the ASP .net project is what the custom runtime structure intended, which is definitely convenient but includes structural downside for cases like I want. I want every command/query request to become lambda each. Since then I can get a scalabillity on managing deployment packages that I can split some functions and manage codes anytime I want.
    This is why I am waiting for the official runtime to be supported that I can construct a bundle of 'single purposed lambdas' using SAM written in a template with 'runtime : .netcore 3.1' config.

    Please give me an advice if I am going wrong :)

  14. martincostello commented on Dec 15, 2019

    @martincostello
    Contributor

    You can definitely achieve multiple lambda functions from one code base using the Lambda Bootstrapper and the custom runtime feature.

    I have a suite of 16 lambdas that are deployed from one application, rather than a “monolith”.

    This is achieved by using the _handler environment variable to pick the method to use at runtime, rather than the hard-coded one-to-one mapping shown in the blog post’s sample code.

    I think of it as a console app which receives a switch that tells it what action to “become” when started up.

  15. 104 remaining items

  16. unpinned this issue on Apr 1, 2020
  17. akrsmv commented on Apr 1, 2020

    @akrsmv

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

  18. bartoszsiekanski commented on Apr 1, 2020

    @bartoszsiekanski

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

  19. hrytskivr commented on Apr 1, 2020

    @hrytskivr

    THANKS!

  20. normj commented on Apr 1, 2020

    @normj
    Member

    @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.

  21. tr33squid commented on Apr 1, 2020

    @tr33squid

    @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?

  22. normj commented on Apr 2, 2020

    @normj
    Member

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

  23. Rajivhost commented on Apr 3, 2020

    @Rajivhost

    Thanks a lot and great job AWS team!!

  24. neetika123 commented on Apr 8, 2020

    @neetika123

    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

  25. neetika123 commented on Apr 24, 2020

    @neetika123

    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 ??

  26. gregorylyons commented on Apr 24, 2020

    @gregorylyons

    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.

  27. weare8 commented on Apr 24, 2020

    @weare8
  28. neetika123 commented on Apr 24, 2020

    @neetika123

    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.

  29. onionhammer commented on Jul 4, 2020

    @onionhammer

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

  30. davidruhmann commented on Jul 4, 2020

    @davidruhmann

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions