Download presentation
Presentation is loading. Please wait.
1
Azure Functions + NuGet = Superpowers
Teemu Tapanila @TapanilaT
2
Teemu Tapanila Teemu@onsight.fi @TapanilaT Microsoft Azure MVP
Architect, Onsight Helsinki oy Microsoft Certified Trainer @TapanilaT
3
Topics Azure Functions Nuget packages Azure Functions + nuget package
4
What is Azure Functions?
Code Events + data
5
Choice of language run.cmd, run.bat run.exe run.ps1 run.sh run.php
run.py run.js
6
Pricing model Dynamic Dedicated (App Service Plan)
Pay on number of executions Platform responsible for scale Dedicated (App Service Plan) Basic, Standard, Premium Pay based on # of reserved VMs You’re responsible for scale
7
Open source
8
Simple & Flexible
9
Abstraction of servers
Serverless Abstraction of servers Event-driven scale Sub-second billing No access to the servers running your code Code is Event-driven which might be a good or bad thing depending on your load. Billing is by the time you are running instead of time you are listening.
10
Benefits of Serverless
Focus on Business Logic Quick start Managed for you
11
Azure Functions Demo
12
Azure functions limitations?
Source Control Versioning Debugging
13
Azure Functions from visual studio
14
NuGet Allows easily to share code Supports versions Release notes
15
NuGet package creation
Create .net library project Create .nuspec file matching the name into same folder Package and publish nuget package ???? Profit
16
Nuget spec <?xml version="1.0"?> <package> <metadata> <id>IglooConf.Models</id> <version>1.0</version> <title>IglooConf 2017 Models</title> <authors>tapanila</authors> <owners>tapanila</owners> <requireLicenseAcceptance>false</requireLicenseAcceptance> <description>Awesome models for the conference</description> <releaseNotes>Ship it!</releaseNotes> <copyright>Copyright 2017</copyright> <tags>Azure Nuget IglooConf Functions</tags> </metadata> </package>
17
NuGet package creation and publishing
nuget setApiKey {Your-api-key} nuget pack IglooConf.models.csproj nuget push IglooConf.models nupkg -Source
18
Functions + Nuget Demo
19
Topics Azure Functions Nuget packages Azure Functions + nuget package
20
Thank you!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.