New in the Visual Studio 2012
IDE
   http://www.LearnNowOnline.com




        Learn More @ http://www.learnnowonline.com
        Copyright © by Application Developers Training Company
Navigating Code and UI
Changes
 • Demo




          Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
A Quick Tour of the IDE
•   A new look and feel
•   Less chrome
•   Focus on code
•   Minimized toolbar




               Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Finding and Setting Options
• Select Tools | Options
• Literally hundreds of settings
  • Environment
  • Projects
  • Text editor
  • More…
• New color themes (Light and Dark)


               Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Exploring Solutions
• Solution Explorer organizes development
  artifacts
• Solutions hold files, folders, and projects
• Projects hold files, folders, and references
• Projects produce assemblies




              Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Navigating the IDE with
QuickLaunch
• QuickLaunch makes it easy to dig deep into IDE
  features, saving time
• Shortcut: Ctrl + Q
• Four Categories
  •   Most Recently Used : @mru quick
  •   Commands: @menu Find Edit
  •   Options: @opt Text Editor C# General
  •   Documents: @doc Program.cs


                Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Using Code-Focused Rapid
Application Development
 • Demo




          Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Navigating Code
•   Call Hierarchy shows code callers and callees
•   Navigate To helps quickly find/move to code
•   Highlighting References shows matching code
•   Live Semantic Errors show errors/warnings




               Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Adding Snippets
• Quickly add common code blocks
• Abbreviations expand to forms
• Surround-With puts blocks around code




            Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Refactoring Code
• Improve design without breaking code
  • Rename
  • Extract Method
  • Encapsulate Field
  • Extract Interface
  • Remove Parameters
  • Reorder Parameters



              Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Extending the Environment and
NuGet
 • Demo




           Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
Extension Manager
• Easy way to install 3rd party Add-Ins
• One-Click install
• Be informed of updates




             Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
NuGet
• Adds assembly references to projects
• Can install/uninstall via UI or built-in
  Powershell console
• Add NuGet via the Extension Manager




              Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Setting Up Libraries and
Projects
 • Demo




          Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Compatibility with VS 2010
• Can round-trip for many project types
• Exceptions:
  • Windows Phone 7 support only in VS 2010
  • Windows 8 support only in VS 2012 and on
    Windows 8
  • .NET 4.5 support only on VS 2012




              Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Understanding Profiles
• Profiles constrain a project to a subset of that
  project type
  • Windows 8
  • Windows Phone 8
  • Client
  • Full
• Client is subset of Full


              Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Portable Libraries
• Subset of .NET supporting multiple profiles
• Least common denominator among profiles
• Can select which Framework profiles to target




             Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Questions?

   http://www.LearnNowOnline.com




        Learn More @ http://www.learnnowonline.com
        Copyright © by Application Developers Training Company

New in the Visual Studio 2012 IDE

  • 1.
    New in theVisual Studio 2012 IDE http://www.LearnNowOnline.com Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 2.
    Navigating Code andUI Changes • Demo Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 3.
    A Quick Tourof the IDE • A new look and feel • Less chrome • Focus on code • Minimized toolbar Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 4.
    Finding and SettingOptions • Select Tools | Options • Literally hundreds of settings • Environment • Projects • Text editor • More… • New color themes (Light and Dark) Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 5.
    Exploring Solutions • SolutionExplorer organizes development artifacts • Solutions hold files, folders, and projects • Projects hold files, folders, and references • Projects produce assemblies Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 6.
    Navigating the IDEwith QuickLaunch • QuickLaunch makes it easy to dig deep into IDE features, saving time • Shortcut: Ctrl + Q • Four Categories • Most Recently Used : @mru quick • Commands: @menu Find Edit • Options: @opt Text Editor C# General • Documents: @doc Program.cs Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 7.
    Using Code-Focused Rapid ApplicationDevelopment • Demo Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 8.
    Navigating Code • Call Hierarchy shows code callers and callees • Navigate To helps quickly find/move to code • Highlighting References shows matching code • Live Semantic Errors show errors/warnings Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 9.
    Adding Snippets • Quicklyadd common code blocks • Abbreviations expand to forms • Surround-With puts blocks around code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 10.
    Refactoring Code • Improvedesign without breaking code • Rename • Extract Method • Encapsulate Field • Extract Interface • Remove Parameters • Reorder Parameters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 11.
    Extending the Environmentand NuGet • Demo Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 12.
    Extension Manager • Easyway to install 3rd party Add-Ins • One-Click install • Be informed of updates Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 13.
    NuGet • Adds assemblyreferences to projects • Can install/uninstall via UI or built-in Powershell console • Add NuGet via the Extension Manager Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 14.
    Setting Up Librariesand Projects • Demo Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 15.
    Compatibility with VS2010 • Can round-trip for many project types • Exceptions: • Windows Phone 7 support only in VS 2010 • Windows 8 support only in VS 2012 and on Windows 8 • .NET 4.5 support only on VS 2012 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 16.
    Understanding Profiles • Profilesconstrain a project to a subset of that project type • Windows 8 • Windows Phone 8 • Client • Full • Client is subset of Full Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 17.
    Portable Libraries • Subsetof .NET supporting multiple profiles • Least common denominator among profiles • Can select which Framework profiles to target Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 18.
    Questions? http://www.LearnNowOnline.com Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company