Visual Studio 11: New Features Roundup
Tim Huckaby and Cameron Skinner, General Manager – Visual Studio Ultimate at Microsoft, discuss the Visual Studio 11 Dev Preview. Cameron talks about the exciting new features coming that developers can expect, especially in the Application Lifecycle Management (ALM) toolset like: requirements storyboarding tool, managing product backlog through web portal, feature to keep devs in the zone and more!
- Storyboarding Tab inside PowerPoint: make sure requirements flow through the system. Nail down the requirements before you start development. More info
- Web Portal: Manipulate Backlog in TFS through a rich reworked web front-end that enables rich features for developers and project teams. More info
- My Work: a feature to help the developer to stay “in the zone” but when they do have to change context we can get them back to speed when they return, quickly. More info
Watch the article here.
What’s New for C# Developers
MSDN: The Async feature provides an easy and intuitive way to write asynchronous code. This feature makes asynchronous programming almost as straightforward as synchronous programming.
Previously, writing asynchronous code has required you to define callbacks (also referred to as continuations) to capture what occurs after asynchronous operations finish. This complicates your code, and makes routine tasks, such as exception handling, awkward and difficult. By using the Async feature, you can call asynchronous methods without writing continuations, and without splitting your code across multiple methods or lambda expressions. The compiler does the hard work for you.
The feature introduces two new keywords, async and await. The async modifier specifies that a method is an async method. When called, an async method returns a Task or Task(Of TResult), which represents the ongoing work of the method. The task contains information that the caller of the asynchronous method can use, such as the status of the task and its unique ID.
Typically, the await operator is applied to the returned task. The await operator suspends execution of the method that called the asynchronous method until the task is completed. In the meantime, control is returned to the caller of the suspended method.
For more information, see Asynchronous Programming with Async and Await (C# and Visual Basic).
Support for ECMAScript 5 and the HTLM5 DOM.
Parameter Help improvements. You can provide IntelliSense for fields, function overloads, and variables by using /// code comments.
Signatures in statement completion. You can see function signatures on the right side of the statement completion list.
Immediate feedback. IntelliSense includes statement completion for identifiers in the active document when accurate information about objects is not available. For more information, see Statement Completion for Identifiers.
Breakpoints. You can set breakpoints on specific locations in a single line of code. For example, in the code var y = 5; var x = 10;, you can just set the breakpoint on var x = 10;.
Script Loader. Delay-loaded scripts are now loaded in the development environment, which allows IntelliSense to provide information about the script objects.
Brace matching. Matching braces are highlighted when the cursor is on the left side of an opening brace or on the right side of a closing brace.
Outlining. New navigational aids include collapsible functions in the editor.
Read more here.