Skip to content

Commit bac5afb

Browse files
committed
update documentation
1 parent 856574d commit bac5afb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Libraries/src/Amazon.Lambda.AspNetCoreServer.Hosting/ServiceCollectionExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ public static IServiceCollection AddAWSLambdaHosting(this IServiceCollection ser
107107
/// // Example Minimal Api
108108
/// var builder = WebApplication.CreateSlimBuilder(args);
109109
///
110+
/// builder.Services.AddAWSLambdaHosting(LambdaEventSource.HttpApi);
111+
///
110112
/// // Initialize asp.net pipeline before Snapshot
111113
/// builder.Services.AddAWSLambdaBeforeSnapshotRequest(async httpClient =>
112114
/// {

0 commit comments

Comments
 (0)