Start Presentation

Azure FUN-ctions

An Introduction to Serverless Compute
on the .NET Cloud

azure

By me, Kyle Mitofsky, a developer


___aaS

Note: Abstraction + Provider


Concern vs. Control

Con(cern + trol)


Azure


smaller, better, faster


Ecosystem

Azure is Pickle Jar

Tom Hanks Pickle Jar

Note: if you have data, azure wants it. Also plays host to hundreds of SaaS providers


Functions

Events + Code


Triggers


Bindings


Syntactic Sugar

Input & Output


Binding Types


Scaling


Pricing

Azure Pricing


Tooling


CloudTable CRUD

var credentials = new StorageCredentials("<name>", "<account-key>");
var storageAccount = new CloudStorageAccount(credentials, true);
var tableClient = storageAccount.CreateCloudTableClient();
var myTable = tableClient.GetTableReference("<table-name>");

Create

var data = new MyTableEntity() { Name = "Kyle" };
var operation = TableOperation.Insert(data);
var result = await myTable.ExecuteAsync(operation);

Read

var operation = TableOperation.Retrieve<MyTableEntity>("key", id);
var result = await myTable.ExecuteAsync(operation);

Delete

var operation = TableOperation.Delete(myTableEntity);
var result = await myTable.ExecuteAsync(operation);

Demo Time


Resources