SlideShare a Scribd company logo
1 of 9
ASP.NET Core
un po’ di C#, un pizzico di Linux, Docker quanto
basta e il web è servito
Lorenzo Maiorfi
(Innovactive Engineering)
@maiorfi
Fabrizio Bernabei
(Innovactive Engineering)
@bernabei
#ggentedeCORE
Di cosa parliamo
• ASP.NET 5 ASP.NET Core 1.0
• Uno sguardo per capire cosa è veramente cambiato
• L’immancabile Hello World
• Cosa si può fare effettivamente di nuovo
#ggentedeCORE
ASP.NET 4.6 and ASP.NET Core 1.0
#ggentedeCORE
Lo “scenario” ASP.NET attuale
.NET Framework 4.6 .NET Core 1.0
Full .NET Framework for any scenario and
library support on Windows
Modular libraries & runtime optimized for
server and cloud workloads
#ggentedeCORE
Cos’è ASP.NET Core?
• Un taglio netto rispetto al passato… bye bye System.Web
• Modulare e componentizzabile
• Altamente performante
• Completamente riscritto, basato su .NET Core
• Cross-platform
• Open Source with Contributions
#ggentedeCORE
Andando al sodo…
• ASP.NET Core = runtime + ASP.NET MVC + ASP.NET Web API
• Addio web.config…
• Self-hosted, oppure IIS, oppure…
• Dependency Injection integrate nativamente
• Ambiente di sviluppo a scelta del dev
• Windows: VS2015, o qualsiasi editor/CLI
• OSX: qualsiasi editor/CLI, Visual Studio Code
• Linux: qualsiasi editor/CLI, Visual Studio Code
• http://dot.net
#ggentedeCORE
DEMO
Un progetto Web API con Visual Studio 2015
#ggentedeCORE
TO-DO Web API
API Description Request body
Response
body
GET /api/todo
Get all to-do
items
None
Array of to-do
items
GET
/api/todo/{id}
Get an item by
ID
None To-do item
POST
/api/todo
Add a new
item
To-do item To-do item
PUT
/api/todo/{id}
Update an
existing item
To-do item None
DELETE
/api/todo/{id}
Delete an
item.
None None
GRAZIE!
www.dotnetumbria.org - @DotNetUmbria – facebook.com/DNU2.0

More Related Content

Viewers also liked

Hooking Docker With Selenium
Hooking Docker With SeleniumHooking Docker With Selenium
Hooking Docker With Selenium
Sujith Vakathanam
 

Viewers also liked (9)

Containerd - core container runtime component
Containerd - core container runtime component Containerd - core container runtime component
Containerd - core container runtime component
 
Online Meetup: What's new in docker 1.13.0
Online Meetup: What's new in docker 1.13.0 Online Meetup: What's new in docker 1.13.0
Online Meetup: What's new in docker 1.13.0
 
Hooking Docker With Selenium
Hooking Docker With SeleniumHooking Docker With Selenium
Hooking Docker With Selenium
 
Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker 101 - Nov 2016
Docker 101 - Nov 2016
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
containerd and CRI
containerd and CRIcontainerd and CRI
containerd and CRI
 
containerd summit - Deep Dive into containerd
containerd summit - Deep Dive into containerdcontainerd summit - Deep Dive into containerd
containerd summit - Deep Dive into containerd
 
Driving containerd operations with gRPC
Driving containerd operations with gRPCDriving containerd operations with gRPC
Driving containerd operations with gRPC
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
 

Similar to ASP.NET Core 1.0

Microservices webinar EMEA Aug. 2017
Microservices webinar EMEA Aug. 2017Microservices webinar EMEA Aug. 2017
Microservices webinar EMEA Aug. 2017
MongoDB
 
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e MongodbRealizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
MongoDB
 

Similar to ASP.NET Core 1.0 (20)

Azure dev ops meetup one
Azure dev ops meetup oneAzure dev ops meetup one
Azure dev ops meetup one
 
Creare un Information Radiator con Delphi
Creare un Information Radiator con DelphiCreare un Information Radiator con Delphi
Creare un Information Radiator con Delphi
 
Agileday2013 pratiche agili applicate all'infrastruttura
Agileday2013 pratiche agili applicate all'infrastrutturaAgileday2013 pratiche agili applicate all'infrastruttura
Agileday2013 pratiche agili applicate all'infrastruttura
 
