Continuous Integration: C# to AWS Lambda

Update (5/28/2017): after I published this post, Norm Johanson tweeted back and recommended using the newly announced dotnet CLI integration for Lambda for deployment. I updated my sample project accordingly and can confirm that this indeed works great with CodeBuild - neat!


End of last year, AWS Lambda, Amazon’s popular Function as a Service (FaaS) offering, announced C# support based on the .NET Core runtime.

Which is neat, because there’s a lot of interesting things you can do with Lambda. One of them is hosting custom skills for Amazon Alexa, Amazon’s voice interface for Echo, for free. I’ll blog about that use case in a later post. (Spoiler alert: “Alexa, any answers to my Stack Overflow questions?”)

One of the first things I like to set up in a new tech ecosystem is a continuous integration (CI) pipeline. This post describes a simple CI setup for C#/.NET Core code to Amazon Lambda.

Read More

Co-variant array conversions

Here’s one of my favorite programming questions: let’s say, in a C# program, we have a parent class

class Book
{
	public void Read() { Console.WriteLine("Reading..."); }
}

and a child class

class EBook : Book
{
    public void Download() {  Console.WriteLine("Downloading... "); }
}
Read More

View older posts...