Mastering Visual Studio 2017
eBook - ePub

Mastering Visual Studio 2017

Kunal Chowdhury

Share book
  1. 466 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Mastering Visual Studio 2017

Kunal Chowdhury

Book details
Book preview
Table of contents
Citations

About This Book

A guide to mastering Visual Studio 2017About This Book• Focus on coding with the new, improved, and powerful tools of VS 2017• Master improved debugging and unit testing support capabilities• Accelerate cloud development with the built-in Azure toolsWho This Book Is For.NET Developers who would like to master the new features of VS 2017, and would like to delve into newer areas such as cloud computing, would benefit from this book. Basic knowledge of previous versions of Visual Studio is assumed.What You Will Learn• Learn what's new in the Visual Studio 2017 IDE, C# 7.0, and how it will help developers to improve their productivity• Learn the workloads and components of the new installation wizard and how to use the online and offline installer• Build stunning Windows apps using Windows Presentation Foundation (WPF) and Universal Windows Platform (UWP) tools• Get familiar with.NET Core and learn how to build apps targeting this new framework• Explore everything about NuGet packages• Debug and test your applications using Visual Studio 2017• Accelerate cloud development with Microsoft Azure• Integrate Visual Studio with most popular source control repositories, such as TFS and GitHubIn DetailVisual Studio 2017 is the all-new IDE released by Microsoft for developers, targeting Microsoft and other platforms to build stunning Windows and web apps. Learning how to effectively use this technology can enhance your productivity while simplifying your most common tasks, allowing you more time to focus on your project. With this book, you will learn not only what VS2017 offers, but also what it takes to put it to work for your projects.Visual Studio 2017 is packed with improvements that increase productivity, and this book will get you started with the new features introduced in Visual Studio 2017 IDE and C# 7.0. Next, you will learn to use XAML tools to build classic WPF apps, and UWP tools to build apps targeting Windows 10. Later, you will learn about.NET Core and then explore NuGet, the package manager for the Microsoft development platform. Then, you will familiarize yourself with the debugging and live unit testing techniques that comes with the IDE. Finally, you'll adapt Microsoft's implementation of cloud computing with Azure, and the Visual Studio integration with Source Control repositories.Style and approachThis comprehensive guide covers the advanced features of Visual Studio 2017, and communicates them through a practical approach to explore the underlying concepts of how, when, and why to use it.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Mastering Visual Studio 2017 an online PDF/ePUB?
Yes, you can access Mastering Visual Studio 2017 by Kunal Chowdhury in PDF and/or ePUB format, as well as other popular books in Computer Science & Microsoft Programming. We have over one million books available in our catalogue for you to explore.

Information

Year
2017
ISBN
9781787280656
Edition
1

What is New in Visual Studio 2017 IDE?

Visual Studio 2017 is the new IDE for developers released by Microsoft. It not only focuses on building applications targeting the Microsoft platform, but it can also be used to build applications using C++, Python, and so on. In short, it will be an IDE for every developer who needs to build apps on any platform.
Visual Studio 2017 will help you save time and effort for all the tasks that you want to do with your code, be it code navigation, refactoring, code fixes, debugging, IntelliSense, or unit testing of your module. Not only from the code perspective, but it will also streamline your real-time architectural dependency validation and provide stronger support for the integration of source code repositories, such as TFS (Team Foundation Server) or Git.
It comes with a brand new lightweight installation experience that modularizes the need to improve your efficiency of the fundamental tasks with a faster IDE access to a new way of viewing, editing, debugging, and testing your code.
Not only the common code editing features, but Visual Studio 2017 also comes with Xamarin, which will help you build mobile applications for Android, iOS, and Windows, more quickly and easily than ever. You can also choose the path to build mobile apps with Visual C++ or Apache Cordova, the cloud's first applications powered by Microsoft Azure.
In this chapter, we will cover the new installation experience, as well as the new features and enhancements that Microsoft has added to Visual Studio 2017. The following are the topics that we will discuss in this chapter:
  • The new installation experience:
    • Overview of the new installation experience
    • Installation using the online installer
    • Creating an offline installer of Visual Studio 2017
    • Installing Visual Studio 2017 from the command line
    • Modifying your existing Visual Studio 2017 installation
    • Uninstalling Visual Studio 2017 installation
    • Signing in to Visual Studio 2017
  • The new features and enhancements to the Visual Studio IDE:
    • Overview of the redesigned start page
    • The improved code navigation tool
    • Changes to Find All References of an instance
    • Structural guidelines
    • Editor config
    • The Roaming Extension Manager
    • Open folders in a convenient way
    • The Lightweight Solution Loading
    • The Connected Services
    • Acquiring tools and features by using the In-Product Acquisition
    • The Run to Click feature
    • Improved Attach to Process with process filtering
    • The new Exception Helper
    • Adding conditions to Exception Settings
    • Updates to the Diagnostic Tools

The new installation experience

In this section, we will discuss the various workloads and components of Visual Studio 2017's new installation experience. The basic installer that comes in the web-only mode allows you to select the components that you want to install before it downloads them. This saves you a lot of bandwidth. We will cover them here.
Unlike the previous versions of Visual Studio, you will not find an Offline Installer for Visual Studio 2017. You need to manually create it, which you can use to install Visual Studio 2017 without internet connectivity. This can be done by creating a layout using the web installer. Although the download size of the offline installer is big, it saves you the time and bandwidth when you want to install it on multiple devices.
In this section, we will learn how to configure and install different workloads or components using the online and offline installers. We will then continue to learn the ways to modify or uninstall the Visual Studio installation, as well as signing in to the IDE for a synced workspace setting across devices.
Before going into depth, let's see the system requirements to install Visual Studio 2017:
  • Visual Studio 2017 will install and run on the following operating systems:
    • Windows 10 version 1507 or higher to build apps for Universal Windows Platform (UWP)
    • Windows Server 2016
    • Windows 8.1 (with Update 2919355)
    • Windows Server 2012 R2 (with Update 2919355)
    • Windows 7 SP1 (with the latest Windows Updates)
  • Here's the hardware requirements:
    • 1.8 GHz or faster processor. It's recommended to have dual core or higher.
    • At least 2 GB of RAM, minimum 2.5 GB if running in a Virtual Machine. It's recommended to have 4 GB of RAM.
    • It's recommended to have 1 GB to 40 GB HDD space, based on the features you are going to install.
    • Visual Studio will work best at a resolution of WXGA (1366 by 768) or higher.

Overview of the new installation experience

The new version of the installer that is used to install Visual Studio 2017 allows you to control the individual workload/module that you need. Unlike the previous versions of the installer, it does not take more installation space; rather, it allows you to do a basic installation, having a few hundred MBs only for the core editor to install. On a need basis, you can select the workload or the individual module.
The Workloads screen will allow you to select the module that you want to install. If you want to build applications targeting Windows 10 only, you should go with Universal Windows Platform development. Consider the following screenshot:
If you want to build applications for Python or Node.js, the respective workloads are there to help you install the required components. Consider the following screenshot:
We will discuss more about the installation steps in the next point, where we will see how to install Visual Studio 2017 using the online installer.

Installation using the online installer

You can go to https://www.visualstudio.com/downloads/ and select the V...

Table of contents