DEV Community

Yasuhiro Matsuda for AWS Community Builders

Posted on • Edited on

2

Lambdaで.NET 7のカスタムランタイムを実行する

.NET6での実行速度をさらに改善するために.NET 7から対応しているAOTのメリットを享受しようとした。

結論としては実行した結果、実行時に以下の例外エラーが生成されてしまった。
Dynamic code generationの必要な実装が含まれている場合には移行できないので検討する上での注意事項してほしい。

System.PlatformNotSupportedException: Dynamic code generation is not supported on this platform.

.NET8がLambdaで正式サポートされ、カスタムランタイムで実行せずにすむようになった時に、この部分の動きがどのようになるか確認してみたい。

Top comments (0)

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post

AWS Security LIVE!

Hosted by security experts, AWS Security LIVE! showcases AWS Partners tackling real-world security challenges. Join live and get your security questions answered.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️