SlideShare a Scribd company logo
Welcome to .NET Conf!
by DotNetToscana
CICD per .NET 5?
Facile con Azure Pipelines e
GitHub Actions
Davide Benvegnu
DevOps Architect – Microsoft + Github
DevOps Architect – Microsoft + GitHub
n3wt0n@github.com
Davide.Benvegnu@microsoft.com
youtube.com/CoderDave
@DavideBenvegnu
github.com/n3wt0n
linkedin.com/in/davidebenvegnu
Parliamo di CI CD
Alcuni vantaggi di .NET 5
Multipiattaforma
• .NET Core era già multipiattaforma
• .NET 5 lo è ancora di più
• Maggiore supporto di sistemi operativi di ogni altra versione
di .NET e .NET Core
• Per CICD, build e deploy virtualmente su qualsiasi agent o
host
Multipiattaforma - Windows
Multipiattaforma - Linux
Multipiattaforma - macOS
Containers
• .NET 5 è ottimizzato per i container
• Ottimizzazioni interne (aka low level nel runtime)
• Ottimizzazioni “esterne” (aka container image)
• Riduzione della dimensione del runtime
• Re-base delle immagini del SDK su base Asp.Net runtime
Containers
• Immagine SDK ridotta di
30-65Mb
• Immagine Runtime ridotta
alle sole dimensioni del
manifest
• In generale, multistage build
-30% / -40%
Containers
• Download più veloce
• Meno storage richiesto
• Startup delle applicazioni from scratch più rapido
Azure Devops & GitHub
Pipelines
• .NET 5 non ancora “a bordo”
agent Linux ma disponibile
su Windows (con VS 16.8)
• Task “Use .NET Core”
– v 5.0.100
Actions
• NET 5 non ancora “a bordo”
agent Linux ma disponibile
su Windows
• Verrà installato su tutti gli
agent dal 14 Dicembre
• Action “Setup .NET Core
SDK” – v 5.0.100
DEMO
CICD con GitHub Actions e Azure Pipelines
Recap
• .NET 5 è realmente multipiattaforma – gira “ovunque”
• .NET 5 è ottimizzato per i container
• A livello runtime
• Immagini più piccole, ottimizzate per multistage build
• Pipelines & Actions:
• .NET 5 compila senza problemi
• Disponibile da GA su agent Windows
• Disponibile su agent Linux / macOS a partire da 14 dicembre
https://youtu.be/-2LcsiXLw88
SUBSCRIBE to https://youtube.com/CoderDave
Thanks for joining!
Ask questions on Twitter using #dotNETConf

More Related Content

PPTX
Monitoring Applications in AKS
PPTX
Nat come esporre servizi https senza esporre l'applicazione
PPTX
Nat come esporre servizi https senza esporre l'applicazione
PDF
AWS CDK infrastructure is code
PPTX
Real world Visual Studio Code
PPTX
PaaS opportunities in Azure
PPTX
Azure Web Apps: portare il tuo sito sul cloud
PPTX
Azure DocumentDb
Monitoring Applications in AKS
Nat come esporre servizi https senza esporre l'applicazione
Nat come esporre servizi https senza esporre l'applicazione
AWS CDK infrastructure is code
Real world Visual Studio Code
PaaS opportunities in Azure
Azure Web Apps: portare il tuo sito sul cloud
Azure DocumentDb

What's hot (11)

PPTX
Moving from Monolithic to Microservice Architecture: an OSS based stack deplo...
PDF
Meetup ASP.NET Core 2 e Docker
PDF
La sicurezza1
PDF
Meetup Azure DevOps
PPTX
Mobile services multi-piattaforma con Xamarin
PDF
Kubernetes Core Concepts
PPTX
La mia prima lezione di pozioni
PPTX
Microsoft Application Insights
PDF
Ridefinire il concetto di Trasformazione Digitale. Dagli acceleratori grafici...
PDF
ASP.NET Core essentials
PPTX
COSTRUISCI IL TUO DEVICE
Moving from Monolithic to Microservice Architecture: an OSS based stack deplo...
Meetup ASP.NET Core 2 e Docker
La sicurezza1
Meetup Azure DevOps
Mobile services multi-piattaforma con Xamarin
Kubernetes Core Concepts
La mia prima lezione di pozioni
Microsoft Application Insights
Ridefinire il concetto di Trasformazione Digitale. Dagli acceleratori grafici...
ASP.NET Core essentials
COSTRUISCI IL TUO DEVICE
Ad

Similar to CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions (6)

PDF
Devops, Cloud e Container
PDF
Meetup Azure DevOps
PPTX
ASP.NET Core Services e Linux per il Mobile - Pietro Libro - Codemotion Rome...
PPTX
.NET Core, ASP.NET Core e Linux per il Mobile
PPTX
MattiaBeltrano_azurePipelines.pptx
PDF
CI/CD - Presentazione Introduttiva
Devops, Cloud e Container
Meetup Azure DevOps
ASP.NET Core Services e Linux per il Mobile - Pietro Libro - Codemotion Rome...
.NET Core, ASP.NET Core e Linux per il Mobile
MattiaBeltrano_azurePipelines.pptx
CI/CD - Presentazione Introduttiva
Ad

