Skip to content
Discussion options

You must be logged in to vote

The .NET feature self contained only works when publishing executables not class libraries. The Empty Function blueprint creates a project as a class library. The Empty Top-Level Function blueprint is an executable where you can see it has the Lambda bootstrap code.

await LambdaBootstrapBuilder.Create(handler, new DefaultLambdaJsonSerializer())
        .Build()
        .RunAsync();

When you deploy a Lambda function as an executable like the Empty Top-Level Function blueprint does the handler is set to just the assembly name.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@sajanmje
Comment options

@normj
Comment options

normj Apr 18, 2024
Collaborator

@sajanmje
Comment options

@normj
Comment options

normj Apr 19, 2024
Collaborator

Answer selected by ashishdhingra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants