Pages

Friday, July 17, 2015

New Feature in Visual Studio 2015 RC

Introduction

In this Visual Studio 2015 RC have major changes ever, an integrated suite of developer productivity tools, cloud services, and extensions that enable you and your team to create great apps and games for the web, for Windows Store, for the desktop, for Android, and for iOS. This article highlights some of the most important features in visual studio IDE.New Feature in Visual Studio 2015 RC

Description

1) Sign In across multiple accounts

You can work with multiple user accounts in Visual Studio by adding them as you go or through the new Account Manager. Then, you can switch between those accounts on the fly when connecting to services or accessing online resources. Visual Studio remembers the accounts you add so you can use them from any instance of Visual Studio or Blend.

Figure1: You can add multiple accounts in visual studio by clicking on Add an account link2) Choose your target platform(s)Visual Studio 2015 supports cross-platform mobile device development. You can write apps and games that target iOS, Android, and Windows and share a common code base, all from within the Visual Studio IDE. You’ll see all these new project types in the File, New Project dialog.And also support for classic desktop applications is better than ever, with lots of improvements to languages, libraries, and tools. Below are different platform.• Cross-platform mobile apps in C# with Xamarin for Visual Studio• Cross-platform mobile apps in HTML/CSS/JavaScript with Apache Cordova• Cross-platform mobile games in C# with Unity• Classic desktop and Windows Store• Cross-platform mobile games in C# with Unity• Cross-platform apps and libraries for native C++• WebASP.NET 5 is a major update to MVC, Web API and SignalR, and runs on Windows, Mac, and Linux. ASP.NET 5 has been designed from the ground up to provide you with a lean and composable .NET stack for building modern cloud-based apps. The Visual Studio 2015 RC tooling is more closely integrated with popular web development tools such as Bower and Grunt3) Live code analysis (Light Bulbs)In Visual Studio 2015 RC, light bulbs display in the left margin (when using the keyboard) or a tool tip (when hovering over an error with the mouse). The light bulb tells in real time that the compiler (possibly using a custom rule set) has detected an issue in your code and also has a suggestion for how to fix the issue. When you see a light bulb, click on it for actionable suggestions

Figure-2 Live code analysis - image reference from MSDN site4) Design your UI The Blend experience for designing XAML user interfaces has been significantly enhanced. Blend has been completely redesigned to provide a more intuitive UI, more powerful XAML editing capabilities, and better integration with Visual Studio.5) Diagnose Issue• Advance BreakpointsBreakpoints in the debugger are significantly more configurable, and the UI for interacting with breakpoints is consolidated into a peek window so that you never have to leave the code editor

Figure 3- Breakpoints with expression condition -Image reference from MSDN site• Performance TipsPerformance tips display the execution time of methods during debugging, enabling you to quickly spot bottlenecks without having to invoke the profiler

Figure 4- Elapsed time -Image reference from MSDN site• Error ListThe error List now supports filtering on any column. It is also scalable enough to show a live view of errors, warnings, and code analysis across your entire C# or Visual Basic solution as you type, even when a code change produces thousands of warnings. The new Error List is back-compatible with existing usage.• GPU Usage ToolThe GPU Usage Tool helps you collect and analyze GPU usage data in DirectX apps and games and troubleshoot whether performance bottlenecks are originating in the CPU or GPU.6) Connect To ServiceAdd Connected Service wizard also integrates with the new Account Manager to make it easy to work with multiple user accounts and subscriptions. In Visual Studio 2015 RC, support for the following services is provided out of the box (assuming that you have an account):• Azure Mobile Services• Azure Storage• Office 365 (mail, contacts, calendars, files, users & groups)• Salesforce

Figure-5 Add Connected Service- Image reference from MSDN site7) Synchronized Settings (Roaming Settings)Visual Studio 2015 improves on this experience by synchronizing more of your settings and synchronizing settings across Visual Studio family of applications like Professional, Enterprise, Express SKUs, and Blend. Setting includes Settings for some of the most commonly configured settings such as Text Editor, Key bindings, Theme & Fonts & Colors, Startup, and Environment Aliases 8) High Resolution Images and Touch SupportThe Visual Studio IDE now has true high resolution images on denser displays (in areas like menus, context menus, tool window command bars, and in some projects in Solution Explorer). And on a touch-screen in the Visual Studio code editor window, you can now use gestures such as touch and hold, pinch, tap and so on to zoom, scroll, select text, and invoke context menus.9) Title Case MenuVisual Studio menus are once again title-case by default. However if you happen to like the ALL CAPS style, you can set it on start up or in the Tools > Options > General property page:

