Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

Getting Started with AWS Lambda C# Functions

For those of us that are .NET developers at heart, we finally have the ability to run server-less C# applications on AWS! Support for the C# Language in AWS Lambda was announced at AWS re:Invent 2016 (1-Dec-2016). This post is a quick getting started guide to help you get started.

C# support in Lambda requires use of .NET Core targeted assemblies as the Core CLR offers cross platform support enabling the Linux based Lambda infrastructure to execute .NET complied binaries. Lambda accepts the zipped build output of .NET Core targeted class library rather than raw code for C# Lambda fucntions. Function handlers are referenced using he syntax <Assembly Name>::<Fully Qualified Class Name>::<Method Name>. Which in the case of a project with output assembly named "myassembly", a namespace of "myassemblynamespace", a class named "myclass" and a method named "mymethod" would be "myassembly::myassemblynamespace.myclass::mymethod". AWS Provides a project type and tooling through its Toolkit for Visual Studio that enable creation of C# Lambda functions however you can build your own from a standard class library project.

Prerequisites:

  1. Development Environment (See .NET Core Installation Guide)
    • Visual Studio 2015 with Update 3
    • .NET Core Tools
  2. AWS Visual Studio IDE ToolKit
    • AWS SDK for .NET (v3.3.27.0 or greater required)
    • AWS Toolkit for Visual Studio (v1.11.0.0 or greater required)

Required Project References:

  • Amazon.Lambda.Core (Install-Package Amazon.Lambda.Core)
  • Amazon.Lambda.Serialization.Json (Install-Package Amazon.Lambda.Serialization.Json)
  • Amazon.Lambda.Tools (Install-Package Amazon.Lambda.Tools -Pre)

SharePoint Event Receiver Manager (2007 & 2010)

*** UPDATE 12/31/2017: This Project Was Migrated From CodePlex to Github ***

A while back I started looking for a better way to manage event receivers on my SharePoint servers and one thing lead to another until it became my pet project outside of the office. Before I started writing code I found a few things here and there but none of them were particularly polished and they left me wanting more. I started a CodePlex project SharePoint Event Receiver Manager (2007 & 2010) to continue evolving my tool and I've be gradually adding to it ever since.  I invite you, if you have trouble getting a handle on your event receivers, to give it a try and pass it along.



Releases: