In August, Microsoft released .NET Core 2.0 and ASP.NET Core 2.0. The updated version of .NET Core comes with several new APIs. It even enables developers to port these APIs to .NET Standard Library without writing additional code. The developers even have option to port .NET Core 2.0 across devices and platforms. Likewise, ASP.NET Core 2.0 comes with a new coding paradigm called Razor Views. The developers can use Razor View as a lightweight version of MVC to create simple web pages with a single file containing models and controllers.
Microsoft complements .NET Core 2.0 and ASP.NET Core 2.0 with an updated version of Visual Studio. Visual Studio 2017 Version 15.3 provides a set of new APIs for the updated versions of .NET Core and ASP.NET Core. At the same time, it comes with an array of new features to facilitate development of smarter ops, help enterprises to adopt DevOps, and improve application testing and debugging. Hence, it becomes essential for developers to understand the new features and enhancements provided by the latest version of Visual Studio 2017.
New Features and Enhancements in the Latest Version of Visual Studio 2017
.NET Framework 4.7
The updated version of Visual Studio supports .NET Framework 4.7. It also provides several new tools for platforms supporting .NET 4.7 runtime. The development tools help programmers to avail improvements related to ASP.NET, BCL, CLR, ClickOnce, SQL, networking, workflow, Windows Forms, and WPF. The developers can even run their existing applications seamlessly on the latest version of .NET Framework.
The latest version of Visual Studio 2017 supports C++ language services and comes with Visual C++ toolset and libraries. At the same time, it supports C# 7.1 and its new language features. The programmers can use the latest version of Visual Studio to take advantage of several new language features provided by C# 7.1 including default expressions, async main methods, pattern-matching with Generics and default literals. They can further use the development tools provided by the IDE to write high quality C# code.
Azure Functions and Sign-in
The updated version of Visual Studio 2017 comes with several features to simplify Azure development. The tools provided by the IDE makes it easier for programmers to write C# Azure functions. The developers can even use the tools to create pre-compiled C# Azure functions that start faster than conventional script-based functions. The developers can also use Azure sign-in to access a variety of Azure services.
Built-in Continuous Delivery Tools
The updated version of Visual Studio does not require developers to use continuous delivery tools as extensions. The programmers can now avail continuous delivery tools as an integral part of Visual Studio. They can use the tools provided by the IDE to configure continuous integration builds and deployment of the build to Azure App Service. At the same time, they have option to configure continuous delivery for ASP.NET and ASP.NET Core projects by targeting Azure App Service.
Improved Container Support
The developers can now use Visual Studio 2017 to develop containers across many platforms. The attest version of Visual Studio supports content development on .NET Core with Windows and Linux. Also, it allows developer to build containers for .NET Framework apps with Windows Containers. At the same time, the developers can use robust tools provided by the IDE to debug .NET applications more efficiently in containers.
While using the latest version of Visual Studio 2017, the developers can use an improved version of Visual Studio Editor and .NET Editor. The new keyboard accessibility menu included in the Visual Studio Editor enables developers to access the accessibility tips and tricks documentation through a shortcut. Likewise, the users can use the dedicated UI to select the desired debugger in open folder scenarios.
Visual Studio 2017 further reduces solution load to make it easier for programmers to increase build stability and speed. At the same time, the updated version of .NET IDE comes with a number of new code fixes and refactoring. The developers can further name the variables easily based on the variable names suggested by IntelliSense.
The updated version of Visual Studio Editor comes with several improvements and fixes. The developer can use the updated editor to scroll and navigate manually while adding a large number of errors. Likewise, they have option to switch from high contrast themes to a new variant of the Blue theme. The editor even allows developers to navigate between adornments smoothly while using a screen reader. They can see line annotations and navigate through multiple annotations simply through shortcuts.
Debugging and Diagnostic Tools
The latest version of Visual Studio 2017 allows developers to download symbols for Visual Studio Team Services Symbol Server and set the symbol paths to the development environment. The developers can even keep pressing the Ctrl key to resume application debugging each time debugging stops at an endpoint. They can even use the new templates for Open Folder to choose from three distinct types of debuggers – native, managed and mixed. Visual Studio 2017 even allows developers to use live unit testing feature for .NET Core, ASP.NET Core, and .NET Standard projects.
SQL Server Data Tools
Visual Studio 2017 comes with features to make SQL Server a cross-platform RDBMS. The SQL Server Data tools provided by the IDE make it easier for developers to work with various versions of SQL Server, SQLDB, and DW on Azure. Also, Microsoft has fixed a number of issues found in Redgate Data Tools, SQL Prompt, and SQL search.
Improved Python and R Tools
The latest version of Visual Studio comes with a number of new features for Python and R programming languages. While working with Python, programmers can avail features like improved localization, and improved accessibility in keyboard navigation, screen readers, and high contrast. Likewise, the R programmers can avail features like improved IntelliSense experience, better Azure connectivity, and improved accessibility.
Microsoft has already released the first preview of Visual Studio 2017 Version 15.3. The upcoming version of Visual Studio 2017 will support .NET Standard 2.0 and come with features to accelerate development of Windows Universal Apps. Hence, the dot net developers need to monitor each new features provided by each upcoming version of Visual Studio 2017.
In 2016, Microsoft released .NET Core 1.0 as an open source, cross-platform, and modular platform for developing a variety of modern software applications. It has been updating .NET Core regularly to meet the emerging trends in software development. The company recently made two beta preview versions of .NET Core 2.0 for Windows, Linux, and MacOS available to developers for testing and evaluation. Based on the first and second preview of .NET Core 2.0, we can identify the important new features and changes.
Important .NET Core 2.0 Changes and Enhancements
Optimized Code Reuse
.NET Core 2.0 aims to make programmers more productive and enable them to use code more efficiently. The new APIs provided by the platform will make it easier for programmers to reuse their existing .NET Framework code. At the same time, .NET Core 2.0 also allows developers to refer to .NET Framework libraries and NuGet packages through .NET Standard.
Uniform Naming Scheme
.NET Core 2.0 supports three major platforms – Windows, Linux, and MacOS. It even provides a uniform naming scheme for packages and installers across these platforms. The developers now have option to name filenames for various runtimes by adding the prefix dotnet-runtime. Likewise, they can add the prefix dotnet-sdk while creating SDKs for various platforms.
New Programming Language Support
.NET Core 1.0 supports two programming languages – C# and F#. The upcoming version of the platform will support Visual Basic in addition to C# and F#. Hence, the developers will have option to write applications and libraries for .NET Core 2.0 in C#, F#, or VB.
Many .NET programmers use Windows Communication Foundation (WCF) to build various service-oriented applications. The developers now have option to use WCF for .NET Core 2.0. The upgraded version of WCF is designed based on .NET Standard 2.0. It further comes with several new features and APIs, while supporting SOAP header. The developers can even use the upcoming version of ECF to implement Windows authentication on Linux and MacOS through Http transport.
.NET Core Tools
While developing applications with .NET Core 2.0, programmers can take advantage of .NET Core Tools. These tools make it easier for developers to use .NET Core 2.0 on command-line. Also, they can avail these tools as built-in components of Visual Studio 2017. These tools will help programmers to create custom software applications rapidly with .NET Core 2.0.
.NET Core 2.0 will make it easier for developers to build, test, and deploy software applications in the cloud. It now supports Azure App Services extensively. Microsoft has already rolled out .NET Core 2.0 to Azure App Services. The developers can avail Azure App Services to troubleshoot various cloud-based development and deployment issues.
Microsoft has simplified algorithm and rewritten many operators to make .NET Core 2.0 the fastest application runtime. Hence, the developers can use the upcoming version of .NET Core to speed up applications without implementing various performance optimization techniques. The faster runtime will further contribute towards making .NET Core more popular.
.NET Standard 2.0
.NET Core 2.0 enables programmers to share code, binaries, and skills across a number of platforms through .NET Standard 2.0. The developers can use .NET Standard 2.0 to share resources across .NET Framework, .NET Core, Xamarin, and Universal Windows Platform (UWP). .NET Standard 2.0 further comes with over 20000 new APIs and NuGet packages, while allowing programmers to refer to .NET framework libraries.
Visual Studio 2017
The programmers can use Visual Studio 2017 to build and run .NET Core 2.0 applications efficiently. Hence, they can use Visual Studio 2017 to build and run both .NET Core 1.0 and 2.0 applications. Also, the robust IDE helps programmers to retarget their existing .NET Core 1.0 application to .NET Core 2.0 by following some simple steps.
Microsoft is expected to release .NET Core 2.0 officially in Q4 2017. The dot net developers must remember that .NET Core 2.0 is not a stable release. They must not install the beta preview editions of NET Core 2.0 on a production machine. But they can still evaluate the latest preview version and provide their feedback to enhance .NET Core 2.0. Also, the programmers can use Visual Studio 2017 Preview version 15.3 to evaluate the apps developed with the beta preview versions of .NET Core 2.0.