All Projects → LambdaSharp → LambdaSharpTool

LambdaSharp / LambdaSharpTool

Licence: other
Serverless .NET on AWS - λ# is a CLI and Framework for Rapid Application Development using .NET on AWS

Programming Languages

C#
18002 projects
HTML
75241 projects

Projects that are alternatives of or similar to LambdaSharpTool

dotnetcore-image
Solution of .NET Core GDI+(Image) on Linux/Docker
Stars: ✭ 22 (-77.78%)
Mutual labels:  dotnetcore
SimpleSocial
A simple social network web application using ASP.NET Core 3.1
Stars: ✭ 16 (-83.84%)
Mutual labels:  dotnetcore
FSharpNetCoreWebApiTemplate
F# .net core web api template
Stars: ✭ 17 (-82.83%)
Mutual labels:  dotnetcore
Hands-On-Serverless-Applications-with-Go
Hands-On Serverless Applications with Go, published by Packt.
Stars: ✭ 92 (-7.07%)
Mutual labels:  cloudformation
lin-cms-vue
🔆A simple and practical CMS implemented by Vue 增加CMS博客模块
Stars: ✭ 46 (-53.54%)
Mutual labels:  dotnetcore
Scraps
Scrap.TF Raffle Joining Bot
Stars: ✭ 24 (-75.76%)
Mutual labels:  dotnetcore
ecs-mesh-workshop
This handy workshop help the customers to quickly launch ECS with service mesh support on top of mixed type of instance in all commercial regions (include China), and also provides hands-on tutorials with best practices. It can be customized easily as per need.
Stars: ✭ 17 (-82.83%)
Mutual labels:  cloudformation
ReflectionToIL
A demonstration and benchmark of different approaches to load closure fields using reflection and dynamic code generation
Stars: ✭ 30 (-69.7%)
Mutual labels:  dotnetcore
aws-node-custom-user-pool
Serverless AWS Cognito Custom User Pool Example
Stars: ✭ 15 (-84.85%)
Mutual labels:  cloudformation
DTXMania2
DTXMania2は、音楽と流れる譜面に合わせてドラムを演奏するドラムトレーニングツールです。
Stars: ✭ 72 (-27.27%)
Mutual labels:  dotnetcore
atlantis
GitOps for Teams (experimental hard fork of atlantis)
Stars: ✭ 13 (-86.87%)
Mutual labels:  cloudformation
Humidifier
AWS Cloudformation using C#
Stars: ✭ 45 (-54.55%)
Mutual labels:  cloudformation
dotnetify-react-demo
DotNetify-React demo using create-react-app + Node.JS + .NET Core
Stars: ✭ 22 (-77.78%)
Mutual labels:  dotnetcore
Configuration.Provider.Docker.Secrets
.NET Core configuration provider for Docker Secrets.
Stars: ✭ 20 (-79.8%)
Mutual labels:  dotnetcore
DotPurple-App
Bug reports, feature requests, and tool list for DotPurple -- the only cross-platform GUI for the .NET (dotnet) command-line interface (CLI)
Stars: ✭ 20 (-79.8%)
Mutual labels:  dotnetcore
PugetSound
PugetSound allows you and your group to enjoy music together using Spotify.
Stars: ✭ 52 (-47.47%)
Mutual labels:  dotnetcore
ClickHouseMigrator
Help to migrate data to ClickHouse, create database and table auto.
Stars: ✭ 58 (-41.41%)
Mutual labels:  dotnetcore
XRPC
dotnet high performance remote interface and delegate invoke(RPC) communication components,support millions RPS remote interface method invokes
Stars: ✭ 77 (-22.22%)
Mutual labels:  dotnetcore
serverless-cloudformation-sub-variables
Serverless framework plugin for easily supporting AWS CloudFormation Sub intrinsic function variables
Stars: ✭ 25 (-74.75%)
Mutual labels:  cloudformation
nfscan
NFScan is a free, open-source software, available to non-profit organizations to receive donations effectively.
Stars: ✭ 85 (-14.14%)
Mutual labels:  cloudformation

λ#

LambdaSharp - Serverless .NET on AWS

Read what's new in the v0.8.4 "Hicetas" release.

LambdaSharp is a CLI and framework for serverless .NET Core application development on AWS. LambdaSharp uses a simple declarative syntax to generate sophisticated CloudFormation templates that provide simple, yet flexible, deployment options.

The objective of LambdaSharp is to accelerate the development pace of serverless solutions while helping developers adhere consistently to best practices to create scalable, observable, and modular systems.

λ# CLI

Install LambdaSharp CLI

The LambdaSharp CLI is installed as a .NET Global Tool.

dotnet tool install -g LambdaSharp.Tool

Once installed, a deployment tier must be initialized.

lash init --quick-start

Deploy a LambdaSharp Module

Creating modules with Lambda functions and deploying them only requires a few steps.

# Create a new LambdaSharp module
lash new module MySampleModule

# Add a function to the LambdaSharp module
lash new function MyFunction --type generic

# Deploy the LambdaSharp module
lash deploy

The LambdaSharp CLI uses a YAML file to compile the C# projects, upload artifacts, and deploy the CloudFormation stack in one step. The YAML file describes the entire module including the inputs, outputs, variables, resources, and functions.

Module: MySampleModule
Items:

 - Function: MyFunction
   Memory: 128
   Timeout: 30

The C# project contains the Lambda handler.

namespace MySampleModule.MyFunction {

    public class FunctionRequest {

        // add request fields
    }

    public class FunctionResponse {

        // add response fields
    }

    public sealed class Function : ALambdaFunction<FunctionRequest, FunctionResponse> {

        //--- Constructors ---
        public Function() : base(new LambdaSharp.Serialization.LambdaSystemTextJsonSerializer()) { }

        //--- Methods ---
        public override Task InitializeAsync(LambdaConfig config)
            => Task.CompletedTask;

        public override async Task<FunctionResponse> ProcessMessageAsync(FunctionRequest request) {

            // add business logic

            return new FunctionResponse();
        }
    }
}

Learn More

Getting Started

  1. Setup LambdaSharp

Articles

  1. Why LambdaSharp?
  2. Constructors/Destructors for CloudFormation

Samples

  1. Create a Serverless Chat with Cognito, WebSocket, DynamoDB, and Lambda
  2. Create a Static Website with CloudFormation
  3. Create Animated GIFs from Videos with AWS Lambda
  4. Misc. LambdaSharp Samples

References

  1. LambdaSharp CLI Reference
  2. LambdaSharp .NET SDK Reference
  3. LambdaSharp Syntax Reference
  4. LambdaSharp Module IAM Short-hands
  5. Modules
    1. LambdaSharp.Core
    2. LambdaSharp.S3.IO
    3. LambdaSharp.S3.Subscriber
    4. LambdaSharp.Twitter.Query
  6. Resource Types
    1. LambdaSharp::S3::EmptyBucket
    2. LambdaSharp::S3::Subscription
    3. LambdaSharp::S3::Unzip
    4. LambdaSharp::S3::WriteJson

License

Copyright (c) 2018-2022 LambdaSharp (λ#)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].