visual studio 2012: what's new!!!
DESCRIPTION
Slide della sessione "Visual Studio 2012: what's new!!!" tenuta durante l'evento ALM@Work di DomusDotNet il 28/09/2012 presso la sede Microsoft di RomaTRANSCRIPT
![Page 1: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/1.jpg)
What’s new in Visual Studio 2012Massimo Bonanni
[email protected]://codetailor.blogspot.com@massimobonanni
![Page 2: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/2.jpg)
Le versioni di VS2012
I nuovi progetti di VS2012
Viaggio nell’IDE
Windows Store Apps
Nuovi (e non) strumenti per l’ALM
Agenda
![Page 3: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/3.jpg)
Le versioni di VS2012
![Page 4: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/4.jpg)
Ultimate 2012 with MSDN
Premium 2012 with MSDN
Test Professional 2012 with MSDN
Professional 2012 with MSDN
Professional 2012
Team Foundation Server
Le versioni di VS2012
![Page 5: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/5.jpg)
Express for Web
Express for Windows 8
Express for Windows Desktop
Team Foundation Server Express
Le versioni express di VS2012
![Page 6: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/6.jpg)
Fino a 5 utenti senza CAL, con le CAL utenti illimitati
Source Control
Work Item Tracking
Build Automation
GRATIS!!!!!
Team Foundation Server Express
![Page 7: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/7.jpg)
Quando si dice avere il «codice nelle nuvole»!!!
Team Foundation Service
http://tfspreview.com
![Page 8: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/8.jpg)
Team Foundation Service
Source Control
Stessa esperienza utente di TFS “on premise”
Upload you code
Build automatiche
Continuous integration
Risultato delle build nel source control
Set up a build
Agile Planning Tools (via Web)
Task board
Plan your workGet connected
Interfaccia di gestione web
Integrazione con Visual Studio 2012, 2010 e 2008
![Page 9: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/9.jpg)
DEMOTFSPreview
![Page 10: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/10.jpg)
I nuovi progetti di VS2012
![Page 11: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/11.jpg)
Windows Store Apps (solo su Windows 8) XAML + VB.NET/C#/C++ HTML + Javascript
Portable class library
MVC4
Lightswitch 2.0
Online samples
I nuovi progetti di VS2012
![Page 12: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/12.jpg)
Portable Class Library
Permette di creare assembly che possono essere condivisi da differenti tipologie di progetti come Windows Store Apps o Phone o WPF.
![Page 13: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/13.jpg)
Portable Class Library
Feature .NET Framework
Windows Store
Silverlight
Windows Phone
Xbox 360
Core √ √ √ √ √LINQ √ √ √ √IQueryable √ √ √ Only 7.5
Dynamic keyword Only 4.5 √ √
Managed Extensibility Framework (MEF) √ √ √
Network Class Library (NCL) √ √ √ √
Serialization √ √ √ √Windows Communication Foundation (WCF) √ √ √ √
Model-View-View Model (MVVM) Only 4.5 √ √ √
Data annotations Only 4.0.3 and 4.5 √ √
XLINQ Only 4.0.3 and 4.5 √ √ √ √
System.Numerics √ √ √
![Page 14: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/14.jpg)
DEMOPortable
Library
![Page 15: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/15.jpg)
Lightswitch 2.0
Lightswitch 2.0 non è più un ambiente di sviluppo a se.
E’ integrato nelle versioni pro o superiori di Visual Studio 2012.
![Page 16: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/16.jpg)
MSDN Online Sample
E’ possibile scaricare ed aprire gli esempi forniti da MSDN direttamente all’interno di Visual Studio 2012
![Page 17: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/17.jpg)
MSDN Online Sample
Quando scarichiamo un esempio, Visual Studio copia l’esempio nella cartella da noi selezionata ma esegue una copia dello stesso in un’altra cartella in modo da poter, in seguito, riaprire lo stesso progetto senza dover accedere ad internet.
I Sample Pack sono disponibili utilizzando l’Extension Manager (ora chiamato Extensions and Updates).
![Page 18: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/18.jpg)
DEMOSample
![Page 19: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/19.jpg)
Viaggio nell’IDE
![Page 20: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/20.jpg)
Interfaccia completamente Chromeless.
Viaggio nell’IDE – Modern UI
![Page 21: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/21.jpg)
Visual Studio 2012 supporta i temi
Viaggio nell’IDE – I temi
![Page 22: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/22.jpg)
DEMOI Temi
![Page 23: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/23.jpg)
VS2012 permette di aprire soluzioni VS2010 senza perdere la compatibilità.
Una soluzione aperta con VS2012 è ancora utilizzabile in VS2010 (a meno di non inserire progetti specifici di VS2012)
Viaggio nell’IDE – VS2010 compatibility
![Page 24: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/24.jpg)
DEMOVS2010
Compatibility
![Page 25: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/25.jpg)
Il solution explorer di VS2012 è, sostanzialmente, il solution navigator di VS2010.
Permette di navigare nei file ma anche nelle classi e nei metodi delle stesse.
Possiamo creare nuove finestre di navigazione a partire da qualsiasi nodo.
Possiamo abilitare l’ «item preview» in modo da visualizzare rapidamente un file con il solo click del mouse senza doverlo aprire.
Viaggio nell’IDE – Solution Explorer
![Page 26: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/26.jpg)
E’ disponibile la Call Hierarchy per gli sviluppatori VB.
La funzionalità era già presente in VS2010 per C#
Viaggio nell’IDE – Call Hierarchy (VB)
![Page 27: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/27.jpg)
Quick launch permette l’accesso alle funzionalità, ai menù o ai file in maniera veloce.
E’ una casella di ricerca, contestuale, posizionata in alto a destra.
Viaggio nell’IDE – Quick Launch
![Page 28: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/28.jpg)
Facilità di creazione di classi .NET a partire da un tracciato XML
Viaggio nell’IDE – Data Class from XML
![Page 29: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/29.jpg)
DEMOData Class from XML
![Page 30: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/30.jpg)
Fornisce un analisi del codice alla ricerca di snippet di codice ripetuto.
• Su un frammento di codice
• Sull’intera soluzione.
Viaggio nell’IDE – Code Clones
![Page 31: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/31.jpg)
Cerca copie di codice esatta o frammenti che differiscono per:
• nome delle variabili o dei parametri
• istruzioni riordinate
• istruzioni aggiunte o rimosse
Viaggio nell’IDE – Code Clones
![Page 32: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/32.jpg)
DEMOCode Clones
![Page 33: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/33.jpg)
Possiamo scegliere, in base al progetto, la modalità con cui eseguire il debug in maniera semplice.
Ad esempio, in una applicazione web, possiamo scegliere il browser con cui visualizzare le pagine.
Viaggio nell’IDE – Debug
![Page 34: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/34.jpg)
Il Page Inspector permette di «ispezionare» una pagina web del nostro applicativo direttamente dentro Visual Studio.
Il Page Inspector è disponibile anche nella versione Visual Studio 2012 Express for Web
Viaggio nell’IDE – Page inspector
![Page 35: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/35.jpg)
DEMODebug
![Page 36: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/36.jpg)
Il wizard di publishing per Web Application è stato completamente rinnovato.
Viaggio nell’IDE – Web Publishing
Supporto per i profile (anche forniti da hosting provider).
Possibilità di deploy per package direttamente sull’host
![Page 37: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/37.jpg)
DEMOWeb Publish
![Page 38: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/38.jpg)
Molte delle nuove funzionalità mettono a disposizione dell’utente dei video esplicativi che possono essere visualizzati all’interno di Visual Studio.
Viaggio nell’IDE – Streaming Video
![Page 39: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/39.jpg)
DEMOStreaming
Video
![Page 40: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/40.jpg)
Windows Store Apps
![Page 41: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/41.jpg)
Supporto per• XAML + VB.NET/C#/C++• HTML + Javascript
Debug con Simulatore
Nuove finestre di sviluppo• Finestra Device
Integrazione con Windows Store
Windows Store Apps
![Page 42: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/42.jpg)
Nuovi (e non) strumenti per l’ALM
![Page 43: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/43.jpg)
Nuova interfaccia per il Team Explorer:
Orientata all’utilizzo day by day
«Non bloccante» nei check-in (operazioni asincrone)
Migliori performance
Team Explorer
![Page 44: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/44.jpg)
Un workspace locale consente di
• lavorare più facilmente off-line
• recuperare in maniera facile eventuali file eliminati localmente
• Poter aggiungere o eliminare file anche al di fuori da Visual Studio
Workspace locali
![Page 45: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/45.jpg)
Workspace locali
Server Workspace
Local Workspace
![Page 46: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/46.jpg)
Utilizzo delle code review per migliorare la qualità del software
Code Review
![Page 47: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/47.jpg)
Visual Studio 2012 include (come le precedenti versioni) Microsoft Unit Testing Framework.
Può essere utilizzato un qualsiasi framework di test che implementa il Test Explorer adapter.
Unit Test Framework
![Page 48: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/48.jpg)
DEMOTeam Explorer
![Page 49: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/49.jpg)
What's New in Visual Studio 2012
http://msdn.microsoft.com/en-us/library/bb386063.aspxThe Visual Studio Blog
http://blogs.msdn.com/b/visualstudio/Visual Studio ALM + Team Foundation Server Blog
http://blogs.msdn.com/b/visualstudioalm/Somasegar's blog
http://blogs.msdn.com/b/somasegar/Brian Harry's blog
http://blogs.msdn.com/b/bharry/
![Page 50: Visual Studio 2012: what's new!!!](https://reader033.vdocuments.net/reader033/viewer/2022061111/54541ac3af7959e10b8b5a9c/html5/thumbnails/50.jpg)
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.