ebook img

Microsoft Visual Studio 2015 - Unleashed PDF

2266 Pages·2016·51.784 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Microsoft Visual Studio 2015 - Unleashed

About This eBook ePUB is an open, industry-standard format for eBooks. However, support of ePUB and its many features varies across reading devices and applications. Use your device or app settings to customize the presentation to your liking. Settings that you can customize often include font, font size, single or double column, landscape or portrait mode, and figures that you can click or tap to enlarge. For additional information about the settings and features on your reading device or app, visit the device manufacturer ’s Web site. Many titles include programming code or configuration examples. To optimize the presentation of these elements, view the eBook in single-column, landscape mode and adjust the font size to the smallest setting. In addition to presenting code and configurations in the reflowable text format, we have included images of the code that mimic the presentation found in the print book; therefore, where the reflowable format may compromise the presentation of the code listing, you will see a “Click here to view code image” link. Click the link to view the print-fidelity code image. To return to the previous page viewed, click the Back button on your device or app. ® ® Microsoft Visual Studio 2015 Unleashed Lars Powers Mike Snell 800 East 96th Street, Indianapolis, Indiana 46240 USA ® ® Microsoft Visual Studio 2015 Unleashed Copyright © 2016 by Pearson Education, Inc. All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein. ISBN-13: 978-0-672-33736-9 ISBN-10: 0-672-33736-3 Library of Congress Control Number: 2015907636 Printed in the United States of America First Printing August 2015 Editor-in-Chie f Greg Weigand Acquisitions Editor Joan Murray De ve lopme nt Editor Mark Renfrow Managing Editor Kristy Hart Proje ct Editor Elaine Wiley Copy Editor Gill Editorial Services Inde xe r Heather McNeill Proofre ade r Jess DeGabriele Te chnical Editor Christophe Nasarre-Soulier Editorial Assistant Cindy Teeters Cove r De signe r Mark Shirar Compositor Nonie Ratcliff Trade marks All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Warning and Disclaime r Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an “as is” basis. The authors and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the CD or programs accompanying it. Spe cial Sale s For information about buying this title in bulk quantities, or for special sales opportunities (which may include electronic versions; custom cover designs; and content particular to your business, training goals, marketing focus, or branding interests), please contact our corporate sales department at [email protected] or (800) 382-3419. For government sales inquiries, please contact [email protected]. For questions about sales outside the U.S., please contact [email protected]. Contents at a Glance Introduction Part I Introducing Visual Studio 2015 1 A Quick Tour of Visual Studio 2015 2 The Visual Studio IDE 3 The .NET Languages Part II An In-De pth Look at the IDE 4 Solutions and Projects 5 Browsers and Explorers 6 Introducing the Editors and Designers Part III Working with the Visual Studio Tools 7 Working with Visual Studio’s Productivity Aids 8 Testing Code 9 Refactoring Code 10 Debugging Code 11 Deploying Code 12 Developing Applications in the Cloud with Windows Azure 13 Working with Databases Part IV Exte nding Visual Studio 14 Introducing the Automation Object Model 15 Extending the IDE 16 Extending the Code Editor Part V Building We b Applications 17 Building Modern Websites with ASP.NET 5 18 Using JavaScript and Client-Side Frameworks 19 Building and Consuming Services with Web API and WCF Part VI Building Windows Clie nt Apps 20 Building Windows Forms Applications 21 Building WPF Applications 22 Developing Office Business Applications Part VII Cre ating Mobile Apps 23 Developing Windows Store Applications 24 Creating Windows Phone Applications 25 Writing Cross-Platform Mobile Applications with Apache Cordova Index Table of Contents Introduction Part I Introducing Visual Studio 2015 1 A Quick Tour of Visual Studio 2015 The Visual Studio Product Line Community Edition Professional Edition Enterprise MSDN TFS and Related Tools Languages and Frameworks Programming Language Choices The .NET Framework The Many Faces of a .NET Application Windows Web Mobile Developing Windows 8/10 Clients Windows (WinForms) Windows Presentation Foundation (WPF) Office/SharePoint Solutions Creating Web Applications with ASP.NET 5 Building Websites with Web Forms Developing with MVC/Razor Creating a Single Page Application (SPA) Coding Web Services with Web API Coding for Azure Creating a Cloud Application Publishing to Azure Working with Data Model as Code (Code First) Writing Mobile Apps Create an Apache Cordova App Summary 2 The Visual Studio IDE Installing Visual Studio Installing Optional Features Signing In to Visual Studio Managing Your IDE Settings Specify Stored and Synchronized Settings Change Color Theme Manually Import/Export and Change Default IDE Settings Switch IDE User Getting Started Startup Options Creating Your First Project Targeting Your Environment Navigating the IDE The Menus The Many Toolbars Customizing Toolbars The Solution Explorer The Text Editors The Visual Designers The Toolbox The Properties Window Managing the Many Windows of the IDE Pinning Docking Custom Window Layouts Navigating IDE Windows Touch Support Customize Your IDE Font Providing Feedback on Visual Studio The Customer Experience Program Summary 3 The .NET Language s What’s New in C# 6.0 and VB 14 Null-Conditional Operators ReadOnly Auto Properties NameOf Expression Using (Imports) Statics String Interpolation Lambda Expressions as Methods (C# Only) Index Initializers (C# Only) Language Primer Programming Objects Types, Variables, and Constants Understanding Operators Making Decisions and Branching Code Looping Working with Groups of Items Programming with Attributes Creating and Raising Events Language Features Infer a Variable’s Data Type Based on Assignment Create an Object and Initialize Its Values (Object Initializers) Define a Collection and Initialize Its Values Creating an Instance of a Nonexistent Class Add Methods to Existing Classes (Extension Methods) Add Business Logic to Generated Code (Partial Methods) Access and Query Data Using the .NET Languages Write Simple Unnamed Functions Within Your Code (Lambda Expressions) Splitting an Assembly Across Multiple Files Working with XML Directly Within Your Code (VB Only) Removing Unused Arguments from Event Handlers (VB Only) Creating an Automatically Implemented Property Dropping the Underscore in VB for Line Continuation Working with Dynamic Languages/Objects Covariance and Contravariance Asynchronous Programming The .NET Framework A Map to the .NET Framework Summary Part II An In-De pth Look at the IDE 4 Solutions and Proje cts Understanding Solutions Creating a Solution Working with Solutions Getting Comfortable with Projects Creating a Project

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.