Figure-6 Title Case Menu- Image reference from MSDN site10) Custom LayoutsYou can create store and roam custom window layouts. For example, you can define one preferred layout for use on your desktop machine, and different layout for use on a laptop or small screen device. Or you may prefer one layout for a UI project and another for a database project. Key bindings enable you to rapidly switch between layouts. These layouts are available on any instance of Visual Studio when you are signed in.

Figure-7 Custom Layout- Image reference from MSDN site11) Notification Hub The UI for the notification hub has been streamlined to make it easier to scan quickly. Additional kinds of notifications have been added including performance issues, rendering issues, and crashes, and you can now tell Visual Studio to stop showing a notification.

Figure-8 Notification Hub- Image reference from MSDN site12) Code Lens: Find what happened to your code (Enterprise and Professional editions only)You can review changes and other history for work items, bugs, code reviews, and so on for code that’s stored in Visual Studio Online (VSO) or in Team Foundation Server (TFS).In Visual Studio Enterprise and Visual Studio Professional, you can now:• Get history for an entire code file in the Visual Studio editor.

Figure-9 Code Lens- Image reference from MSDN site• See a graph that shows the people who changed your code. This can help you find patterns in your team's changes and assess their impact.

Figure-10 Code Lens- Image reference from MSDN site• Easily see when your code was last changed.• Find changes in other branches that affect your code.ReferenceMain Reference: MSDN library https://msdn.microsoft.com for image reference alsoConclusionThis article covers almost all new general features of Visual Studio 2015 RC IDE. Visual Studio by default provides support for C#, C and C++, JavaScript, F#, and Visual Basic. Third parties as well as Microsoft offer extensions to support many other languages, including Python, Unity for Game and Apache Cordova. Hope you enjoy this article.

No comments:

Post a Comment

Friday, July 17, 2015

New Feature in Visual Studio 2015 RC

Introduction

In this Visual Studio 2015 RC have major changes ever, an integrated suite of developer productivity tools, cloud services, and extensions that enable you and your team to create great apps and games for the web, for Windows Store, for the desktop, for Android, and for iOS. This article highlights some of the most important features in visual studio IDE.New Feature in Visual Studio 2015 RC

Description

1) Sign In across multiple accounts

You can work with multiple user accounts in Visual Studio by adding them as you go or through the new Account Manager. Then, you can switch between those accounts on the fly when connecting to services or accessing online resources. Visual Studio remembers the accounts you add so you can use them from any instance of Visual Studio or Blend.

Figure1: You can add multiple accounts in visual studio by clicking on Add an account link2) Choose your target platform(s)Visual Studio 2015 supports cross-platform mobile device development. You can write apps and games that target iOS, Android, and Windows and share a common code base, all from within the Visual Studio IDE. You’ll see all these new project types in the File, New Project dialog.And also support for classic desktop applications is better than ever, with lots of improvements to languages, libraries, and tools. Below are different platform.• Cross-platform mobile apps in C# with Xamarin for Visual Studio• Cross-platform mobile apps in HTML/CSS/JavaScript with Apache Cordova• Cross-platform mobile games in C# with Unity• Classic desktop and Windows Store• Cross-platform mobile games in C# with Unity• Cross-platform apps and libraries for native C++• WebASP.NET 5 is a major update to MVC, Web API and SignalR, and runs on Windows, Mac, and Linux. ASP.NET 5 has been designed from the ground up to provide you with a lean and composable .NET stack for building modern cloud-based apps. The Visual Studio 2015 RC tooling is more closely integrated with popular web development tools such as Bower and Grunt3) Live code analysis (Light Bulbs)In Visual Studio 2015 RC, light bulbs display in the left margin (when using the keyboard) or a tool tip (when hovering over an error with the mouse). The light bulb tells in real time that the compiler (possibly using a custom rule set) has detected an issue in your code and also has a suggestion for how to fix the issue. When you see a light bulb, click on it for actionable suggestions

