1 / 31

Two Development Tools for .NET

Two Development Tools for .NET. That You Should Never Miss!. Shenhua GU Jan 2008. 1. JetBrains ReSharper. Current Version 3.1 For VS2005. What is ReSharper?. A state-of-the-art add-in for VS2005 Help improve your productivity. Features. Error highlighting and quick fixes

Télécharger la présentation

Two Development Tools for .NET

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. Two Development Tools for .NET That You Should Never Miss! Shenhua GU Jan 2008

  2. 1

  3. JetBrains ReSharper • Current Version 3.1 For VS2005

  4. What is ReSharper? • A state-of-the-art add-in for VS2005 • Help improve your productivity

  5. Features • Error highlighting and quick fixes • Code generation • Refactoring • Code formatting • Code templates • Navigation and search • Integrated unit-test runner • And more…

  6. Error Highlighting and Quick Fixes

  7. Code Generation • Press Alt+Ins in a class

  8. Refactoring • Move type • Make method static/non-static • Pull members up • Push members down • And more…

  9. Code Formatting • ReSharper takes it to a whole new level • Format according to a predefined setting • Optimizing using directives • Remove redundant this directives • Arrange modifier keywords

  10. Code Templates

  11. Navigation and Search • Type Hierarchy View

  12. Navigation and Search • File Structure View

  13. Navigation and Search • Go to Type, Ctrl + T • Or Ctrl + Click

  14. Navigation and Search • Find Usages

  15. Integrated Unit-test Runner

  16. Examples • We’re gonna • Create a business object • Navigate around the classes • Leveraging smart code analysis

  17. Ad • Jedi Coding • Build console application in 8 minutes.

  18. Future of ReSharper • Version 4.0 EAP • Support VS2008 • Automatic properties • Object initializers • Collection initializers • Extension methods • Lambda expressions • LINQ • XAML files • …

  19. 2

  20. Lutz Roeder's .NET Reflector • Current Version 5.0

  21. What is .NET Reflector • A class browser for .NET components • C#, VB.NET and IL decompiler

  22. C# 3.0 Support • Extension methods • Object initializers • LINQ query expressions • Collection initializers • Lambda expressions

  23. C# 3.0 and 2.0 support • Enable via View, Options, Optimization: .NET 3.5 • C# 2.0: Anonymous methodsand nullable types

  24. Code URL support • Navigate to code://mscorlib/System.Object via IE • Ctrl+Alt+C to copy the URL for current item • Add to HTML pages using <a href=“code://…”>

  25. Disassembler • Expand Methodsand Expand Types feature • Context-sensitive documentation view • Click on declaration jumps to item in the browser • Tab to cycle through links, Up/Down to scroll • Context-based automatic variable naming

  26. Analyzer • Add and analyze multiple items (DEL to remove) • “Exposed By” and “Instantiated By” search • “Assigned By” search for fields

  27. Search String or Constant search Exact matching of multiple words

  28. Assembly Lists Default lists for: .NET Framework 3.5 .NET Framework 3.0 .NET Compact Framework 3.5 .NET Compact Framework 2.0 XNA Framework 1.0 DirectX for Managed Code Mono

  29. Resource Viewer View all kinds of resources: js, html, bmp, png, cur… Save byte arrays in .resources file to disk

  30. Examples • Let's get our hands dirty • Mission 1 • What’s the data structure used by SortedList<T>? • Mission 2 • Investigate the life cycle of an ASP.NET Page • Mission 3 • See the Javascript used by GridView

More Related