This document discusses deploying an ASP.NET Core app on Microsoft Azure. It introduces ASP.NET Core as a new open-source and cross-platform framework for developing modern cloud-based web apps using .NET. It demonstrates publishing an ASP.NET Core app directly to Azure from Visual Studio, using WebDeploy, scripts, and Git for continuous deployment. It also covers deploying to Azure with Docker by creating Docker images and deploying to an Azure Container Service.
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Deploy an Asp.Net Core App on Azure
1. Cloud Development with
Microsoft Azure
Deploy an ASP.NET Core
app on Azure
Michele Aponte
CEO/CTO Blexin Srl - MVP
Presidente DotNetCampania
@apomic80 – http://www.tolist.net - michele.aponte@dotnetcampania.org
2. ASP.NET Core (il “vecchio” ASP.NET
5)
Un nuovo framework open-source
e cross-platform per lo sviluppo di
moderne cloud-based Web
applications usando .NET
3. ASP.NET Core e il Web Moderno
Cross-Platform
Scegli il tuo editor
e i tool
Open Source
con contributi
OSS
Transizioni senza interruzioni
da on-premises al cloud
Ciclo di sviluppo
rapido
Totalmente
modulare
Veloce
4. Asp.Net 5
.NET Framework .NET Core
Full .NET Framework for any scenario and
library support on Windows
Modular libraries & runtime optimized for
server and cloud workloads
5. Asp.Net Core
.NET Framework .NET Core
Full .NET Framework for any scenario and
library support on Windows
Modular libraries & runtime optimized for
server and cloud workloads
9. Deploy su Azure
• Pubblicare direttamente su Azure da Visual Studio
• Usare WebDeploy
• Automatizzare i deploy usando lo script generato
• Usare Kudu/VSTS per fare continuous deployment
• Kudu deploy script fornito insieme a ASP.NET 5 RC1
• Usare GIT per fare continuous deployment
• Molto comodo da Linux o OSX se non si usa VSTS
13. Deploy su Azure con Docker
• Visual Studio Tools for Docker – Preview
• Creazione facilitata di imaggini e deploy verso un Docker host
• https://aka.ms/dockertoollsforvs
• Deploy verso Azure Container Service
• Crazione di soluzione di container hosting usando Apache Mesos o Docker Swarm
• https://aka.ms/azurecontainerservice
14. Domande? Intanto qualche link utile
• Getting started: https://dotnet/github.io
• Latest dev build: https://github.com/dotnet/cli
• Samples: https://github.com/aspnet/cli-samples
• Code: https://github.com/aspnet/home
• Docs: http://docs.asp.net
• Build 2016:
• Introducing Asp.Net Core 1.0: https://channel9.msdn.com/Events/Build/2016/B810
• Asp.Net Core Deep Dive into MVC:
https://channel9.msdn.com/Events/Build/2016/B812
• Deploying ASP.NET Core Applications:
https://channel9.msdn.com/Events/Build/2016/B811
• Corsi su pluralsight:
• Asp.Net Vore 1.0 Fundamentals: http://app.pluralsight.com/courses/aspdotnet-core-1-
0-fundamentals
• Play by Play: ASP.NET Core 1.0 on any OS with John Papa and Shayne Boyer:
https://app.pluralsight.com/library/courses/play-by-play-asp-net-core-1-0-on-any-os-
john-papa-shayne-boyer/table-of-contents