19
Fri, Jul
2 New Articles

New Features in Visual Studio 2017

Programming - Other
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

The latest version of VS offers enhancements for performance, mobile and cloud app dev, and more.

Visual Studio is Microsoft's flagship development IDE for software developers wanting to develop applications that they can leverage at the managed environment. The latest version of this IDE is Visual Studio 2017, released to the public on March 7, 2017. You can take advantage of Visual Studio 2017 to build and manage applications for Android, iOS, Windows, Linux, Web, and the cloud.

This article presents an overview of the new features and enhancements in Visual Studio 2017 with special focus on the improved developer experience that this IDE provides.

System Requirements

The minimum software requirements for you to have Visual Studio 2017 running on your system is Windows 7 or later with a minimum of 2 GB of RAM, though 4 GB of RAM is recommended. I use 16 GB in my laptop, and Visual Studio 2017 works just fine.

Here's a quick look at the hardware requirements and supported operating systems.

Hardware Requirements

  • 2 GB of RAM (4 GB recommended)
  • 1 GB to 40 GB of available hard disk space (this actually depends on the features you install)

Supported Operating Systems

  • Windows 10 version 1507 or higher
  • Windows 8.1 (with Update 2919355)—Basic, Professional, and Enterprise Editions
  • Windows 7 SP1 with the latest updates installed—Home Premium, Professional, Enterprise, and Ultimate Editions
  • Windows Server 2016—Standard and DataCenter Editions
  • Windows Server 2012 R2 (with Update 2919355)—Essentials, Standard, and Datacenter Editions

You can download a copy of Visual Studio 2017 from the Visual Studio downloads page. You may also want to take a look at the What’s New page and the release notes.

New Features and Enhancements

Let’s explore the changes that have been made in Visual Studio 2017.

Performance Improvements

Visual Studio 2017 loads faster and needs less memory than its earlier counterparts. The setup experience while installing Visual Studio 2017 is awesome; you can just install the features you need. In essence, Microsoft's Visual Studio 2017 provides a simple, lightweight, modular installation experience that can be customized as needed. This much-improved setup experience enables a much faster installation.

You can optimize the IDE start time even further by using Visual Studio Performance Center. To invoke this option, click on the Help > Manage Visual Studio Performance option from the menu bar in the Visual Studio 2017 IDE. To improve the start-up performance, you may want to turn off the extensions and tools that may impact the start-up time.

 New Features in Visual Studio 2017 - Figure 2

Figure 1: Manage Visual Studio performance

To decrease the solution load time for solutions that have many projects, you can take advantage of the Lightweight Solution Load option. This feature comes in handy in situations where you have many projects for your solution and you would not be working with all the projects at one time. With this feature, you no longer need to wait for Visual Studio to load all the projects. To leverage this feature, turn the Lightweight Solution Load feature by clicking on Tools > Options > Projects and Solutions.

 New Features in Visual Studio 2017 - Figure 1

Figure 2: Lightweight Solution Load

Developer Productivity Improvements

Many productivity enhancements made in Visual Studio 2017 boost developer experience. The Roaming Extensions Manager is a nice new feature that tracks all the extensions that you install and then lets you select the ones you would like to add in the Roaming list. To use this feature, click on Tools > Extensions & Updates > Roaming Extensions Manager.

 

 New Features in Visual Studio 2017 - Figure 4

Figure 3: Roaming Extensions Manager

Live Architecture dependency validation is a new feature that provides real-time notifications when there are architectural dependency rule violations. In essence, this feature enables you to validate your architectural dependencies in real time.

Live Unit Testing is an excellent new feature that runs your unit tests while you make changes in your source code. The best thing is that you can get the live unit test results and code coverage while you are writing your code in the IDE. Live Unit Testing supports MSTest, xUnit, and NUnit unit testing frameworks and C# and VB.NET projects. You can write your unit tests first and then write code that conforms to the acceptance criteria as mentioned in those unit tests. I’ve tried using this feature in my system, and the best thing I observed is that Visual Studio IDE doesn’t block. You can continue to work as usual while your unit tests are executed in the background.

