aws-lambda-dotnet
aws-lambda-dotnet copied to clipboard
Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
### Describe the bug Hi, We have an ASP.NET Core Web API running, hosted in a Lambda function. The API uses Top Level Statements and the package [Amazon.Lambda.AspNetCoreServer.Hosting](https://github.com/aws/aws-lambda-dotnet/tree/master/Libraries/src/Amazon.Lambda.AspNetCoreServer.Hosting). The function...
### Describe the issue While the comment-based help mentions script & project workflows in both `New-AWSPowerShellLambda` & `New-AWSPowerShellLambdaPackage`, it isn't very clear how one would utilize those two options. For...
*Issue #, if available:* *Description of changes:* Added a `websocket` option to the `Amazon.Lambda.AspNetCoreServer` project so that API Gateway websocket api's can also use the `LambdaServer` (DI, controllers, etc) given...
### Describe the issue After turning on `PublishTrimmed`, I noticed this line is throwing an error: `builder.Services.AddAWSLambdaHosting(LambdaEventSource.HttpApi);` > Using member 'Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions.AddAWSLambdaHosting(IServiceCollection, LambdaEventSource)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming...
*Description of changes:* This fixes a bug when running a gRPC-Web service in Lambda where trailers are not properly written as part of the response payload because the response feature...