1 / 12

Bijoy Singhal Developer Evangelist | Microsoft India blogs.msdn/bsinghal

Know your tools better: Tips and tricks on how to enhance .NET development using VS 2008 and other tools. Bijoy Singhal Developer Evangelist | Microsoft India http://blogs.msdn.com/bsinghal. Tips to make coding productive. Class Diagram and Class View Examine the framework: type relations

vera
Télécharger la présentation

Bijoy Singhal Developer Evangelist | Microsoft India blogs.msdn/bsinghal

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Know your tools better:Tips and tricks on how to enhance .NET development using VS 2008 and other tools Bijoy Singhal Developer Evangelist | Microsoft India http://blogs.msdn.com/bsinghal

  2. Tips to make coding productive • Class Diagram and Class View • Examine the framework: type relations • Search the methods in the classes • Use Extension Methods • Create code snippets by dragging code on toolbox • Add the using clause automatically • Remove unused usings. • Use Regions • Refactoring code

  3. Tips to make coding productive • Object browser (ctrl + alt + j) • Goto definition (F12) • Find all reference (shift + F12) • Incremental Search (ctrl + I ) • Clip board ring (shift + crtl + V) • Comment/Uncomment (ctrl K + ctrl C/ctrl K + ctrl U) • Find box commands (ctrl + D, ctrl +/, > open, > saveall) • Format doc (ctrl K, ctrl D) • Smart tags (ctrl+.) • Insert Code snippets (ctrl K, ctrl X)

  4. Profiling • Code Analysis • Code Metrics • Performance Wizard

  5. Managing the Build process • Create configurations using the configuration manager • Batch Builds • Always create symbols for both your debug and release builds • Building code for different architectures • Optimize code • Build code with highest warning level • Pre build and post build events

  6. Tips for Debugging • Data Tip Opacity • Conditional breakpoints • Call Stack • Immediate window • Command window • Output window • Unmanaged code debugging • Just My Code debugging • .NET framework source stepping • Debugging Exceptions • SOS.dll

  7. .NET Tools • Fusion Log Viewer • IlDasm • CorDbg • CorFlags • Gacutil • Permcalc • Sn • Sqlmetal • NGEN.EXE • resgen • Performance Monitor counters

  8. Other Tools • Lutz Reflector (now purchased by ANTS) • ANTs Profiler (3rd Party) • CLR profiler (free from Microsoft) • FxCop (free code analysis tool from Microsoft)

  9. Additional Info • C# key board reference poster • http://www.microsoft.com/downloads/details.aspx?FamilyID=c15d210d-a926-46a8-a586-31f8a2e576fe&DisplayLang=en • VB key board reference poster • http://www.microsoft.com/downloads/details.aspx?FamilyID=6bb41456-9378-4746-b502-b4c5f7182203&DisplayLang=en • Sara Ford’s Blog: • http://blogs.msdn.com/saraford/

  10. Feedback / QnA • Your Feedback is Important! Please take a few moments to fill out our online feedback form For detailed feedback, use the form at http://www.connectwithlife.co.in/vtd/helpdesk.aspx Or email us at vtd@microsoft.com • Use the Question Manager on LiveMeeting to ask your questions now!

  11. Contact (optional slide) • Blog Address http://blogs.msdn.com/bsinghal • Email Address bsinghal@microsoft.com

More Related