Visual Studio 2017 comes with enhancements in code editing, navigation, and debugging. Let's take a quick tour of these enhancements. Intellisense has been improved; the new Intellisense filtering feature enables you to narrow down the selection by category. If you’re working in C#, you can press Alt+P to narrow down to properties. If you would like to filter out the extension methods, you can press Alt+M instead.

 New Features in Visual Studio 2017 - Figure 4

Figure 4: Intellisense

Navigation has also improved a lot in Visual Studio 2017. You can now filter down your search quickly and easily. Take advantage of the Go To option to navigate easily from a particular type to its various implementations. You can locate the symbols, files, methods, and types in your source code using the Go To All feature. To invoke the Go To feature, press Ctrl+F12. Invoke the Go To All feature by pressing Ctrl+T.

The Find All References feature is invoked by pressing Shift+F12. It finds all references for you quickly and easily, even in complex codebases. You can also take advantage of its advanced searching, grouping, sorting, and filtering features.

Debugging and diagnostics have been improved as well. The Run to Click option enables you to just click on the icon next to a line of code so as to execute the code and stop at the line you want. To enable or disable this feature, click on Debug > Options > Enable Run to Click. The Performance Profiler has been updated and can attach to a running process. The CPU Usage tool now provides better insights; you can have your functions ranked by their CPU usages.

Find out more about the productivity enhancement features here.

Cloud Application Development

Visual Studio 2017 enables you to build applications for both on-premise and cloud seamlessly. You can use the connected services to enable connectivity between your application and any on-premise or cloud service available.

Mobile Application Development

Visual Studio 2017 also includes improvements to mobile application development. Visual Studio 2017 includes Xamarin 4.3. You can now create rich native applications using C# for iOS, Android, and Windows. New Xamarin project templates have been added, and there are enhancements to Cordova development as well. You also have the Visual Studio Mobile Center and a set of cloud services that can be used for building mobile applications.

Summary

Visual Studio 2017 is the latest edition of Microsoft's flagship development platform. In this article, we explored some of the new features and enhancements to this IDE and learned how we can make best use of it. Happy reading!

Joydip Kanjilal

Joydip Kanjilal is a Principal Software Engineer in Hyderabad, India.

Read my blog

Awarded the prestigious Microsoft Most Valuable Professional (MVP) award in ASP.NET six times in a row from the year 2007 to 2012. A speaker and author of several books and articles with over 18 years of industry experience in IT and more than 14 years in Microsoft .NET and its related technologies.

Currently working as a Principal Software Engineer at DELL International Services at Hyderabad. Was selected as an MSDN Featured Developer of the Fortnight (MSDN) a number of times and also Community Credit Winner at www.community-credit.com several times.

Authored the following books:

·  Entity Framework Tutorial (Second Edition) by Packt Publishing

·  ASP.NET Web API: Build RESTful Web Applications and Services on the .NET Framework by Packt Publishing

·  Visual Studio 2010 and .NET 4 Six-in-One by Wrox Publishers

·  ASP.NET 4.0 Programming by McGraw Hill Publishing

·  Entity Framework Tutorial by Packt Publishing

·  Pro Sync Framework by APRESS

·  Sams Teach Yourself ASP.NET AJAX in 24 Hours by Sams Publishing

·  ASP.NET Data Presentation Controls Essentials by Packt Publishing

Also reviewed more than 10 books and authored more than 350 articles for some of the most reputable sites, such as www.msdn.microsoft.com, www.code-magazine.com, www.asptoday.com, www.devx.com, www.ddj.com, www.aspalliance.com, www.aspnetpro.com, www.sql-server-performance.com, www.sswug.com, and so on.

Has years of experience in designing and architecting solutions for various domains. His technical strengths include C, C++, VC++, Java, C#, Microsoft .NET, AJAX, WCF, JQuery, ASP.NET Web API, REST, SOA, Design Patterns, SQL Server, Operating Systems, and Computer Architecture. Has been exploring Cloud technologies, IoT and Machine learning these days.

Blog: http://www.infoworld.com/blog/microsoft-coder

Website: www.joydipkanjilal.com

Twitter: https://twitter.com/joydipkanjilal

Facebook: https://www.facebook.com/joydipkanjilal

LinkedIn: http://in.linkedin.com/in/joydipkanjilal

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: