Scaffolding
With this update, scaffolding will correctly detect what are the versions of NuGet packages that the project is using. For example, if the project is still using ASP.NET MVC 5.1.2, then scaffolding will use 5.1.2, instead of 5.2.
JSON Editor
Auto formatting is now part of the JSON editor and is turned on by default.
Brace and brackets match highlighting are just like in C# and JavaScript editors now.
Supports more selector patterns
Drag and Drop Magic
Added drag-and-drop of fonts, images and.css files from solution explorer into .css files.
Added support for two-factor authentication in One ASP.NET templates for MVC and Web Forms.
There's more...
Visual Studio 2013 is new and improved.
Visual Studio 2013 provides support for Windows 8.1 App development.
It includes features to make it easier to develop across all Visual Studio languages and platforms: tools, controls and templates, new Coded UI test support for XAML apps, UI Responsiveness Analyzer and Energy Consumption profiler for XAML & HTML apps, enhanced memory profiling tools for HTML apps, and improved integration with the Windows Store.
Blend for XAML has been enhanced with significant new capabilities for Windows Store app design. Blend includes the addition of rulers and custom guides for more precise content layout as well as improved styling capabilities. Blend for HTML also inherits these enhancements and adds specific new capabilities for building Windows Store apps with HTML, such as the new timeline for animating changes in CSS.
Visual Studio 2013’s One ASP.Net unifies your web project experience so that you can create ASP.NET web applications using your preference of ASP.NET component frameworks in a single project. This new unified experience includes the ability to easily create hybrid applications that include improved versions of ASP.NET WebForms, MVC or Web API, all in a single project. Now you can mix and match the right tools for the job within your web projects, giving you increased flexibility and productivity when developing for the web.
‘Browser Link’ syncs HTML and CSS changes in Visual Studio with one or more open browsers‘Browser Link’ allows you to connect Visual Studio 2012 to one or more open browsers.
Enhanced scrollbars, to help developers be more productive, were incorporated into Visual Studio 2013.
Scrollbars can viewed in ‘map mode’.
In map mode, the traditional scroll bar is replaced by a visualization of the code in-place in the scroll position.
The visualization displays annotations, small color markers within the scrollbar showing areas of interest within your code, such as the current caret position, code changed since last save, the position of errors or warnings or the position of breakpoints within code.
The scroll bar can be viewed in a preview mode that turns the scrollbar into a shrunk down visualization of your code in-place in the scroll window. As you scroll the visualization synchronize with your code so you can more quickly find what you are looking for.
Visual Studio Online, the next evolution of Microsoft Team Foundation server, is a cloud-hosted application lifecycle management (ALM).
Use Visual Studio Online to plan, create, construct, build, test, and monitor seriously demanding applications, from anywhere. Use it to:
No more servers, unlimited load testing, easy to use – I love it!
More…
Visual Studio 2012’s JavaScript Strict Mode provides better error checking.
Strict Mode
Strict mode is a way to introduce better error-checking into your code. When you use strict mode, you cannot, for example, use implicitly declared variables, or assign a value to a read-only property, or add a property to an object that is not extensible.
For example, in the following example all the code is in strict mode, and the variable declaration outside the function causes the syntax error "Variable undefined in strict mode."
"use strict"; function testFunction(){ var testvar = 4; return testvar; } testvar = 5;
What’s new in Visual Studio 2013? For one thing, an old friend – edit and continue – for 64bit native application debugging.
Incorporating digital ink into Visual Basic WPF applications is done with the Microsoft.Ink DLL. Ink has evolved COM and Windows Forms to full integration into the WPF. You do not need to install separate SDKs or runtime libraries.
Below is an example of using procedural code with Ink. Ink can also be used with XAML.
Imports Microsoft.Ink Public Class Form1 Dim WithEvents myInkOverlay As InkOverlay Dim selectedMode As InkOverlayEditingMode Sub New() ' This call is required by the Windows Form Designer. InitializeComponent() myInkOverlay = New InkOverlay(Panel1) myInkOverlay.Enabled = True End Sub 'Back of pen erase Sub CursorInRangeEventHandler(ByVal sender As Object, ByVal e As InkCollectorCursorInRangeEventArgs) Handles myInkOverlay.CursorInRange 'If the pen is inverted, set mode to "delete" If (e.Cursor.Inverted) Then myInkOverlay.EditingMode = InkOverlayEditingMode.Delete Else 'Pen is not inverted, so select whatever mode the user requested myInkOverlay.EditingMode = selectedMode End If End Sub 'Ink mode radio button Sub InkRadioClickedHandler(ByVal sender As Object, ByVal e As EventArgs) Handles RadioButton1.CheckedChanged If (RadioButton1.Checked) Then selectedMode = InkOverlayEditingMode.Ink DoModeChange(InkOverlayEditingMode.Ink) End If End Sub 'Select mode radio button Sub SelectRadioClickedHandler(ByVal sender As Object, ByVal e As EventArgs) Handles RadioButton2.CheckedChanged If (RadioButton2.Checked) Then selectedMode = InkOverlayEditingMode.Select DoModeChange(InkOverlayEditingMode.Select) End If End Sub 'Delete mode radio button Sub DeleteRadioClickedHandler(ByVal sender As Object, ByVal e As EventArgs) Handles RadioButton3.CheckedChanged If (RadioButton3.Checked) Then selectedMode = InkOverlayEditingMode.Delete DoModeChange(InkOverlayEditingMode.Delete) End If End Sub 'Wire up delete mode buttons 'Delete entire stroke Sub StrokeRadioClickedHandler(ByVal sender As Object, ByVal e As EventArgs) Handles RadioButton4.CheckedChanged 'Can be called during Form construction, prior to myInkOverlay instantiation If (myInkOverlay Is Nothing) Then Return End If If (RadioButton4.Checked) Then myInkOverlay.EraserMode = InkOverlayEraserMode.StrokeErase End If End Sub 'Delete point(s) at pen tip only Sub PointRadioClickedHandler(ByVal sender As Object, ByVal e As EventArgs) Handles RadioButton5.CheckedChanged If (RadioButton5.Checked) Then myInkOverlay.EraserMode = InkOverlayEraserMode.PointErase End If End Sub Sub DoModeChange(ByVal NewMode As InkOverlayEditingMode) 'Can be called during Form construction, prior to myInkOverlay instantiation If (myInkOverlay Is Nothing) Then Return End If 'Switch the collection mode myInkOverlay.EditingMode = NewMode 'Switch the radio buttons to reflect new mode Select Case NewMode Case InkOverlayEditingMode.Ink RadioButton1.Checked = True RadioButton2.Checked = False RadioButton3.Checked = False Case InkOverlayEditingMode.Select RadioButton1.Checked = False RadioButton2.Checked = True RadioButton3.Checked = False Case InkOverlayEditingMode.Delete RadioButton1.Checked = False RadioButton2.Checked = False RadioButton3.Checked = True Case Else Throw New ArgumentOutOfRangeException() End Select End Sub End Class