Skip to content

Files

Latest commit

 

History

History

AzureFunctions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Azure FUN-ctions

An Introduction to Serverless Compute
on the .NET Cloud

azure

By me, Kyle Mitofsky, a developer


___aaS

  • Infastructure (VM)
  • Platform (Container)
  • Functions (micro-service)

Note: Abstraction + Provider

Concern vs. Control

Con(cern + trol)


Azure

smaller, better, faster

  • Virtual Machines
  • Web Apps + Web Jobs
  • Logic Apps + Event Grids
  • Functions

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

  • HTTP
  • Timer
  • Event Grid
  • Blob Storage
  • Table Storage
  • Queue Storage
  • + many many more

Bindings

Syntatic Sugar

Input & Output

Binding Types

  • Http
  • Blob Storage
  • Queue Storage
  • Notification Hubs
  • Twilio
  • Send Grid
  • + many many more

Scaling

  • Resources ✓
  • Architecture ?

Pricing

Azure Pricing


Tooling

  • Visual Studio Code
    • Amazing Extension Market
  • Postman
  • Azure Table Storage Explorer

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