Microsoft Visual Studio 2010 Tips and Tricks Tech Ed North America 2010 1/30/2018 7:02 PM Required Slide SESSION CODE: DEV315 Microsoft Visual Studio 2010 Tips and Tricks Visual Studio 2010 Tips and Tricks Team Talk ( Twitter Hash #DEV315 ) Dustin Campbell Microsoft Corporation Scott Cate (@ScottCate) myKB.com Software. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Agenda Get the most out of Visual Studio 2010 Why are you here? Better / Faster / Code Tricks / Fun Facts / Bets with Friends Why are you here? Everyone will learn something If one tip saves one minute per hour Do some fuzzy math and …. Every tip will save you 1 year of coding Retire Today!
DEMO No Need for Notes Entire presentation is available online Tech Ed North America 2010 1/30/2018 7:02 PM No Need for Notes Entire presentation is available online Mini Screen Cast Series on ScottCate.com/Tricks DEMO Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
DEMO Intellisense camelCase / Substring Filters Tech Ed North America 2010 1/30/2018 7:02 PM Intellisense camelCase / Substring Filters Suggestion mode [CTRL]+[ALT]+[SPACE] Undeclared types after “new” ( C# Only ) DEMO http://ScottCate.com/Tricks/DEV315-Intellisense Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
DEMO Start Page Pinning and Unpinning Projects Tech Ed North America 2010 1/30/2018 7:02 PM Start Page Pinning and Unpinning Projects Remove projects from list Close start page after load Show/Hide Startup Page Pin to Win7 Task Bar [WIN]+[ALT]+[Position] DEMO http://ScottCate.com/Tricks/DEV315-StartPage Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
DEMO Code Editor Tricks Call Hierarchy ( C# Only ) Tech Ed North America 2010 1/30/2018 7:02 PM Code Editor Tricks Call Hierarchy ( C# Only ) Find all references [SHIFT]+[F12] Metadata as Source ( C# Only ) Code Definition Window ( C# Only ) Highlight references and keywords Navigating Highlights [CTRL]+[SHIFT]+[UP|DOWN] Multi Line Edit – Box Select ZOOM Mouse and Keyboard [CTRL]+[SHIFT]+[<|>] DEMO http://ScottCate.com/Tricks/DEV315-EditorTricks Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Multiple Monitor Support Tech Ed North America 2010 1/30/2018 7:02 PM Multiple Monitor Support Floating document(s) window(s) Windows 7 [WIN]+[ARROW] Support Double click behavior DEMO http://ScottCate.com/Tricks/DEV315-MultiMon Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
DEMO Outlining Ad-Hoc Regions Collapse to definition Tech Ed North America 2010 1/30/2018 7:02 PM Outlining Ad-Hoc Regions Hide [CTRL]+[M],[H] Show [CTRL]+[M],[U] Collapse to definition Outlining preview on margin hover Double click margin to Expand/Collapse DEMO http://ScottCate.com/Tricks/DEV315-Outlining Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
DEMO Navigation Go to Definition [F12] Tech Ed North America 2010 1/30/2018 7:02 PM Navigation Go to Definition [F12] Go to Definition Stack ( C# Only ) [CTRL]+[SHIFT]+[7|8] Iterate List Window (IE. Find Results) [F8] Navigate To [CTRL]+[,] Navigate to open file selection [CTRL]+[ALT]+[DOWN] Next | Previous Method ( VB Only) [CTRL]+[UP|DOWN] DEMO http://ScottCate.com/Tricks/DEV315-Navigation Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Throw Away or Temp Projects Tech Ed North America 2010 1/30/2018 7:02 PM Throw Away or Temp Projects Quick Code Samples Throw Away Code Keep Hard Drive clean Save if you want No Solution Support Single Projects Only DEMO http://ScottCate.com/Tricks/DEV315-TempProjects Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
DEMO New Project Dialog Sort Templates Search / Filter Templates Tech Ed North America 2010 1/30/2018 7:02 PM New Project Dialog Sort Templates Search / Filter Templates Add / Find new Templates Online Templates DEMO http://ScottCate.com/Tricks/DEV315-NewProjects Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
DEMO Writing Code Faster Background Squigglies Tech Ed North America 2010 1/30/2018 7:02 PM Writing Code Faster Background Squigglies Smart Tag Shortcut [CTRL]+[.] Add Using|Import statements Generate from Usage Error Correction ( VB Only ) DEMO http://ScottCate.com/Tricks/DEV315-WriteCodeFaster Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
DEMO Code Snippets Double [TAB] Expansion Insert Snippet Tech Ed North America 2010 1/30/2018 7:02 PM Code Snippets Double [TAB] Expansion Insert Snippet [CTRL]+[K] and [CTRL]+[X] [?]+[TAB] Snippets Dialog ( VB Only ) Toggle Snippet Visibility ( VB Only ) DEMO http://ScottCate.com/Tricks/DEV315-CodeSnippets Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
DEMO Debugging IntelliTrace – Back in Time Tech Ed North America 2010 1/30/2018 7:02 PM Debugging IntelliTrace – Back in Time Breakpoint Name / Group [On|Off] / Export / Import Trace Points Pin / Persists Data Tips Adjust Data Tips Transparency Run to Cursor [CTRL]+[F10] Debugger Visualizers DEMO http://ScottCate.com/Tricks/DEV315-Debugging Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Architecture Diagrams Tech Ed North America 2010 1/30/2018 7:02 PM Architecture Diagrams New Modeling Project Diagrams *.dgml Sequence Diagrams Layer Diagrams DEMO http://ScottCate.com/Tricks/DEV315-Diagrams Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Extending Visual Studio 2010 Tech Ed North America 2010 1/30/2018 7:02 PM Extending Visual Studio 2010 Extension Manager Online Gallery Easy to Enable|Disable Safe Mode Devenv.exe /SafeMode DEMO http://ScottCate.com/Tricks/DEV315-ExtendVS2010 Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Professional Power Tools Tech Ed North America 2010 1/30/2018 7:02 PM Professional Power Tools Document Tab Enhancements Highlight Current Line Column Guides And many more … DEMO http://ScottCate.com/Tricks/DEV315-PowerTools Twitter Discussion: #DEV315 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
PARTNER http://ScottCate.com/Tricks Video Blog Tech Ed North America 2010 1/30/2018 7:02 PM http://ScottCate.com/Tricks Video Blog 100’s of Visual Studio Tips and Tricks Community Project PARTNER © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Tech Ed North America 2010 1/30/2018 7:02 PM Track Resources Visual Studio – http://www.microsoft.com/visualstudio/en-us/ Soma’s Blog – http://blogs.msdn.com/b/somasegar/ MSDN Data Developer Center – http://msdn.com/data ADO.NET Team Blog – http://blogs.msdn.com/adonet WCF Data Services Team Blog – http://blogs.msdn.com/astoriateam EF Design Blog – http://blogs.msdn.com/efdesign © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Resources Learning Required Slide www.microsoft.com/teched Tech Ed North America 2010 1/30/2018 7:02 PM Required Slide Resources Learning Sessions On-Demand & Community Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning Resources for IT Professionals Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Complete an evaluation on CommNet and enter to win! Tech Ed North America 2010 1/30/2018 7:02 PM Required Slide Complete an evaluation on CommNet and enter to win! © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year
Tech Ed North America 2010 1/30/2018 7:02 PM © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Required Slide Tech Ed North America 2010 1/30/2018 7:02 PM © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.