Unhandled Exception: System.InvalidOperationException: A suitable constructor for type 'Amazon.Lambda.AspNetCoreServer.Hosting.Internal.APIGatewayHttpApiV2LambdaRuntimeSupportServer' could not be located. Ensure the type is concrete and services are registered for all parameters of a public constructor. #1600
-
Hello everyone , I'm in the process of configuring a .NET 7 AOT minimal API that's integrated with a lambda function URL. However, an exception is thrown each time the API endpoint is accessed. Any assistance would be appreciated.
program.cs
project.csproj
SAM .yml
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Had forgot to use SOurce generated serailization |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Had forgot to use SOurce generated serailization