Frank
đ˘Â UpdateWith v0.38.0, you can now write your Lambda functions in C#.
npx create-serverless-stack@latest my-sst-app --language csharp
Point the Functionâs srcPath
 to the .csproj
folder, and configure handler
in this format ASSEMBLY::NAMESPACE.CLASS::FUNCTION
. For example:
new sst.Function(this, "Fn", {
runtime: "dotnetcore3.1",
srcPath: "src/MyApp",
handler: "MyApp::MyApp.Api::ListNotes",
});
More details on what C# functions take.Dennis Dang
08/12/2021, 5:24 PMFrank
sst start
currently only watches for .cs
and .csproj
. Let me add F# support with a starter template.Frank
Dennis Dang
08/12/2021, 8:00 PMFrank