Sviluppare Azure Web Apps
Sviluppare Azure Web AppsSviluppare Azure Web Apps
Sviluppare Azure Web Apps
 
Back to the Future: Migrare da WebForm ad ASP.NET Core gradualmente
Back to the Future: Migrare da WebForm ad ASP.NET Core gradualmente Back to the Future: Migrare da WebForm ad ASP.NET Core gradualmente
Back to the Future: Migrare da WebForm ad ASP.NET Core gradualmente
 
Real world Visual Studio Code
Real world Visual Studio CodeReal world Visual Studio Code
Real world Visual Studio Code
 
CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions
 CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions  CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions
CI CD per .Net 5? Facile con Azure Pipelines e GitHub Actions
 
2014.04.04 Sviluppare applicazioni web (completamente) on line con Visual Stu...
2014.04.04 Sviluppare applicazioni web (completamente) on line con Visual Stu...2014.04.04 Sviluppare applicazioni web (completamente) on line con Visual Stu...
2014.04.04 Sviluppare applicazioni web (completamente) on line con Visual Stu...
 
Da DotNet a DotNetCore
Da DotNet a DotNetCoreDa DotNet a DotNetCore
Da DotNet a DotNetCore
 
Back to Basics webinar 1 IT 17 - Introduzione ai NoSQL
Back to Basics webinar 1 IT 17 - Introduzione ai NoSQLBack to Basics webinar 1 IT 17 - Introduzione ai NoSQL
Back to Basics webinar 1 IT 17 - Introduzione ai NoSQL
 
MongoDB - Back to Basics 2017 - Introduzione a NoSQL
MongoDB - Back to Basics 2017 - Introduzione a NoSQLMongoDB - Back to Basics 2017 - Introduzione a NoSQL
MongoDB - Back to Basics 2017 - Introduzione a NoSQL
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
 
ALM Revolutions - What's new in visual studio ALM 11
ALM Revolutions - What's new in visual studio ALM 11ALM Revolutions - What's new in visual studio ALM 11
ALM Revolutions - What's new in visual studio ALM 11
 
Applicazioni HTML5 Superveloci - Salvatore Romeo
Applicazioni HTML5 Superveloci - Salvatore RomeoApplicazioni HTML5 Superveloci - Salvatore Romeo
Applicazioni HTML5 Superveloci - Salvatore Romeo
 
Tile server
Tile serverTile server
Tile server
 
Node and the Cloud
Node and the CloudNode and the Cloud
Node and the Cloud
 
.NET & Linux: la strana coppia - DotNetDay 2018
.NET & Linux: la strana coppia - DotNetDay 2018.NET & Linux: la strana coppia - DotNetDay 2018
.NET & Linux: la strana coppia - DotNetDay 2018
 
Microservices webinar EMEA Aug. 2017
Microservices webinar EMEA Aug. 2017Microservices webinar EMEA Aug. 2017
Microservices webinar EMEA Aug. 2017
 
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e MongodbRealizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
 
Containerized Liferay
Containerized LiferayContainerized Liferay
Containerized Liferay
 

More from Fabrizio Bernabei

Mokapp2014 Lab Universal App
Mokapp2014 Lab Universal AppMokapp2014 Lab Universal App
Mokapp2014 Lab Universal App
Fabrizio Bernabei
 
ASP.NET Ajax Community Launch VS2008
ASP.NET Ajax Community Launch VS2008ASP.NET Ajax Community Launch VS2008
ASP.NET Ajax Community Launch VS2008
Fabrizio Bernabei
 
Roadmap pubblicazione app WP7 - Community Tour 2011 DotNetUmbria
Roadmap pubblicazione app WP7 - Community Tour 2011 DotNetUmbriaRoadmap pubblicazione app WP7 - Community Tour 2011 DotNetUmbria
Roadmap pubblicazione app WP7 - Community Tour 2011 DotNetUmbria
Fabrizio Bernabei
 
MS Days 08 Applicazioni RIA con Silverlight 2 e WCF
MS Days 08 Applicazioni RIA con Silverlight 2 e WCFMS Days 08 Applicazioni RIA con Silverlight 2 e WCF
MS Days 08 Applicazioni RIA con Silverlight 2 e WCF
Fabrizio Bernabei
 

More from Fabrizio Bernabei (11)

Sviluppare SPA con Vue
Sviluppare SPA con VueSviluppare SPA con Vue
Sviluppare SPA con Vue
 
