Visual studio 2012 - What's in it for me?

Preview:

DESCRIPTION

Visual Studio 2010 was released two years ago. Since then Microsoft was working hard to deliver Visual Studio "11" and Team Foundation Server "11". This session will take a look at the myriad features that have been incorporated into the latest version of Visual Studio and Team Foundation Server including some great planning features, Team Foundation Service (on Windows Azure), a revamped look and feel for Visual Studio, and more. Some of these features are also available for use within Visual Studio 2010 if you know where to look. If you want to get an overview of what's new in Visual Studio "11", then check out this session. ***NOTE: "Visual Studio 11" and "Team Foundation Server 11" are code names. The official name will be announced in the near future. At that time, I will need to modify the names within the description.

Citation preview

Visual Studio 2012

What’s In It for Me?

Jeff BramwellDirector - Enterprise ArchitectureFarm Credit Services of Americajbramwell@gmail.com|@jbramwelldevmatter.blogspot.com

Tulsa TechFest 2012Friday, October 12th, 20121:30 PM

Please Be Courteous!

Please be courteous to your fellow attendeesand

Set your phones to vibrate or silent mode!

Agenda

• SKUs• New IDE Features• .NET Framework• Testing and Debugging• Web Development• Windows 8 Development• ALM• Resources & Links• Questions

Caveat

• Way too many features…• Not near enough time…• We can’t cover everything…• Let’s get going

SKUs

Visual Studio 2012 SKUs

• Express (Free! )• Express for Web• Express for Windows 8• Express for Windows Desktop• Team Foundation Server Express

• Professional• w/MSDN• w/out MSDN

• Test Professional w/MSDN• Premium w/MSDN• Ultimate w/MSDN

Feature Comparisons

http://bit.ly/VS2012SKUs

Premium Features (over Professional)• Code Metrics• Code Coverage• Coded UI Testing• Code Clone• Architecture Validation• UML Diagrams (read-only)• Code Review• Task Suspend/Resume

• Lab Management• Virtual Environment Setup &

Tear Down• Provision Environment from

Template• Checkpoint Environment

• Backlog/Sprint Management • PowerPoint Storyboarding• Request and Manage

Feedback

Ultimate Only Features

• IntelliTrace• Web Performance Testing• Load Testing• Microsoft Fakes (Unit Test Isolation)• Architecture Explorer• Architecture and Layer Diagrams

New IDE Features

You Did What to My IDE!?

• Content over chrome• Fewer toolbars• Screaming menus

Solution Compatibility

• Works between Visual Studio 2010 SP1 and Visual Studio 2012• Not every project type can “round trip”

• MVC 2• MSI setup (.vdproj)• Office 2007 VSTO• SharePoint 2007• Visual Studio Macro• Windows Azure Tools for Visual Studio version 1.6 or earlier• Windows Mobile• Windows Phone

Solution Explorer

• Lots of improvements• Solution items filter• Pending changes filter• Collapse all• Preview selected items• Dependency graphs• Open new (sub) views• Various dependency searches (calls, called by, used by, etc.)• Image preview

Quick Launch

• Quickly locate• Options• Commands

Find and Replace

• Find and (sometimes) Replace incorporated practically everywhere• Some examples include:• Code editor• Solution Explorer• Error List• Output window• Find Results• Work Items

Dependency Graphs

Miscellaneous

• Pin tabs• Light/Dark color scheme

Visual Studio Update Cadence

• Quarterly Updates1

• Interim Preview Releases2

• Visual Studio 2012 Update 1 CTP 3 released Oct 8th

• Notified via “toast” notification

.NET Framework

Testing and Debugging

IntelliTrace

• IntelliTrace in Production• Requires standalone IntelliTrace

collector1

• Can also collect via Visual Studio Ultimate during debugging

Ultimate

Code Clones

• Locate similar code fragments• Can be a selected code snippet or across the entire

solution• Variable and parameter names can be different!

Ultimate | Premium

Unit Testing

• New Test Explorer• New unit testing framework• No more test lists• No more private accessors• Test Impact Analysis is server only

Ultimate | Premium

Microsoft Fakes

• Introduction of Stubs and Shims• Stubs are interface based• Shims divert calls to specific methods at runtime

Ultimate

Code Analysis

• New Code Analysis Pane

Ultimate | Premium

Web Development

Web Features - CSS

• New CSS Editor• Support for CSS3• Expand/collapse styles• Improved IntelliSense• New color picker• New snippets• More

Web Features - HTML

• New HTML Editor• Support for HTML5• Extract to User Control• Tag completion• Automatic quotes• Comment/uncomment support• Outlining• Smart indent• New snippets• More

Web Features - JavaScript

• New JavaScript Editor• Improved IntelliSense• Go to definition (F12)• Bracket highlighting• XML documentation support• Overloads for methods (using new XML comment <signature>)• More

Web Features – Page Inspector

• Page Inspector• Source code selection mapping• Select CSS rules• Requires instrumentation

Web Features – Page Inspector (cont’d)

Windows 8 Development

Windows Store (formerly metro) apps

• Metro Apps Windows Store apps• Metro UI Design Language Microsoft design style

language• Metro UI Style Principles Microsoft design style

principles

• New project templates• Windows Store Integration

What is “Metrow”• A “code” name

• Windows Store application

• Content over chrome• Fast and fluid• Touch first• Snap and scale beautifully• Use of contracts• Application tile• Connected; Roam to the cloud• Authentically digital

Windows Runtime (WinRT)

• New programming model for Windows 8• Supports C#, VB.NET, C++, and JavaScript• Supported on x86 and ARM architectures• Windows metadata provides cross-language support• Complete description of Windows Runtime• Allows for multi-language projection• Full IntelliSense

• Asynchronous APIs• Windows.* namespaces include Windows Runtime types

Windows Runtime Architecture

Creating a Windows 8 App

• Visual Studio 2012• Windows Store Templates• Several Project Types

Windows Store

• Integrated into Visual Studio 2012• Open Developer Account• Reserve App Name• Good for 1 year

• Acquire Developer License• Tied to Microsoft Account• License per machine• Free

Windows Store (cont’d)

• Edit App Manifest• Associate App with Windows Store• Based on reserved apps

• Capture Screenshots• Create/Upload App Packages

ALM

TFS 2012 Features

• Web-based project management tools• Team Foundation Services (i.e. TFSPreview.com)• Request Feedback• Team Explorer

Team Foundation Service

http://tfspreview.com

Request Feedback

Team Explorer - Home

Team Explorer – My Work

Team Explorer – New Code Review

Team Explorer - Home

Team Explorer – Work Items

Team Explorer - Builds

Team Explorer - Settings

Storyboarding

• Quickly design user interfaces• Built on PowerPoint• Lots of pre-built shapes provided out of the box• Easy to create new shapes• Can be linked to TFS work items• Requires only PowerPoint to view

Ultimate | Premium

Resources & Links

Please Complete An Evaluation FormYour input is important!

You can access Evaluation Forms at:http://TulsaTechFest.com

Fill them out!

You can win additional prizes!

Like a $50 Best Buy Gift Card!!

Winner drawn – Midnight, Sun Oct 14th!

Help us!Thank our Sponsors:

Questions?

Recommended