using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using System.IO; using Musiquizza_React; namespace Musiquizza { /// /// This class extends from APIGatewayProxyFunction which contains the method FunctionHandlerAsync which is the /// actual Lambda function entry point. The Lambda handler field should be set to /// /// Musiquizza::Musiquizza.LambdaEntryPoint::FunctionHandlerAsync /// public class LambdaEntryPoint : Amazon.Lambda.AspNetCoreServer.APIGatewayProxyFunction { /// /// The builder has configuration, logging and Amazon API Gateway already configured. The startup class /// needs to be configured in this method using the UseStartup<>() method. /// /// protected override void Init(IWebHostBuilder builder) { builder .UseStartup(); } } }