Sviluppare SPA con Vue.js
Sviluppare SPA con Vue.jsSviluppare SPA con Vue.js
Sviluppare SPA con Vue.js
 
Introduzione a React Native - Mokapp 2017
Introduzione a React Native - Mokapp 2017Introduzione a React Native - Mokapp 2017
Introduzione a React Native - Mokapp 2017
 
Dnu2015
Dnu2015Dnu2015
Dnu2015
 
Tutti pronti per Windows 10?
Tutti pronti per Windows 10?Tutti pronti per Windows 10?
Tutti pronti per Windows 10?
 
Mokapp2014 Lab Universal App
Mokapp2014 Lab Universal AppMokapp2014 Lab Universal App
Mokapp2014 Lab Universal App
 
mokapp - Applicazioni fotografiche con Windows Phone 8
mokapp - Applicazioni fotografiche con Windows Phone 8mokapp - Applicazioni fotografiche con Windows Phone 8
mokapp - Applicazioni fotografiche con Windows Phone 8
 
ASP.NET Ajax Community Launch VS2008
ASP.NET Ajax Community Launch VS2008ASP.NET Ajax Community Launch VS2008
ASP.NET Ajax Community Launch VS2008
 
Roadmap pubblicazione app WP7 - Community Tour 2011 DotNetUmbria
Roadmap pubblicazione app WP7 - Community Tour 2011 DotNetUmbriaRoadmap pubblicazione app WP7 - Community Tour 2011 DotNetUmbria
Roadmap pubblicazione app WP7 - Community Tour 2011 DotNetUmbria
 
MS Days 08 Applicazioni RIA con Silverlight 2 e WCF
MS Days 08 Applicazioni RIA con Silverlight 2 e WCFMS Days 08 Applicazioni RIA con Silverlight 2 e WCF
MS Days 08 Applicazioni RIA con Silverlight 2 e WCF
 
Asp.net 4 Community Tour VS2010
Asp.net 4 Community Tour VS2010Asp.net 4 Community Tour VS2010
Asp.net 4 Community Tour VS2010
 

ASP.NET Core 1.0

  • 1. ASP.NET Core un po’ di C#, un pizzico di Linux, Docker quanto basta e il web è servito Lorenzo Maiorfi (Innovactive Engineering) @maiorfi Fabrizio Bernabei (Innovactive Engineering) @bernabei
  • 2. #ggentedeCORE Di cosa parliamo • ASP.NET 5 ASP.NET Core 1.0 • Uno sguardo per capire cosa è veramente cambiato • L’immancabile Hello World • Cosa si può fare effettivamente di nuovo
  • 3. #ggentedeCORE ASP.NET 4.6 and ASP.NET Core 1.0
  • 4. #ggentedeCORE Lo “scenario” ASP.NET attuale .NET Framework 4.6 .NET Core 1.0 Full .NET Framework for any scenario and library support on Windows Modular libraries & runtime optimized for server and cloud workloads
  • 5. #ggentedeCORE Cos’è ASP.NET Core? • Un taglio netto rispetto al passato… bye bye System.Web • Modulare e componentizzabile • Altamente performante • Completamente riscritto, basato su .NET Core • Cross-platform • Open Source with Contributions
  • 6. #ggentedeCORE Andando al sodo… • ASP.NET Core = runtime + ASP.NET MVC + ASP.NET Web API • Addio web.config… • Self-hosted, oppure IIS, oppure… • Dependency Injection integrate nativamente • Ambiente di sviluppo a scelta del dev • Windows: VS2015, o qualsiasi editor/CLI • OSX: qualsiasi editor/CLI, Visual Studio Code • Linux: qualsiasi editor/CLI, Visual Studio Code • http://dot.net
  • 7. #ggentedeCORE DEMO Un progetto Web API con Visual Studio 2015
  • 8. #ggentedeCORE TO-DO Web API API Description Request body Response body GET /api/todo Get all to-do items None Array of to-do items GET /api/todo/{id} Get an item by ID None To-do item POST /api/todo Add a new item To-do item To-do item PUT /api/todo/{id} Update an existing item To-do item None DELETE /api/todo/{id} Delete an item. None None

Editor's Notes

  1. In questa sessione non ci concentriamo sull’implementazione (codice mvc o webapi, nuove funzionalità quali taghelper ecc) ma sulla struttura del progetto e del framework