You are previewing Visual Studio Condensed.
O'Reilly logo
Visual Studio Condensed

Book Description

Visual Studio 2013 is one of the most sophisticated integrated development environments in the world today. With hundreds of features and several different editions available, it can be hard to learn your way around, and hard to know whether you're using it to its full potential. Visual Studio Condensed gives you a quick and systematic guide to the features that matter most, tagged clearly according to their availability.

The book starts by familiarizing you with the main features of Visual Studio and how to configure the user interface depending on your needs. You'll then dive into each key developer tool in turn, starting with the editor window and going through the navigation pane, documentation, and the NuGet package manager. Debugging is a difficult skill to master with a range of approaches and tools at your disposal, so you'll see how to make best use of breakpoints, the debugging windows, tracing and managed memory analysis, as well as tips and tricks on advanced debugging techniques that can make a real difference to your productivity.

Visual Studio 2013 comes with sophisticated code improvement tools. You can visualize relationships in your code with the Code Map feature, find duplicated code to maximize your code reuse, and use Visual Studio's inbuilt list of metrics to figure out just how healthy your code is and how difficult or easy it will be to maintain. Testing is also made easy with unit testing and web performance tests as well as a Test Manager to organize your tests into test plans and suites. The final chapters of the book cover team work with Team Foundation Server, framework-specific features, and how to build your own Visual Studio extensions.

