Google Analytics

Search This Blog

Thursday, March 23, 2017

Visual Studio 2017 Release Preview

https://channel9.msdn.com/Events/Visual-Studio/Visual-Studio-2017-Launch/100

During the keynote, Julia Liuson, Corporate VP, Microsoft, said that the core vision for Visual Studio over the past few years is to support developers in building applications for all platforms.

There are 1,700 people contributed to the development of Visual Studio as a product.


The latest four (4) Key areas of focus of Visual Studio are:

I.) Fundamentals - performance.
II.) Cloud
III.) Mobile - acquired Xamarin in year 2016
IV.) DevOps





Case Study: Huawei

Huawei is a Microsoft company compares to Oracle who is a Java company.

Huawei uses Visual Studio:

I.) Has 80 k developers
II.) Has 1 gigabyte and 24,000 source files



Key Highlights of Visual Studio 2017:



1) Live Unit Testing

Live Unit Testing is a capability in the Visual Studio 2017 Enterprise edition that displays unit test results and code coverage live in the editor. It supports MSTest, xUnit, and Nunit for C# and VB projects targeting .NET Framework.

https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes#LiveUnitTesting

2) Code Suggestion

Part of the Coding Convention Configuration and Enforcement feature - as soon as the configuration and enforcement are set as rules - whilst coding, suggestions will pop-up pertaining to the rules whenever matching situation arises - for instance, the choice between usage of “var” or explicit types.

This is helpful for team whereby all members get to program codes in a standardized format determined by the team leader.

https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes#csharpvb

3) Code Refactoring

In computer science, code refactoring is referring to decomposition. In terms of programming, one way to achieve refactoring is to rewrite multiple lines of codes into lesser lines of codes.

IDE would come with automated code refactoring, in VS 2017, one of the feature is to simplify null-checks and throw-expressions using null-coalescing operator.

https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes#csharpvb

4) .NET Core

You can now use C# to write cross-platform codes.

This contains the 1.0 final release of the new MSBuild based .NET Core Tools. Using Visual Studio 2017, you can create .NET Standard libraries, .NET Core apps/libraries and ASP.NET web projects that use the new csproj format.

The tools are supported on Windows, macOS and Linux. You can use them at the command-line, with VS Code or as part of Visual Studio 2017.

https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes#dotnetcore

https://blogs.msdn.microsoft.com/dotnet/2017/03/07/announcing-net-core-tools-1-0/

Get started, check out the following video.

https://channel9.msdn.com/Blogs/dotnet/Get-started-VSCode-Csharp-NET-Core-Windows

5.) Xamarin

Xamarin is a tool to develop cross-platform mobile app using C# language.

Microsoft acquired Xamarin in 2016 and it was made available to Visual Studio 2015 since then.

https://blogs.microsoft.com/blog/2016/02/24/microsoft-to-acquire-xamarin-and-empower-more-developers-to-build-apps-on-any-device/#sm.00016rz7ofhjcdm1xd827mydx4ta2

Xamarin 4.3 is included in Visual Studio 2017. In addition to bug fixes, this release adds support for tvOS, improves the iOS Assets Catalog support, improves the XML editing experience, and adds selectors for SSL/TLS and HttpClient implementations when creating iOS apps

https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes#xamarin

6.) Visual Studio Mobile Center

It is a web site which serves as a mission control for mobile apps - also considered to be part of the DevOps ecosystem.

http://aka.ms/mobilecenter

For example, you can use it to launch IOS simulator from Windows.

Other features include automating testing on simulated and real mobile devices hosted at the data center.

It targets developers who are developing mobile apps using tools other than Xamarin and Visual Studio 2017.



7.) DevOps

To extend Visual Studio 2017 DevOps capabilities to SQL Server database development, Redgate Data Tools, comprising Redgate SQL Prompt Core, Redgate SQL Search, and Redgate ReadyRoll Core, are now available in the Data Storage and Processing workload.

In a nutshell, Redgate Data Tools are a set of tools to support DevOps for database.

https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes#Redgate



More on DevOps:

DevOps consists of a set of practices that help developers improve development process so that the end product provides a better value for the users.

The key pillars of DevOps are:

I.) Continuous delivery - the center piece of DevOps
II.) Automation

Nonetheless, DevOps faces challenges when it comes to real mission critical products and for a large development team which are usually still quite waterfall model based.

The key component of DevOps offering by Microsoft is the Team foundation server (TFS), which comes in two choices:

I.) Visual Studio Team Services - is the cloud based version of team foundation server - managed by Microsoft.
II.) The original Team foundation server (TFS) - you host it yourself.

Using Visual Studio 2017, one could go from zero to DevOps in 10 minutes.


DevOps allows one to easily shift-left and shift-right on ad-hoc basis, instead of going in a cycle - for instance, one doesn't need to wait for deployment before going back to debugging, just jump right into it.

Thanks for reading - all the best to you in your coding using Visual Studio 2017 !!!


No comments: