SlideShare ist ein Scribd-Unternehmen logo
1 von 31
DotNetAbruzzo
.NET Day
#netday15
05 Febbraio 2015
marco.minerva@gmail.com
Blog:
http://marcominerva.wordpress.com
Twitter: @marcominerva
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
Model
View
Controller
1
5
2
4
3B
r
o
w
s
e
r
The request hits the
controller
The Controller asks
the Model for data
The Model gives the
data back to the
Controller
The controller formats the data
and passes them to the View
The view renders the
HTML that needs to be
sent to the client
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
.NET Day #netday15
Microsoft Azure
Introduzione ragionata per sviluppatori .NET
.NET Day #netday15
Huge infrastructure scale is the enabler
19 Regions ONLINE…huge datacenter capacity around the world…and we’re growing
Central US
Iowa
West US
California
North Europe
Ireland
East US
Virginia
East US 2
Virginia
US Gov
Virginia
North Central US
Illinois
US Gov
Iowa
South Central US
Texas
Brazil South
Sao Paulo
West Europe
Netherlands
China North *
Beijing
China South *
Shanghai
Japan East
Saitama
Japan West
OsakaIndia West
TBD
India East
TBD
East Asia
Hong Kong
SE Asia
Singapore
Australia West
Melbourne
Australia East
Sydney
 100+ datacenters
 Top 3 networks in the world
 2x AWS, 6x Google DC Regions
 G Series – Largest VM in World, 32 cores, 448GB Ram, SSD… Operational Announced * Operated by 21Vianet
23
Microsoft Azure Web Sites
Crea nuovi siti Web in pochi secondi
Gestisci e scala i tuoi siti con facilità
Load balancing automatico
Utilizza istanze riservate per
aumentare le performance e la
scalabilità
Supporto per attività schedulate
(Web jobs)
Utilizza ASP.NET, ASP, PHP, Java o
Node.js
Database SQL Azure o MySQL
Supporto ad applicazioni e
framework open source
Sviluppa con Visual Studio e
WebMatrix
Supporta tool di sviluppo Web su
ogni piattaforma (Windows, OSX e
Linux)
Integrazione con source control
come Team Foundation Server e
Git
Supporto per l’analisi dell’utilizzo e
delle performance
Accesso veloce a log, richieste e
diagnostica
• Database SQL Server as a service
• Completamente gestito
• Scalabile
• Cross Datacenter failover e backup per
supportare scenari di disaster recovery
SQL Azure
• Storage as a service
• Completamente gestito
• Replica automatica dei dati
Azure Storage
Mobile Services
Storage
Authentication
Logic
Push
Scheduler
• Fornisce i servizi di base per lo
sviluppo di applicazioni client
• Client supportati
• iOS
• Android
• HTML5/Web
• Xamarin
• Windows
• Windows Phone
• PhoneGap
• Sencha
Azure Portal
manage.windowsazure.com
Azure Management Portal (Preview)
portal.azure.com
.NET Day #netday15
Provare Azure
• 150 € di credito validi per un mese
• Utilizzabili con tutti i servizi di Azure
• Una serie di risorse utilizzabili gratuitamente
http://azure.microsoft.com/it-it/pricing/free-trial
+
.NET Day #netday15
http://www.asp.net
http://www.asp.net/web-api
http://www.asp.net/signalr
http://azure.microsoft.com

Weitere ähnliche Inhalte

Was ist angesagt?

Clustering versus Always On Support: the battle (Peter Borremans @ Codit's B...
Clustering versus Always On Support: the battle (Peter Borremans @ Codit's B...Clustering versus Always On Support: the battle (Peter Borremans @ Codit's B...
Clustering versus Always On Support: the battle (Peter Borremans @ Codit's B...Codit
 
Top Node.JS Frameworks to Look at in 2020
Top Node.JS Frameworks to Look at in 2020Top Node.JS Frameworks to Look at in 2020
Top Node.JS Frameworks to Look at in 2020Roshani Patel
 
Easy HTML5 Data Visualization with Kendo UI DataViz
Easy HTML5 Data Visualization with Kendo UI DataVizEasy HTML5 Data Visualization with Kendo UI DataViz
Easy HTML5 Data Visualization with Kendo UI DataVizLohith Goudagere Nagaraj
 
Event Sourcing your Angular and React applications
Event Sourcing your Angular and React applicationsEvent Sourcing your Angular and React applications
Event Sourcing your Angular and React applicationsMaurice De Beijer [MVP]
 
Servers? Where we're going we don't need servers.
Servers? Where we're going we don't need servers.Servers? Where we're going we don't need servers.
Servers? Where we're going we don't need servers.drnugent
 
MICRO-FRONTEND - WEB COMPONENT APPROACH
MICRO-FRONTEND - WEB COMPONENT APPROACHMICRO-FRONTEND - WEB COMPONENT APPROACH
MICRO-FRONTEND - WEB COMPONENT APPROACHAndrea Campaci
 
React - Redux applications & Event Sourcing
React - Redux applications & Event SourcingReact - Redux applications & Event Sourcing
React - Redux applications & Event SourcingMaurice De Beijer [MVP]
 
Event-Sourcing your React-Redux applications at HolyJS 2016
Event-Sourcing your React-Redux applications at HolyJS 2016Event-Sourcing your React-Redux applications at HolyJS 2016
Event-Sourcing your React-Redux applications at HolyJS 2016Maurice De Beijer [MVP]
 
Collab365 Global Summit Slides
Collab365 Global Summit SlidesCollab365 Global Summit Slides
Collab365 Global Summit SlidesRick Van Rousselt
 
Buzzwords: Microservices, containers and serverless - real life applications ...
Buzzwords: Microservices, containers and serverless - real life applications ...Buzzwords: Microservices, containers and serverless - real life applications ...
Buzzwords: Microservices, containers and serverless - real life applications ...drnugent
 
Event-Sourcing your React-Redux applications
Event-Sourcing your React-Redux applicationsEvent-Sourcing your React-Redux applications
Event-Sourcing your React-Redux applicationsMaurice De Beijer [MVP]
 
Event sourcing your React-Flux applications
Event sourcing your React-Flux applicationsEvent sourcing your React-Flux applications
Event sourcing your React-Flux applicationsMaurice De Beijer [MVP]
 
5 'Real-world' Reasons to Go Headless by Devotion
5 'Real-world' Reasons to Go Headless by Devotion5 'Real-world' Reasons to Go Headless by Devotion
5 'Real-world' Reasons to Go Headless by DevotionKentico Software
 
Hybrid Integration using BizTalk and Azure
Hybrid Integration using BizTalk and AzureHybrid Integration using BizTalk and Azure
Hybrid Integration using BizTalk and AzureBizTalk360
 
Net core path by Ibon Landa
Net core path by Ibon LandaNet core path by Ibon Landa
Net core path by Ibon LandaPlain Concepts
 
Event-Sourcing your React-Redux applications
Event-Sourcing your React-Redux applicationsEvent-Sourcing your React-Redux applications
Event-Sourcing your React-Redux applicationsMaurice De Beijer [MVP]
 
Mobilizing Your SAP Data with Kendo UI Mobile
Mobilizing Your SAP Data with Kendo UI MobileMobilizing Your SAP Data with Kendo UI Mobile
Mobilizing Your SAP Data with Kendo UI MobileLohith Goudagere Nagaraj
 
Create A Mapping Web Part
Create A Mapping Web PartCreate A Mapping Web Part
Create A Mapping Web PartTom Resing
 

Was ist angesagt? (20)

Clustering versus Always On Support: the battle (Peter Borremans @ Codit's B...
Clustering versus Always On Support: the battle (Peter Borremans @ Codit's B...Clustering versus Always On Support: the battle (Peter Borremans @ Codit's B...
Clustering versus Always On Support: the battle (Peter Borremans @ Codit's B...
 
Top Node.JS Frameworks to Look at in 2020
Top Node.JS Frameworks to Look at in 2020Top Node.JS Frameworks to Look at in 2020
Top Node.JS Frameworks to Look at in 2020
 
Easy HTML5 Data Visualization with Kendo UI DataViz
Easy HTML5 Data Visualization with Kendo UI DataVizEasy HTML5 Data Visualization with Kendo UI DataViz
Easy HTML5 Data Visualization with Kendo UI DataViz
 
Scaffolding in One Asp.Net
Scaffolding in One Asp.NetScaffolding in One Asp.Net
Scaffolding in One Asp.Net
 
Event Sourcing your Angular and React applications
Event Sourcing your Angular and React applicationsEvent Sourcing your Angular and React applications
Event Sourcing your Angular and React applications
 
Servers? Where we're going we don't need servers.
Servers? Where we're going we don't need servers.Servers? Where we're going we don't need servers.
Servers? Where we're going we don't need servers.
 
MICRO-FRONTEND - WEB COMPONENT APPROACH
MICRO-FRONTEND - WEB COMPONENT APPROACHMICRO-FRONTEND - WEB COMPONENT APPROACH
MICRO-FRONTEND - WEB COMPONENT APPROACH
 
React - Redux applications & Event Sourcing
React - Redux applications & Event SourcingReact - Redux applications & Event Sourcing
React - Redux applications & Event Sourcing
 
Event-Sourcing your React-Redux applications at HolyJS 2016
Event-Sourcing your React-Redux applications at HolyJS 2016Event-Sourcing your React-Redux applications at HolyJS 2016
Event-Sourcing your React-Redux applications at HolyJS 2016
 
Collab365 Global Summit Slides
Collab365 Global Summit SlidesCollab365 Global Summit Slides
Collab365 Global Summit Slides
 
Buzzwords: Microservices, containers and serverless - real life applications ...
Buzzwords: Microservices, containers and serverless - real life applications ...Buzzwords: Microservices, containers and serverless - real life applications ...
Buzzwords: Microservices, containers and serverless - real life applications ...
 
Event-Sourcing your React-Redux applications
Event-Sourcing your React-Redux applicationsEvent-Sourcing your React-Redux applications
Event-Sourcing your React-Redux applications
 
Event sourcing your React-Flux applications
Event sourcing your React-Flux applicationsEvent sourcing your React-Flux applications
Event sourcing your React-Flux applications
 
5 'Real-world' Reasons to Go Headless by Devotion
5 'Real-world' Reasons to Go Headless by Devotion5 'Real-world' Reasons to Go Headless by Devotion
5 'Real-world' Reasons to Go Headless by Devotion
 
React.js + azure signal r
React.js  + azure signal r React.js  + azure signal r
React.js + azure signal r
 
Hybrid Integration using BizTalk and Azure
Hybrid Integration using BizTalk and AzureHybrid Integration using BizTalk and Azure
Hybrid Integration using BizTalk and Azure
 
Net core path by Ibon Landa
Net core path by Ibon LandaNet core path by Ibon Landa
Net core path by Ibon Landa
 
Event-Sourcing your React-Redux applications
Event-Sourcing your React-Redux applicationsEvent-Sourcing your React-Redux applications
Event-Sourcing your React-Redux applications
 
Mobilizing Your SAP Data with Kendo UI Mobile
Mobilizing Your SAP Data with Kendo UI MobileMobilizing Your SAP Data with Kendo UI Mobile
Mobilizing Your SAP Data with Kendo UI Mobile
 
Create A Mapping Web Part
Create A Mapping Web PartCreate A Mapping Web Part
Create A Mapping Web Part
 

Andere mochten auch

BBJ Media Agency
BBJ Media AgencyBBJ Media Agency
BBJ Media Agencyguestde5725
 
SEO: Search Engine Optimization (slide del TT Tourism 2014)
SEO: Search Engine Optimization (slide del TT Tourism 2014)SEO: Search Engine Optimization (slide del TT Tourism 2014)
SEO: Search Engine Optimization (slide del TT Tourism 2014)Alessandro Mazzù
 
Esedigital presentazione dei servizi della web agency
Esedigital presentazione dei servizi della web agencyEsedigital presentazione dei servizi della web agency
Esedigital presentazione dei servizi della web agencyEsedigitalWebAgency
 
Web marketing e turismo presentazione dei servizi
Web marketing e turismo presentazione dei serviziWeb marketing e turismo presentazione dei servizi
Web marketing e turismo presentazione dei serviziSara Fiorentino
 
Web Domus Italia - Guida ai servizi
Web Domus Italia - Guida ai servizi Web Domus Italia - Guida ai servizi
Web Domus Italia - Guida ai servizi Web Domus
 
Modello "Preventivo web design - scheda preliminare"
Modello "Preventivo web design - scheda preliminare"Modello "Preventivo web design - scheda preliminare"
Modello "Preventivo web design - scheda preliminare"Artlandis' Webinar & Workshop
 

Andere mochten auch (7)

BBJ Media Agency
BBJ Media AgencyBBJ Media Agency
BBJ Media Agency
 
SEO: Search Engine Optimization (slide del TT Tourism 2014)
SEO: Search Engine Optimization (slide del TT Tourism 2014)SEO: Search Engine Optimization (slide del TT Tourism 2014)
SEO: Search Engine Optimization (slide del TT Tourism 2014)
 
Esedigital presentazione dei servizi della web agency
Esedigital presentazione dei servizi della web agencyEsedigital presentazione dei servizi della web agency
Esedigital presentazione dei servizi della web agency
 
Web marketing e turismo presentazione dei servizi
Web marketing e turismo presentazione dei serviziWeb marketing e turismo presentazione dei servizi
Web marketing e turismo presentazione dei servizi
 
Web Domus Italia - Guida ai servizi
Web Domus Italia - Guida ai servizi Web Domus Italia - Guida ai servizi
Web Domus Italia - Guida ai servizi
 
Simple Agency
Simple AgencySimple Agency
Simple Agency
 
Modello "Preventivo web design - scheda preliminare"
Modello "Preventivo web design - scheda preliminare"Modello "Preventivo web design - scheda preliminare"
Modello "Preventivo web design - scheda preliminare"
 

Ähnlich wie Introduzione a web e servizi con .net e azure

NET Developer - Piyush Patel
NET Developer - Piyush PatelNET Developer - Piyush Patel
NET Developer - Piyush PatelPiyush Patel
 
Microsoft Azure: Deploy and Scale Modern Websites
Microsoft Azure: Deploy and Scale Modern WebsitesMicrosoft Azure: Deploy and Scale Modern Websites
Microsoft Azure: Deploy and Scale Modern WebsitesWinWire Technologies Inc
 
Why and How SmartNews uses SaaS?
Why and How SmartNews uses SaaS?Why and How SmartNews uses SaaS?
Why and How SmartNews uses SaaS?Takumi Sakamoto
 
Aftab Jahangeer_Dot Net
Aftab Jahangeer_Dot NetAftab Jahangeer_Dot Net
Aftab Jahangeer_Dot NetAftab Jahangir
 
Victor Boba Resume
Victor Boba ResumeVictor Boba Resume
Victor Boba Resumevictorboba
 
Global Azure 2024 - On-Premises to Azure Cloud: .NET Web App Journey
Global Azure 2024 - On-Premises to Azure Cloud: .NET Web App JourneyGlobal Azure 2024 - On-Premises to Azure Cloud: .NET Web App Journey
Global Azure 2024 - On-Premises to Azure Cloud: .NET Web App JourneyCallon Campbell
 
Rob Venable - Developer
Rob Venable - DeveloperRob Venable - Developer
Rob Venable - DeveloperRob Venable
 
Building and Delivering Reports from your Web and Mobile Apps with Telerik Re...
Building and Delivering Reports from your Web and Mobile Apps with Telerik Re...Building and Delivering Reports from your Web and Mobile Apps with Telerik Re...
Building and Delivering Reports from your Web and Mobile Apps with Telerik Re...Lohith Goudagere Nagaraj
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsMichaela Murray
 
Khushali Patel-resume-
Khushali Patel-resume-Khushali Patel-resume-
Khushali Patel-resume-Khushali11
 

Ähnlich wie Introduzione a web e servizi con .net e azure (20)

NET Developer - Piyush Patel
NET Developer - Piyush PatelNET Developer - Piyush Patel
NET Developer - Piyush Patel
 
Microsoft Azure: Deploy and Scale Modern Websites
Microsoft Azure: Deploy and Scale Modern WebsitesMicrosoft Azure: Deploy and Scale Modern Websites
Microsoft Azure: Deploy and Scale Modern Websites
 
KhajavaliShaik
KhajavaliShaikKhajavaliShaik
KhajavaliShaik
 
Why and How SmartNews uses SaaS?
Why and How SmartNews uses SaaS?Why and How SmartNews uses SaaS?
Why and How SmartNews uses SaaS?
 
Trinada pabolu profile
Trinada pabolu profileTrinada pabolu profile
Trinada pabolu profile
 
Aftab Jahangeer_Dot Net
Aftab Jahangeer_Dot NetAftab Jahangeer_Dot Net
Aftab Jahangeer_Dot Net
 
Kumar_Resume - LinkedIn
Kumar_Resume - LinkedInKumar_Resume - LinkedIn
Kumar_Resume - LinkedIn
 
harish_resume
harish_resumeharish_resume
harish_resume
 
Victor Boba Resume
Victor Boba ResumeVictor Boba Resume
Victor Boba Resume
 
Arun Kumar(7.8Yrs).DOC
Arun Kumar(7.8Yrs).DOCArun Kumar(7.8Yrs).DOC
Arun Kumar(7.8Yrs).DOC
 
Windows Azure
Windows AzureWindows Azure
Windows Azure
 
Trinada pabolu profile
Trinada pabolu profileTrinada pabolu profile
Trinada pabolu profile
 
Global Azure 2024 - On-Premises to Azure Cloud: .NET Web App Journey
Global Azure 2024 - On-Premises to Azure Cloud: .NET Web App JourneyGlobal Azure 2024 - On-Premises to Azure Cloud: .NET Web App Journey
Global Azure 2024 - On-Premises to Azure Cloud: .NET Web App Journey
 
Rob Venable - Developer
Rob Venable - DeveloperRob Venable - Developer
Rob Venable - Developer
 
10052016114313.pptx
10052016114313.pptx10052016114313.pptx
10052016114313.pptx
 
Microsoft Azure
Microsoft AzureMicrosoft Azure
Microsoft Azure
 
Building and Delivering Reports from your Web and Mobile Apps with Telerik Re...
Building and Delivering Reports from your Web and Mobile Apps with Telerik Re...Building and Delivering Reports from your Web and Mobile Apps with Telerik Re...
Building and Delivering Reports from your Web and Mobile Apps with Telerik Re...
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT Solutions
 
SRINATH RESUME
SRINATH RESUMESRINATH RESUME
SRINATH RESUME
 
Khushali Patel-resume-
Khushali Patel-resume-Khushali Patel-resume-
Khushali Patel-resume-
 

Kürzlich hochgeladen

FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRnishacall1
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Pooja Nehwal
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceanilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceanilsa9823
 
9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7Pooja Nehwal
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPsychicRuben LoveSpells
 

Kürzlich hochgeladen (7)

FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
 
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
 
9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
 

Introduzione a web e servizi con .net e azure

Hinweis der Redaktion

  1. Innanzi tutto, capiremo cosa si intende per il cosiddetto «Ecosistema Web» di Microsoft, ovvero tutti gli strumenti che abbiamo a disposizione per creare e rendere fruibili contenuti attraverso Internet. Perché, come vedremo, non abbiamo solo a che fare con i classici siti Internet, che è la prima cosa a cui si pensa quando si parla di Web, ma come vedremo c’è molto di più.
  2. Ecosistema Web nel mondo Microsoft significa ASP.NET, ma questo nome comprende un nutrito numero di framework e strumenti che abbiamo a disposizione per creare soluzioni (e quindi non solo siti, come abbiamo detto) che saranno accessibili attraverso Internet. Li vediamo schematizzati in questa slide. Sopra quello che è il core, ASP.NET, poggiano sia una serie di framework per la creazione di siti veri e propri, sia strumenti per la realizzazione di servizi, anch’essi esposti attraverso la rete, ma che non sono direttamente accessibili all’utente, ma forniscono funzionalità che possono essere a loro volta integrate in siti veri e propri, ma anche in applicazioni desktop, per smartphone, tablet, ecc.
  3. Abbiamo parlato di ASP.NET MVC, che è diciamo la soluzione principale per lo sviluppo di applicativi Web con .NET, sicuramente la tecnologia su Microsoft punta di più. Quindi continua ad analizzarlo più in dettaglio. Diamo quindi uno sguardo a come funziona questo sistema. La prima cosa che cerchiamo di capire è come, da una richiesta del browser, ASP.NET MVC ci fornisce una pagina di risposta. Questo perché il sistema, basato sul pattern MVC, come abbiamo accennato all’inizio suggerisce una netta separazione tra l’interfaccia vera e propria e la logica applicativa.
  4. Entity Framework è un altro argomento che richiederebbe una trattazione a parte. In questa sede vediamo solo di capire di cosa si tratta. Permette di lavorare con dati relazionali usando normali classi .NET, che sono automaticamente mappate sulle classi del database, quindi noi non abbiamo bisogno di scrivere esplicitamente il codice per l’accesso al database.
  5. E ora parliamo di Bootstrap. Anche se non fa strettamente parte di .NET, è ormai un componente fondamentale che deve essere usato in tutte le applicazioni Web che sviluppiamo. Per quanto riguarda l’approccio mobile first, è importante ricordare che comunque i desktop non sono trascurati, sono sempre attori di importanza centrale. Le pagine ASP.NET MVC che ci vengono create dai template di Visual Studio sono già pronte per usare Bootstrap, ovvero il codice HTML che viene generato include i riferimenti alle classi di Bootstrap.
  6. Passiamo adesso alla seconda famiglia di componenti di ASP.NET, ovvero la parte dei servizi. Che come detto sono WebAPI e SignalR.
  7. Web API si basta sulla filosofia REST, per cui abbiamo una serie di risorse accessibili via HTTP e che rispondono a chiamate di tipo GET, POST, PUT, DELETE, ecc. Naturalmente in questo caso non abbiamo un’interfaccia utente, perché stiamo parlando di servizi, e che un qualcosa che sarà sfruttato da altre applicazioni, da applicazioni esterne. Essendo chiamate HTTP, le potremmo utilizzare sia da un sito Web, ma anche dalle nostre applicazioni client, come potrebbe essere la Universal app che abbiamo visto prima.
  8. Questo diagramma riassume l’architettura di SignalR. Non entreremo molto nel dettaglio, perché la cosa richiederebbe una trattazione a parte, ma questo serve per dare un’idea delle parti in gioco. Notiamo però una cosa importante: esistono due tipi di API fornite da SignalR: a basso livello (PersistentConnection) oppure ad alto livello (Hub). Per i nostri scopi, così come per la maggior parte degli scenari, gli Hub sono più che sufficienti, e dunque ci concentreremo su di essi.
  9. Nella nomenclatura di SignalR, un endpoint che fornisce le funzionalità di comunicazione signalR è chiamato Hub. Un Hub SignalR può essere inserito all’interno di un normale sito ASP.NET MVC o di un sito che contiene solo una parte di servizi Web API. Quindi con SignalR abbiamo anche la possibilità di realizzare comunicazioni bi-direzionali tra applicazioni Web da una parte e ad esempio Universal app dall’altra. Abbiamo quindi a disposizione uno strumento di comunicazione potentissimo.
  10. Azure è tutto questo, una piattaforma distribuita che offre una grandissima serie di servizi (in continuo aumento), sia come IaaS (Infrastructure as a service, ovvero una vera e propria infrastruttura che è fornita come servizio, e noi dobbiamo usare liberamente, come nel caso delle macchine virtuali, su cui abbiamo completo controllo, come se fosse una macchina virtuale installata sul nostro PC di casa) sia come PaaS (Platform as a service). Quest’ultima è sicuramente la parte più interessante. Diamo quindi un rapido sguardo ai servizi che noi, sviluppatori .NET, possiamo sfruttare, e vediamo nella pratica quale è lo sforzo necessario per avvicinarsi ad essi.
  11. Anche se è disponibile da un po’ di tempo, è ancora considerato in Preview, infatti alcune funzionalità del portale classico che abbiamo visto prima non sono ancora disponibili (come i Mobile Services). D’altra parte, ci sono caratteristiche come il Search che si trovano solo sul nuovo portale. E quindi a seconda degli scenari e dei servizi che ci servono, siamo costretti a passare da un portale all’altro.