Table of Contents

  1. Cover
  2. Title
  3. Copyright
  4. Dedication
  5. Contents at a Glance
  6. Contents
  7. About the Author
  8. About the Technical Reviewer
  9. Acknowledgments
  10. Introduction
  11. Chapter 1 : Introducing Visual Studio
    1. Visual Studio Editions
      1. Visual Studio Express Edition
      2. Visual Studio Professional Edition
      3. Visual Studio Premium Edition
      4. Visual Studio Ultimate Edition
      5. Visual Studio Online
    2. Guided Tour of the Visual Studio UI
      1. The General UI
      2. The Start Page
      3. Pinning Panels
      4. Docking Panels
      5. Navigation
      6. Properties
      7. Command Window
      8. Immediate Window
      9. Error List
      10. The Object Browser
      11. Code vs. Debug View
      12. Smart Tag
      13. IntelliSense
      14. Code Snippet
      15. Find and Replace
    3. Summary
  12. Chapter 2 : Configuring Visual Studio
    1. Customizing Menus and Toolbars
      1. Menu
      2. Toolbars
    2. Visual Studio Options
      1. Environment
      2. Projects and Solutions
      3. Source Control
      4. Text Editor
      5. Debugging
      6. IntelliTrace Configuration
      7. Performance Tools
      8. Database Tools
      9. HTML Designer
      10. Package Manager
    3. Import and Export Settings
    4. Project Properties
      1. Application/Library
      2. Build
      3. Build Events
      4. Debug/Web
      5. Resources
      6. Signing
      7. Code Analysis
    5. Summary
  13. Chapter 3 : Development Tools
    1. The Editor Window
      1. C# IntelliSense
      2. JavaScript IntelliSense
      3. CSS IntelliSense
      4. Code Lens
      5. Peek Definition
      6. Go To Features
      7. Razor
      8. The Database Panel
      9. Report Designer
      10. The WPF Editor
      11. Resource Files
    2. Navigability
      1. Solution Explorer Class Navigation
      2. Navigating Methods in Solution Explorer
      3. Navigate To
      4. Quick Find and Find in Files
      5. Bookmark
      6. Search Solution Explorer
      7. The Pending Changes Filter
      8. The Enhanced Scrollbar
    3. Documentation
      1. C#
      2. Visual Basic
      3. Razor
      4. XAML
      5. Visual C++
    4. Deploying Your Code
      1. Web Deploy
      2. One Click Web Deployment
      3. Click Once
      4. Win8 Application Deployment
    5. NuGet
    6. Summary
  14. Chapter 4 : Debugging
    1. Breakpoints
      1. An Overview of Breakpoints
      2. Conditional Breakpoints, Breakpoint Filters, and Hit Counts
      3. Edit and Continue
    2. Attaching to a Process
    3. Debugging Windows
      1. The Output Window
      2. The Immediate Window
      3. The Watch Window
      4. The QuickWatch Window
      5. The Autos and Locals Windows
      6. The Breakpoints Window
      7. The Memory Window
    4. Advanced Debugging
      1. The Threads Window
      2. The Parallel Stacks Window
      3. The Modules Window
      4. The Process Window
      5. The Page Inspector
    5. Tracing
      1. Call Stack
      2. Code Map
      3. IntelliTrace
      4. Tracepoint
    6. Memory Analysis with Profiling
    7. Summary
  15. Chapter 5 : Code Improvement Tools
    1. Code Map
      1. Using Code Map for Methods
      2. Using Code Map for Libraries
    2. Finding Cloned Code
      1. How the Code Clone Analyzer Works
      2. Refining Results
      3. Limitations
      4. When to Use the Code Clone Analyzer
    3. Architecture Tools
      1. Editing
      2. UML and Validation
      3. Visualization
      4. Layer Diagrams
      5. Sequence Diagrams
      6. Class Diagrams
      7. Activity Diagrams
      8. Use Case Diagrams
      9. Component Diagrams
      10. Directed-Graph Diagrams
    4. Code Metrics
      1. Lines of Code
      2. Depth of Inheritance
      3. Class Coupling
      4. Cyclomatic Complexity
      5. Maintainability Index
    5. Static Code Analysis
      1. The Code Analysis Panel
      2. FxCop, StyleCop, and Code Analysis
    6. Summary
  16. Chapter 6 : Testing Your Applications
    1. Unit Testing and Code Coverage
      1. Unit Testing
      2. Code Coverage
      3. Microsoft Fakes
    2. Load Testing and Web Performance Testing
      1. Load Testing
      2. Web Performance Testing
    3. Testing Windows Store Applications
      1. Coded UI Test Project
      2. Visual Studio Remote Debugging
      3. Visual Studio 2013 Windows Phone Emulator
    4. Microsoft Test Manager
      1. Exploratory Testing
      2. Lab Center
    5. Summary
  17. Chapter 7 : Teamwork with Visual Studio
    1. How to Use TFS Source Control
      1. What Is a Branch?
      2. Merging Your Code
      3. Resolving Conflicts
      4. Change Tracking
      5. Checking In and Checking Out Code
      6. Viewing an Application’s History
      7. Labeling a Check-In
      8. Annotating Code
      9. Shelving Your Code
    2. Code Review
    3. Managing Your Work with Work Items
      1. Work Item Types
      2. Querying Work Items
      3. Multiple Workspace
    4. Visual Studio Integration with Different Development Processes
      1. Life Cycle with Scrum
      2. Life Cycle with Agile
      3. Life Cycle with CMMI
    5. Managing Your Project with the Web
    6. Build Server
    7. Summary
  18. Chapter 8 : Framework-Specific Features
    1. Web Frameworks
    2. The SharePoint Framework
    3. The Windows Forms (WinForms) Framework
      1. Changing WinForms Properties
      2. Laying Out a WinForm with Visual Studio
      3. Accessing Component Events with WinForms
    4. The WPF Framework
      1. The Visual Designer
      2. The WPF Properties Window
    5. Windows Store Applications
      1. What Is Microsoft Blend?
      2. Using JavaScript to Create Win 8 Apps
    6. Visual Studio WCF Tools
      1. Configuring the WCF Service
      2. Testing a WCF Service
      3. Consuming a WCF Service
    7. The Workflow Foundation Framework
      1. Building a Flowchart Workflow
      2. Building a Sequential Workflow
      3. Building a State Machine Workflow
    8. Visual Studio LightSwitch
    9. Visual Studio TypeScript
    10. Summary
  19. Chapter 9 : Extending Visual Studio
    1. Downloading and Exploring the Software Development Kit (SDK)
      1. What You Can Do with the SDK
      2. Installing VSPackages with Visual Studio
      3. VSIX Project Templates
      4. Uninstalling an Extension
      5. Visual Studio Shell Extensions
    2. T4 Templates
      1. Runtime T4 Templates
      2. Design-Time T4 Templates
      3. New Visual Studio 2013 Features for T4 Templates
    3. SideWaffle
      1. Extending Visual Studio with the SideWaffle Item Template
      2. Extending Visual Studio with the SideWaffle Project Template
    4. Browser Link Communication with Visual Studio
      1. Extending Visual Studio with Browser Link
    5. Customizing Code Snippets
    6. Creating Your Own HTML Smart Tag
      1. Creating a Smart Tag for the Code Editor
    7. Using an MSIL Disassembler
      1. Using ildasm.exe
      2. Using ILSpy
    8. Obfuscation Techniques to Protect Your Code
    9. Summary
  20. Index