Figure-2 Live code analysis - image reference from MSDN site4) Design your UI The Blend experience for designing XAML user interfaces has been significantly enhanced. Blend has been completely redesigned to provide a more intuitive UI, more powerful XAML editing capabilities, and better integration with Visual Studio.5) Diagnose Issue• Advance BreakpointsBreakpoints in the debugger are significantly more configurable, and the UI for interacting with breakpoints is consolidated into a peek window so that you never have to leave the code editor

Figure 3- Breakpoints with expression condition -Image reference from MSDN site• Performance TipsPerformance tips display the execution time of methods during debugging, enabling you to quickly spot bottlenecks without having to invoke the profiler

Figure 4- Elapsed time -Image reference from MSDN site• Error ListThe error List now supports filtering on any column. It is also scalable enough to show a live view of errors, warnings, and code analysis across your entire C# or Visual Basic solution as you type, even when a code change produces thousands of warnings. The new Error List is back-compatible with existing usage.• GPU Usage ToolThe GPU Usage Tool helps you collect and analyze GPU usage data in DirectX apps and games and troubleshoot whether performance bottlenecks are originating in the CPU or GPU.6) Connect To ServiceAdd Connected Service wizard also integrates with the new Account Manager to make it easy to work with multiple user accounts and subscriptions. In Visual Studio 2015 RC, support for the following services is provided out of the box (assuming that you have an account):• Azure Mobile Services• Azure Storage• Office 365 (mail, contacts, calendars, files, users & groups)• Salesforce

Figure-5 Add Connected Service- Image reference from MSDN site7) Synchronized Settings (Roaming Settings)Visual Studio 2015 improves on this experience by synchronizing more of your settings and synchronizing settings across Visual Studio family of applications like Professional, Enterprise, Express SKUs, and Blend. Setting includes Settings for some of the most commonly configured settings such as Text Editor, Key bindings, Theme & Fonts & Colors, Startup, and Environment Aliases 8) High Resolution Images and Touch SupportThe Visual Studio IDE now has true high resolution images on denser displays (in areas like menus, context menus, tool window command bars, and in some projects in Solution Explorer). And on a touch-screen in the Visual Studio code editor window, you can now use gestures such as touch and hold, pinch, tap and so on to zoom, scroll, select text, and invoke context menus.9) Title Case MenuVisual Studio menus are once again title-case by default. However if you happen to like the ALL CAPS style, you can set it on start up or in the Tools > Options > General property page:

Figure-6 Title Case Menu- Image reference from MSDN site10) Custom LayoutsYou can create store and roam custom window layouts. For example, you can define one preferred layout for use on your desktop machine, and different layout for use on a laptop or small screen device. Or you may prefer one layout for a UI project and another for a database project. Key bindings enable you to rapidly switch between layouts. These layouts are available on any instance of Visual Studio when you are signed in.

Figure-7 Custom Layout- Image reference from MSDN site11) Notification Hub The UI for the notification hub has been streamlined to make it easier to scan quickly. Additional kinds of notifications have been added including performance issues, rendering issues, and crashes, and you can now tell Visual Studio to stop showing a notification.

Figure-8 Notification Hub- Image reference from MSDN site12) Code Lens: Find what happened to your code (Enterprise and Professional editions only)You can review changes and other history for work items, bugs, code reviews, and so on for code that’s stored in Visual Studio Online (VSO) or in Team Foundation Server (TFS).In Visual Studio Enterprise and Visual Studio Professional, you can now:• Get history for an entire code file in the Visual Studio editor.

Figure-9 Code Lens- Image reference from MSDN site• See a graph that shows the people who changed your code. This can help you find patterns in your team's changes and assess their impact.

Figure-10 Code Lens- Image reference from MSDN site• Easily see when your code was last changed.• Find changes in other branches that affect your code.ReferenceMain Reference: MSDN library https://msdn.microsoft.com for image reference alsoConclusionThis article covers almost all new general features of Visual Studio 2015 RC IDE. Visual Studio by default provides support for C#, C and C++, JavaScript, F#, and Visual Basic. Third parties as well as Microsoft offer extensions to support many other languages, including Python, Unity for Game and Apache Cordova. Hope you enjoy this article.