0%

Book Description

Over 30 recipes to successfully mix the powerful capabilities of Visual Studio 2013 with .NET 4.5

In Detail

Visual Studio 2013 enables you to develop and manage consumer-focused and business-oriented apps. It provides best-in-class tools that propel developers to create new apps or evolve existing ones. In conjunction, .NET 4.5 provides expansive capabilities for developers to work on all forms of apps and services, from client to mobile and from web to cloud, enabling them to focus solely on business logic rather than architecture.

This practical guide teaches you how to work with new changes in technology under the arena of .NET. It provides in-depth analysis and expert advice on various elements of .NET, applying them in code using detailed practical examples, and helping you understand the entire technology in easy, small steps. This book provides solutions to common development problems that you as a developer often face, thereby helping you to adapt the latest technologies as well as get grips on modern app development using .NET 4.5.

What You Will Learn

  • Get to grips with Visual Studio 2013 IDE and its various components utilizing its tools to debug your code better
  • Understand the Windows Phone 8 development environment and gain practical experience on app development on the platform
  • Create service-oriented applications using WCF and study advanced use cases on implementing a RESTful service with WCF
  • Test your application inside Visual Studio 2013 IDE and advanced use case scenarios to handle testing issues
  • Effectively utilize the various components of Team Foundation Server for better management of code
  • Extend Visual Studio 2013 IDE to add your own custom changes enhancing your experience
  • Discover the advanced usage of cloud computing with Windows Azure and its various components

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Visual Studio 2013 and .NET 4.5 Expert Cookbook
    1. Table of Contents
    2. Visual Studio 2013 and .NET 4.5 Expert Cookbook
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
        3. Instant updates on new Packt books
    7. Preface
      1. What this book covers
      2. What you need for this book
        1. Who this book is for
      3. Conventions
      4. Reader feedback
      5. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. A Guide to Debugging with Visual Studio
      1. Introduction
      2. Debugging source code using breakpoints
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Changing the execution step while debugging
          2. Labeling a breakpoint
          3. Adding a condition in breakpoints
          4. Exporting breakpoints
          5. Breakpoint hit counters
          6. Adding tracepoints while debugging
          7. Filtering breakpoints
      3. Using DataTips during debugging
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Importing/Exporting DataTips
          2. Clearing DataTips
          3. Working with debugger visualizers
          4. Inspecting different Watch windows
            1. Autos
            2. Locals
            3. Watch windows
            4. Creating an object ID
          5. Working with the Error List window
      4. Debugging a multithreaded program
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. How to Flag Just My Code
          2. Debugging parallel programs
          3. What are PDB files and what do they contain?
        5. See also
      5. Exploring the Command and Immediate windows
        1. How to do it...
        2. How it works…
        3. There's more…
          1. The differences between the Command and Immediate windows
        4. See also…
      6. Making use of IntelliTrace in Visual Studio
        1. How to do it…
        2. How it works…
        3. There's more…
          1. Saving an IntelliTrace file
          2. Reducing the size of trace files
          3. Working with Debugger Canvas
      7. Debugging a .NET program using the framework library source
        1. How to do it…
        2. How it works…
      8. Debugging a process that is already deployed
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
          1. Calling a debugger using code
    9. 2. Enhancements to WCF 4.5
      1. Introduction
      2. Understanding Windows Communication Foundation (WCF) by creating a basic application
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Understanding IMetadataExchange endpoint and adding it to the application
          2. Using DataContract in a service
          3. Using the svcutil tool to generate proxy classes
        5. See also
      3. Hosting a WCF service in different hosting environments
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. What is Windows Process Activation Services (WAS)?
        5. See also
      4. Streaming data over a network using a WCF service
        1. How to do it...
        2. How it works...
      5. Writing a REST-based WCF service
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Working with WebSockets in WCF
        4. See also
      6. Creating a WCF service using the Open Data Protocol standards
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Consuming OData services
          2. Securing the OData application behind a valid authentication
            1. Consuming the OData service
        5. See also
      7. Extending a WCF service (service extensibility)
        1. Getting ready
        2. How to do it...
        3. How it works…
    10. 3. Building a Touch-sensitive Device Application Using Windows Phone 8
      1. Introduction
      2. Building your first Windows Phone 8 application following the MVVM pattern
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Using ApplicationBar on the app
          2. Tombstoning
      3. Working with Launchers and Choosers in Windows Phone
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Adding Windows Phone toolkit to the solution
          2. Creating alarms and reminders
          3. Working with the calendar in Windows Phone
        5. See also
      4. Working with relational databases and persistent storage
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Encrypting data before storing it in the filesystem
          2. Working with the settings file in Windows Phone applications
          3. Reading a file from an SD card in the Windows Phone application
        5. See also
      5. Working with notifications in Windows Phone
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Learning about other tile formats
        5. See also
    11. 4. Working with Team Foundation Server
      1. Introduction
        1. Installing TFS
      2. Configuring TFS for project hosting and management
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. How to add a work item to the TFS
          2. How to add an e-mail notification to the TFS
          3. Configuring Agile iterations to a TFS project
      3. Working with branching and merging in Team Foundation Server
        1. How to do it...
        2. How it works...
        3. There's more…
          1. Inspecting a visualizer to check TFS branching
            1. Branch visualization
            2. Changeset visualization
        4. See also
      4. Creating TFS-scheduled jobs
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. See also
    12. 5. Testing Applications Using Visual Studio 2013
      1. Introduction
      2. Understanding Visual Studio unit test projects
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Testing private types and members
          2. Using code coverage results
          3. Dealing with test-driven development in Visual Studio
        5. See also
      3. Working with the Microsoft Fakes framework in Visual Studio
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      4. Understanding how Coded UI testing works in Visual Studio
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. How to drive a test using predefined data
          2. How to analyze UI tests
        5. See also
    13. 6. Extending the Visual Studio IDE
      1. Introduction
      2. Working with T4 templates in Visual Studio
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating multiple output files using T4 templates
          2. Optimizing code generation using T4 templates and its easy syntaxes
        5. See also
      3. Working with Managed Extensibility Framework to write editor extensions
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating a SmartTag extender using MEF
      4. Creating Visual Studio Package for tool windows and editor menus
        1. Getting ready
        2. How to do it...
        3. How it works...
    14. 7. Understanding Cloud Computing with Windows Azure
      1. Introduction
      2. Working with various storage options in Windows Azure
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Combining Blobs and Queues for Big Data sequential processing
          2. Choosing the best Azure Storage based on the type of use
        5. See also
      3. Creating, updating, and deploying a cloud service in Windows Azure
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Using DataMarkets for your applications
      4. Working with SQL Azure
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Running transactional queries from the portal
        5. See also
      5. Working with HDInsight (Hadoop) for Big Data processing
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Working with Mobile Services in Windows Azure
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Calling a custom API from Mobile Services
          2. Uploading big files to Mobile Services
    15. Index
3.14.251.57