karen liu microsoft dev 352download.microsoft.com/documents/hk/technet/techdays2009/dev352.pdflevel...

23

Upload: others

Post on 14-Nov-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified
Page 2: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Karen LiuIDE Lead Program ManagerMicrosoftDev 352

Page 3: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Areas of investment

Page 4: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Modernize the IDE

Page 5: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Modernize the IDE

Fonts and Color settings WPF zoom (ctrl + scroll)

Difficult to find and discover extensions

Extension gallery

One monitor Multiple monitors (Win+arrow)

Page 6: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Deep Insight

Page 7: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Deep Insight

Break, step, restart… IntelliTrace! Step backward (Ctrl+D, Ctrl+H)

Keep re-adding datatips “Pin-able” datatips

Limited analysis on code Class designer

Sequence diagram Architecture explorer

Use find all references (Shift + F12)

Call hierarchy (Ctrl+W, K) + Code definition window to preview

Page 8: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Speed to Solution

Page 9: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Speed to Solution

IntelliSense gets in the way Make it easier for substring items

IntelliSense Substring Filtering “Pascal Case” IntelliSense Low-impact IntelliSense

Collapse to definitions (Ctrl + M, O)

Hide selection (Ctrl+M,Ctrl+H)

Build, fix, rebuild Live semantic errors

Write all code out Generate from usage (Ctrl+.)

Page 10: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Speed to Solution

Go to active file (Ctrl + Alt + Down) or Find combo box (Ctrl + D)

Navigate to (Ctrl + ,)

Go to type/member Go to definition (F12) Go to definition call stack (Ctrl +

Shift + 7/8)

Navigate to (Ctrl + ,)

Find all references (Shift+F12) + iterate (F8)

Highlight references (Ctrl+Shift+down/up)

Page 11: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Making "test-first" easier

Page 12: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Improving test-first development

Noisy creation of tests projects “Basic” unit tests Test snippets in the box

IntelliSense fights me! Low impact IntelliSense (Ctrl+Alt+Space)

Let me just think about my test Generate from usage (Ctrl+.)

Failures should navigate to failures!

Navigate to error

What about my existing tests? Third-party test integration

Hard to test web sites ASP.NET MVC built with testability

Page 13: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Summary

Page 14: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

What can I use now?

Use CodeRush Xpress today!FREE Add-in for Visual Studio 2008 + 2010

CodeRush Xpress (for C#) + Refactor! (for VB)

Support for Both C# and Visual Basic

50+ free productivity and refactoring tools

Download @ http://devexpress.com/crx

Page 15: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Refactorings…Add Block DelimitersAdd Parameter Combine ConditionalsCompress to Lambda Expression Compress to Ternary Expression Convert to Auto Property Convert to InitializerCreate Backing Store Create OverloadCreate With Statement Decompose InitializerDecompose Parameter Encapsulate Field Encapsulate Field (read only) Expand Lambda Expression Expand Ternary ExpressionExtract Interface Extract Method Extract PropertyExtract XML Literal to Resource

Flatten Conditional Inline Delegate Introduce ConstantIntroduce Constant (local) Introduce Local Introduce Local (replace all) Inline Temp Inline With Statement Make Explicit Make Implicit Method to Property Move Declaration Near Reference Move Initialization To Declaration Move Type to File Name Anonymous Method Name Anonymous Type Property to Method(s) Remove Assignments to ParameterReorder Parameters Remove Unused Parameter

Replace Temp with Query Reverse Conditional Simplify Expression Split Conditional Split Initialization from DeclarationSplit Temporary VariableUse String.FormatUse StringBuilderWiden Scope Widen Scope (promote constant) Widen Scope (promote to field)

Page 16: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified
Page 17: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Track ResourcesDOWNLOADS

Keybinding posterhttp://www.microsoft.com/downloads/details.aspx?familyid=E5F902A8-5BB5-4CC6-907E-472809749973&displaylang=en

CodeRush Xpress http://devexpress.com/crx

Source Code Outlinerhttp://codeplex.com/SourceCodeOutliner

400+ task-based code snippetshttp://msdn2.microsoft.com/en-us/vstudio/aa718338.aspx

LINKSBlogshttp://blogs.msdn.com/karenliu (Mine)http://blogs.msdn.com/vbteam (VB Team)http://blogs.msdn.com/bethmassi (Beth Massi)

C# Developer Centerhttp://msdn.com/vcsharphttp://msdn.com/vbasic

Questions? Comments? Requests? Email me at [email protected]

Page 18: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

http://microsoft.com/technet

Resources for IT Professionals

http://microsoft.com/msdn

Resources for Developers

www.microsoft.com/learning

Microsoft Certification & Training Resources

Resources

Page 19: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Related Content

Dev352 (R) – Increase Your Productivity with the Visual Studio 2010 IDE

DTL339 (R) – Future Directions for Microsoft Visual Basic

Dev423 – How LINQ Works: A Deep Dive into the Microsoft Visual Basic and C# Implementations

Page 20: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Complete an

evaluation on

CommNet and

enter to win!

Page 21: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Housekeeping

Page 22: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

Level 2Room S221: VIR258 – by Bryon Surace

Room S222: DAT08-HOL– by Microsoft Certified Trainer

Room S224 & 225: OFC362 – by Tara Seppa

Room S226 & 227: UNC312R – by Andrew Ehrensing

Room S228: UNC11-HOL – by Microsoft Certified Trainer

Level 4Room S421: DAT225 – by Donald Famer

Room S423: DEV318 – by George Chu

Room S425: DEV339 – by Karen Liu

Room S427: WCL319 – by Ken Lin

Room S426: UNC12-HOL-E – by Microsoft Certified Trainer

Page 23: Karen Liu Microsoft Dev 352download.microsoft.com/documents/hk/technet/techdays2009/DEV352.pdfLevel 2 Room S221: VIR258 –by Bryon Surace Room S222: DAT08-HOL–by Microsoft Certified

© 2009 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.