More from Davide Benvegnù (20)

PPTX
DevSecOps Done Right - Strategies and Tools.pptx
PPTX
Secure Your Open Source Projects For Free
PPTX
Microsoft Skills Bootcamp - The power of GitHub and Azure
PPTX
All Around Azure: DevOps with GitHub - Managing the Flow of Work
PPTX
GitHub Actions: your free CI engine (and much more)
PPTX
Life of a Remote Developer - Productivity tips (MSBuild 2020)
PPTX
Consolidating Infrastructure with Azure Kubernetes Service - MS Online Tech F...
PPTX
Debugging and Interacting with Production Applications - MS Online Tech Forum
PPTX
Architect your app modernization journey with containers on Microsoft Azure
PPTX
Build 2019 HK - Deep Dive notable announcements
PPTX
How I choose which services to use in Azure
PPTX
Secure your applications with Azure AD and Key Vault
PPTX
Microservices with Azure Service Fabric
PPTX
Develop a Serverless Integration Platform for the Enterprise
PPTX
.NET microservices with Azure Service Fabric
PPTX
SharePoint Disaster Recovery in Microsoft Azure
PPTX
Microsoft TechSummit - Deploy your Solution to IaaS and PaaS with VSTS and Az...
PPTX
VS2017PI - Le novità di visual studio team services
PPTX
Accelerate Your Bot Development with DevOps
PPTX
Microsoft <3 Open Source
DevSecOps Done Right - Strategies and Tools.pptx
Secure Your Open Source Projects For Free
Microsoft Skills Bootcamp - The power of GitHub and Azure
All Around Azure: DevOps with GitHub - Managing the Flow of Work
GitHub Actions: your free CI engine (and much more)
Life of a Remote Developer - Productivity tips (MSBuild 2020)
Consolidating Infrastructure with Azure Kubernetes Service - MS Online Tech F...
Debugging and Interacting with Production Applications - MS Online Tech Forum
Architect your app modernization journey with containers on Microsoft Azure
Build 2019 HK - Deep Dive notable announcements
How I choose which services to use in Azure
Secure your applications with Azure AD and Key Vault
Microservices with Azure Service Fabric
Develop a Serverless Integration Platform for the Enterprise
.NET microservices with Azure Service Fabric
SharePoint Disaster Recovery in Microsoft Azure
Microsoft TechSummit - Deploy your Solution to IaaS and PaaS with VSTS and Az...
VS2017PI - Le novità di visual studio team services
Accelerate Your Bot Development with DevOps
Microsoft <3 Open Source

CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions

  • 1. Welcome to .NET Conf! by DotNetToscana
  • 2. CICD per .NET 5? Facile con Azure Pipelines e GitHub Actions Davide Benvegnu DevOps Architect – Microsoft + Github
  • 3. DevOps Architect – Microsoft + GitHub n3wt0n@github.com Davide.Benvegnu@microsoft.com youtube.com/CoderDave @DavideBenvegnu github.com/n3wt0n linkedin.com/in/davidebenvegnu
  • 4. Parliamo di CI CD Alcuni vantaggi di .NET 5
  • 5. Multipiattaforma • .NET Core era già multipiattaforma • .NET 5 lo è ancora di più • Maggiore supporto di sistemi operativi di ogni altra versione di .NET e .NET Core • Per CICD, build e deploy virtualmente su qualsiasi agent o host
  • 9. Containers • .NET 5 è ottimizzato per i container • Ottimizzazioni interne (aka low level nel runtime) • Ottimizzazioni “esterne” (aka container image) • Riduzione della dimensione del runtime • Re-base delle immagini del SDK su base Asp.Net runtime
  • 10. Containers • Immagine SDK ridotta di 30-65Mb • Immagine Runtime ridotta alle sole dimensioni del manifest • In generale, multistage build -30% / -40%
  • 11. Containers • Download più veloce • Meno storage richiesto • Startup delle applicazioni from scratch più rapido
  • 12. Azure Devops & GitHub Pipelines • .NET 5 non ancora “a bordo” agent Linux ma disponibile su Windows (con VS 16.8) • Task “Use .NET Core” – v 5.0.100 Actions • NET 5 non ancora “a bordo” agent Linux ma disponibile su Windows • Verrà installato su tutti gli agent dal 14 Dicembre • Action “Setup .NET Core SDK” – v 5.0.100
  • 13. DEMO CICD con GitHub Actions e Azure Pipelines
  • 14. Recap • .NET 5 è realmente multipiattaforma – gira “ovunque” • .NET 5 è ottimizzato per i container • A livello runtime • Immagini più piccole, ottimizzate per multistage build • Pipelines & Actions: • .NET 5 compila senza problemi • Disponibile da GA su agent Windows • Disponibile su agent Linux / macOS a partire da 14 dicembre
  • 16. Thanks for joining! Ask questions on Twitter using #dotNETConf

Editor's Notes

  • #17: Thanks for joining us! Have a great conference!