You are previewing Microsoft® Visual Studio® 2012 Unleashed, Second Edition.
O'Reilly logo
Microsoft® Visual Studio® 2012 Unleashed, Second Edition

Book Description

Microsoft Visual Studio 2012 significantly improves developer productivity across virtually all application lifecycle management tasks, while providing first-class support for Windows 8, Windows Phone, WindowsRT, and Windows Azure cloud development. This end-to-end deep dive will help working developers squeeze maximum productivity out of Microsoft’s powerful new toolbox.

The authors combine authoritative and detailed information about Microsoft’s latest IDE, with extensive insights and best practices drawn from decades of development experience. Developers will quickly get comfortable with Visual Studio 2012’s revamped interface and discover multiple opportunities to leverage the updated .NET 4.5 platform it supports.

By focusing entirely on Visual Studio 2012 Professional, the authors have gone deeper into Microsoft’s core product than ever before. You’ll find expert coverage of everything from debugging through refactoring, automation through enterprise-class development. Throughout, this book’s focus is relentlessly practical: how to apply Microsoft’s tools to build better software, faster.

Detailed information on how to...

·         Use Visual Studio 2012’s new interface to significantly improve your productivity

·         Make the most of VS 2012’s new WPF-based code editor

·         Work with solutions, projects, browsers, explorers, and designers

·         Create modern “Windows Store” applications for Windows 8 and Windows RT apps with VS 2012 and Windows Runtime Library

·         Develop websites with ASP.NET, ASP.NET MVC, and the Razor View Engine

·         Create richer, smarter user interfaces for software of all types

·         Build robust service oriented architecture (SOA)-based systems

·         Construct data-centric applications with LINQ and Entity Framework

·         Develop SharePoint and other Microsoft Office business applications

·         Write Windows Azure applications that live in the cloud

·         Instrument, analyze, and test your software

·         Refactor code for greater robustness, maintainability, and performance

·         Leverage brand-new improvements to Windows Workflow and Windows Communication Foundation

               Use VS 2012’s one-click web deployment capabilities

               Extend VS 2012 with Managed Extensibility Framework (MEF) and Automation Object Model

