serverless asp.net core 2.0 applicationsを作ってみた
TRANSCRIPT
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
.DevOps Specialist Solutions ArchitectAtsushi Fukui
2018.03.10
. 8 1 1 188 1 20 2 8C A
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
v
v�v ro C@ A
v��v D g gp hv sut imfW Sda Obgmv 9 O d Sda Obg D
v v g F D dL Obg l g e g
v���������v Od
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
������
• 22 00 .2 � • ������• ���
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
/ C : /- 0 L
• MhPR . W SedI 2 2 T LI /- 0- W Sca N L
i b N 2E 2 2 A / C N. Sg N LAA A 2D 2D :2 2A A : 2 A 2 2E 2 2 A / C .
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
. . . . TP
• . . . GE I aB
• . . IES N G Eot
• . CA I N Ed I NE . I e I N r
• . G A P A N NE . N N r
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•GA F
• ) ( ) I• .• GA• . . I I
•I I P
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
��� ��������������� ocei
• ������l s ps J PtI Tocei• > A CHS I T . Ed . < OoceiN m N s EF > > < O v G
• ��������������� sadsaO����� �����nrF >> > > > GO������� y
J �������������� be• > >> > > > N > A CHSOq a
> > Rx• > A C. < < > ��� �������������
wu
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
��� �using System.IO;
using Amazon.Lambda.AspNetCoreServer;
using Microsoft.AspNetCore.Hosting;
namespace TestWebApp { public class LambdaFunction : APIGatewayProxyFunction
{
protected override void Init(IWebHostBuilder builder)
{
builder.UseStartup<Startup>();
}
}
}
//������Lambda��������TestWebApp.LambdaFunction.FunctionHandlerAsync���
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
clientAmazon API Gateway*
Lambda functionInternet
CAPI Gateway
C
API Gateway LambdaLambda
N
FunctionHandlerAsyncA C
C ASP.NET Core A N
ASP.NET CoreA S
ASP.NET Core AJSON
LambdaC
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
S
• . eh jW d i uC
• . 0 l V W t C• 1 7 E N 1 2 T C
• . P 0 . n ehT• uoN s h bP m NA 1/
b d P ja j b CT
• 1rxP t
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
���������
https://meguro-dev.connpass.com/event/81804/