Table of Contents

  1. Title Page
  2. Copyright Page
  3. Contents at a Glance
  4. Table of Contents
  5. About the Authors
  6. Dedications
  7. Acknowledgments
  8. We Want to Hear from You!
  9. Reader Services
  10. Introduction
    1. Who Should Read This Book?
    2. How Is This Book Organized?
    3. Conventions Used in This Book
  11. Part I: An Introduction to Visual Studio 2012
    1. Chapter 1. A Quick Tour of Visual Studio 2012
      1. The Visual Studio Product Line
      2. Languages, Frameworks, and Application Templates
      3. Developing Rich(er) Clients
      4. Creating Web Clients
      5. Making the Client Choice
      6. Coding for the Cloud
      7. Working with Data
      8. Write Connected, Service-Oriented Solutions
      9. Summary
    2. Chapter 2. The Visual Studio IDE
      1. Installing Visual Studio
      2. Getting Started
      3. Creating Your First Project
      4. Navigating the IDE
      5. Managing the Many Windows of the IDE
      6. Summary
    3. Chapter 3. The .NET Languages
      1. Language Primer
      2. Language Features
      3. Asynchronous Programming
      4. The .NET Framework
      5. Summary
  12. Part II: An In-Depth Look at the IDE
    1. Chapter 4. Solutions and Projects
      1. Understanding Solutions
      2. Getting Comfortable with Projects
      3. Summary
    2. Chapter 5. Browsers and Explorers
      1. Leveraging the Solution Explorer
      2. Class View
      3. Server Explorer
      4. Object Browser
      5. Document Outline
      6. Summary
    3. Chapter 6. Introducing the Editors and Designers
      1. Getting Started with the Basics
      2. Coding with the Code Editor
      3. Creating and Editing XML Documents and Schema
      4. Working with Cascading Style Sheets
      5. Developing Windows Client Applications
      6. Developing Web Forms
      7. Authoring WinForms Components and Controls
      8. Creating Classes with the Class Designer
      9. Summary
    4. Chapter 7. The .NET Community: Interacting Online
      1. The Community Features of Visual Studio
      2. Accessing Help
      3. Discovering and Consuming Shared Content
      4. Participating in the Community
      5. Summary
  13. Part III: Writing and Working with Code
    1. Chapter 8. Working with Visual Studio’s Productivity Aids
      1. Basic Aids in the Text Editor
      2. Outlining and Navigation
      3. Smart Tags and Smart Tasks
      4. IntelliSense
      5. The Task List
      6. Summary
    2. Chapter 9. Testing Code
      1. Unit Testing Basics
      2. The Unit Testing Framework
      3. Writing ASP.NET Hosted Unit Tests
      4. Creating Ordered Tests
      5. Summary
    3. Chapter 10. Refactoring Code
      1. Visual Studio Refactoring Basics
      2. Renaming Code
      3. Extract Method
      4. Extract Interface
      5. Refactor Parameters
      6. Encapsulate Field
      7. Summary
    4. Chapter 11. Debugging Code
      1. Debugging Basics
      2. The Visual Studio Debugger
      3. Advanced Debugging Scenarios
      4. Summary
    5. Chapter 12. Deploying Code
      1. An Overview of Client Deployment Options
      2. Publishing a Project with ClickOnce
      3. Publishing a Project with InstallShield Limited Edition
      4. Publishing an ASP.NET Web Application
      5. Summary
  14. Part IV: Extending Visual Studio
    1. Chapter 13. Introducing the Automation Object Model
      1. An Overview of the Automation Object Model
      2. Solution and Project Objects
      3. Working with Windows
      4. Command Bars
      5. Documents
      6. Command Objects
      7. Debugger Objects
      8. Automation Events
      9. Summary
    2. Chapter 14. Writing Add-Ins and Wizards
      1. Creating Your First Add-In Project
      2. The Structure of an Add-In
      3. A Sample Add-In: Color Palette
      4. Creating a Visual Studio Wizard
      5. Summary
    3. Chapter 15. Extending the Code Editor Using Managed Extensibility Framework
      1. The Extensibility Problem
      2. MEF Architecture
      3. The Visual Studio Editor and MEF
      4. Creating Your Own MEF-Based Editor Extension
      5. Summary
  15. Part V: Creating Enterprise Applications
    1. Chapter 16. Creating ASP.NET Form-Based Applications
      1. The Basics of an ASP.NET Website
      2. Designing Your User Interface
      3. Working with the ASP.NET Controls
      4. Building a Richer UI with ASP.NET AJAX
      5. Summary
    2. Chapter 17. Building Websites with Razor and ASP.NET MVC
      1. Building ASP.NET Web Pages with Razor
      2. Creating ASP.NET MVC Websites
      3. Adding Features to an ASP.NET MVC Application
      4. Summary
    3. Chapter 18. Building Windows Forms Applications
      1. The Basics of Form Design
      2. Creating a Form
      3. Adding Controls and Components
      4. Creating Your Own Controls
      5. Summary
    4. Chapter 19. Creating Richer, Smarter User Interfaces
      1. The Windows Presentation Foundation Platform
      2. Introducing the WPF Designer
      3. Programming with WPF
      4. Building a Simple Image Viewer Application
      5. Summary
    5. Chapter 20. Working with Databases
      1. Creating Tables and Relationships
      2. Working with SQL Statements
      3. Using Database Projects
      4. Creating Database Objects in Managed Code
      5. Binding Controls to Data
      6. Object Relational Mapping
      7. Summary
    6. Chapter 21. Service-Oriented Applications
      1. Service Fundamentals
      2. Building HTTP Services Using the ASP.NET Web API
      3. WCF Service Applications
      4. Summary
    7. Chapter 22. Embedding Workflow in Your Applications
      1. Windows Workflow Fundamentals
      2. Working with the Built-In Workflow Activities
      3. Creating a Workflow Application
      4. Summary
    8. Chapter 23. Developing Office Business Applications
      1. An Overview of Office Extension Features
      2. Creating an Office Add-In
      3. Creating an Office Document Extension
      4. Summary
    9. Chapter 24. Developing Applications in the Cloud with Windows Azure
      1. The Azure Management Portal
      2. Deploying a Website to the Cloud
      3. Creating a Cloud Service in Visual Studio
      4. Summary
    10. Chapter 25. Writing Windows Store Applications Using the Windows Runtime Library
      1. Introducing Windows 8 and the Modern UI
      2. The Windows Runtime Library
      3. Building a Windows Store Application
      4. Summary
  16. Index
  17. Ad Pages