{"id":704,"date":"2014-02-25T13:00:00","date_gmt":"2014-02-25T13:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/2014\/02\/25\/announcing-new-web-features-in-visual-studio-2013-update-2-ctp2\/"},"modified":"2022-08-09T02:39:22","modified_gmt":"2022-08-09T09:39:22","slug":"announcing-new-web-features-in-visual-studio-2013-update-2-ctp2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/announcing-new-web-features-in-visual-studio-2013-update-2-ctp2\/","title":{"rendered":"Announcing new Web Features in Visual Studio 2013 Update 2 CTP2"},"content":{"rendered":"<p><strong>Update 4\/21\/2014: please see <a href=\"http:\/\/blogs.msdn.com\/b\/webdev\/archive\/2014\/04\/02\/announcing-new-web-features-in-visual-studio-2013-update-2-rc.aspx\">http:\/\/blogs.msdn.com\/b\/webdev\/archive\/2014\/04\/02\/announcing-new-web-features-in-visual-studio-2013-update-2-rc.aspx<\/a> for Update 2&nbsp;RC web features.<\/strong><\/p>\n<p>Today, the Visual Studio team announced the release of <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=390521\">CTP2 of Visual Studio 2013 Update 2<\/a> .&nbsp; Our team added a few useful features and did some bug fixing in this update to improve the web development experience.&nbsp; We will have future blogs to talk about some of the features in detail.&nbsp; The <a href=\"http:\/\/www.asp.net\/visual-studio\/overview\/2013\/aspnet-and-web-tools-20132-preview-for-visual-studio-2013-release-notes\">release note<\/a> contains more details.<\/p>\n<h2>New SASS project item and editor<\/h2>\n<p>We added LESS in VS2013 RTM, and we now have a <a href=\"http:\/\/sass-lang.com\/\">SASS<\/a> project item and editor.&nbsp; SASS editor features are comparable to LESS editor, include colorization, variable and Mixins IntelliSense, comment\/uncomment, quick info, formatting, syntax validation, outlining, goto definition, color picker, tools option setting etc.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/3073.image_thumb_0BF0482F.png\"><img decoding=\"async\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/3073.image_thumb_0BF0482F.png\" alt=\"image\" width=\"703\" height=\"328\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/7282.image_thumb_793B4E77.png\"><img decoding=\"async\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/7282.image_thumb_793B4E77.png\" alt=\"image\" width=\"761\" height=\"268\" border=\"0\" \/><\/a><\/p>\n<h2>New JSON project item and editor<\/h2>\n<p>We have added a JSON project item and editor to Visual Studio.&nbsp; Current JSON editor features include colorization, syntax validation, brace completion, outlining, tools option setting and more.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/5008.image_thumb_3018336F.png\"><img decoding=\"async\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/5008.image_thumb_3018336F.png\" alt=\"image\" width=\"655\" height=\"775\" border=\"0\" \/><\/a><\/p>\n<h2>Create remote Azure resources option when creating a new Web project<\/h2>\n<p>We added a Windows Azure &ldquo;Create remote resources&rdquo; checkbox on the new web application dialog.&nbsp; By choosing it, you will be able to integrate the experience of creating a new web application, setting up the Windows Azure publishing site for testing, and creating publishing profile in a few simple steps.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/7563.image_thumb_2B357FB3.png\"><img decoding=\"async\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/7563.image_thumb_2B357FB3.png\" alt=\"image\" width=\"774\" height=\"574\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/8640.image_thumb_3F4E9C3C.png\"><img decoding=\"async\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/8640.image_thumb_3F4E9C3C.png\" alt=\"image\" width=\"497\" height=\"202\" border=\"0\" \/><\/a><\/p>\n<p>We also supports remote debugging for WAWS and remote view of Azure website content files in the server explorer.<\/p>\n<h2>ASP.NET Scaffolding<\/h2>\n<p>If your model is using Enums, then the MVC Scaffolder will generate dropdown for Enum. This uses the Enum helpers in MVC.<\/p>\n<p>Updated the EditorFor templates in MVC Scaffolding so they use the Bootstrap classes.<\/p>\n<p>MVC and Web API Scaffolders will add 5.1 packages for MVC and Web API<\/p>\n<h2>One ASP.NET Template changes<\/h2>\n<p>We updated ASP.NET templates to support Account Confirmation and Password Reset.<\/p>\n<p>We updated ASP.NET Web API template to support authentication using On Premises Organizational Accounts.<\/p>\n<p>ASP.NET SPA template now shows a template where the authentication is based on MVC and server side views. The template has a WebAPI controller which can only be accessed by authenticated users.<\/p>\n<h2>LESS editor improvements<\/h2>\n<p>We added features including nested media queries, named parameter support, support for selector interpolation, support for semicolons as parameter separators, goto definition for @import, goto definition of variables and mixins.<\/p>\n<h2>Knockout IntelliSense upgrade<\/h2>\n<p>We added a non-standard KnockOut syntax for VS intelliSense, &ldquo;ko-vs-editor viewModel:&rdquo; syntax.&nbsp; It can be used to bind to multiple view models on a page using comments in the form:<\/p>\n<div id=\"scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:428357cc-c758-4e38-b129-c97b343922e6\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px;padding: 0px;float: none\">\n<div style=\"border: #000080 1px solid;color: #000;font-family: 'Courier New', Courier, Monospace;font-size: 10pt\">\n<div style=\"background: #000080;color: #fff;font-family: Verdana, Tahoma, Arial, sans-serif;font-weight: bold;padding: 2px 5px\">Code Snippet<\/div>\n<div style=\"background: #ddd;max-height: 300px;overflow: auto\">\n<ol style=\"background: #ffffff;margin: 0 0 0 2em;padding: 0 0 0 5px\" start=\"1\">\n<li><span style=\"background: #ffffff;color: #006400\">&lt;!&#8211; ko-vs-editor viewModel: &lt;any javascript expression that evaluates to an object&gt; &#8211;&gt;<\/span><\/li>\n<li style=\"background: #f3f3f3\">&nbsp;<\/li>\n<li><span style=\"background: #ffffff;color: #006400\">&lt;!&#8211; \/ko-vs-editor &gt;<\/span><\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/1222.image_thumb_7C830D2E.png\"><img decoding=\"async\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/1222.image_thumb_7C830D2E.png\" alt=\"image\" width=\"505\" height=\"151\" border=\"0\" \/><\/a><\/p>\n<p>We also added support for nested ViewModel IntelliSense, so you may drill into deeply nested objects on the ViewModel.<\/p>\n<p>&lt;div data-bind=&rdquo;text: foo.bar.baz.etc&rdquo; \/&gt;<\/p>\n<p>The IntelilSense displayed is the full IntelliSense of the JavaScript Object.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/6518.image_thumb_57F17FAA.png\"><img decoding=\"async\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/6518.image_thumb_57F17FAA.png\" alt=\"image\" width=\"446\" height=\"231\" border=\"0\" \/><\/a><\/p>\n<h2>New URL Picker in HTML, Razor, CSS, LESS and SASS pages<\/h2>\n<p>VS 2013 shipped with no URL picker outside of WebForm pages.&nbsp; The new URL picker for HTML, Razor, CSS, LESS and SASS editors is a dialog-free, fluent typing picker that understands &lsquo;..&rsquo; and filters file lists appropriately for img&rsquo;s and links.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/2620.image_thumb_70811CFA.png\"><img decoding=\"async\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/2620.image_thumb_70811CFA.png\" alt=\"image\" width=\"337\" height=\"111\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/7026.image_thumb_4BEF8F76.png\"><img decoding=\"async\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/7026.image_thumb_4BEF8F76.png\" alt=\"image\" width=\"310\" height=\"167\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/8688.image_thumb_275E01F2.png\"><img decoding=\"async\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2014\/02\/8688.image_thumb_275E01F2.png\" alt=\"image\" width=\"403\" height=\"215\" border=\"0\" \/><\/a><\/p>\n<h2>Browser Link New Features<\/h2>\n<p>BrowserLink now supports HTTPS connections and will list that in Dashboard with other connections as long as the certificate is trusted by browser.<\/p>\n<h2>ASP.NET Web Forms<\/h2>\n<p>The Web Forms templates now show how to do Account Confirmation and Password Reset for ASP.NET Identity.<strong><\/strong><\/p>\n<p>Entity Framework Data Source and Dynamic Data Provider for Entity Framework 6. For more details please see&nbsp;<a href=\"http:\/\/blogs.msdn.com\/b\/webdev\/archive\/2014\/01\/30\/announcing-preview-of-dynamic-data-provider-and-entitydatasource-control-for-entity-framework-6.aspx\">http:\/\/blogs.msdn.com\/b\/webdev\/archive\/2014\/01\/30\/announcing-preview-of-dynamic-data-provider-and-entitydatasource-control-for-entity-framework-6.aspx<\/a><\/p>\n<h2>ASP.NET MVC 5.1.1, ASP.NET Web API 2.1.1 and ASP.NET Web Pages 3.1.1 are included<\/h2>\n<p>We announced <a href=\"http:\/\/blogs.msdn.com\/b\/webdev\/archive\/2014\/01\/20\/announcing-the-release-of-asp-net-mvc-5-1-asp-net-web-api-2-1-and-asp-net-web-pages-3-1.aspx\">ASP.NET MVC 5.1, ASP.NET Web API 2.1 and ASP.NET Web Pages 3.1<\/a> in January.&nbsp; We integrated that release with some minor <a href=\"https:\/\/aspnetwebstack.codeplex.com\/workitem\/list\/advanced?keyword=&amp;status=All&amp;type=All&amp;priority=All&amp;release=v5.1.1%20RTM&amp;assignedTo=All&amp;component=All&amp;sortField=AssignedTo&amp;sortDirection=Ascending&amp;page=0&amp;reasonClosed=All\">bug fixes<\/a> into VS 2013 Update 2 CTP2.<\/p>\n<h2>ASP.NET Identity<\/h2>\n<p>We integrated <a href=\"http:\/\/blogs.msdn.com\/b\/webdev\/archive\/2013\/12\/20\/announcing-preview-of-microsoft-aspnet-identity-2-0-0-alpha1.aspx\">Microsoft.AspNet.Identity 2.0-alpha1<\/a> into the new project templates.&nbsp; You can upgrade it to <a href=\"http:\/\/blogs.msdn.com\/b\/webdev\/archive\/2014\/02\/11\/announcing-preview-of-microsoft-aspnet-identity-2-0-0-beta1.aspx\">Microsoft.AspNet.Identity 2.0-beta1<\/a> to use two factor authentication and more features.<\/p>\n<h2>Entity Framework<\/h2>\n<p>We integrated <a href=\"http:\/\/blogs.msdn.com\/b\/adonet\/archive\/2013\/12\/20\/ef-6-1-alpha-1-available.aspx\">Entity Framework 6.1.0-alpha1<\/a> into the new project template.&nbsp; You can upgrade it to <a href=\"http:\/\/blogs.msdn.com\/b\/adonet\/archive\/2014\/02\/11\/ef-6-1-0-beta-1-available.aspx\">Entity Framework 6.1.0-beta1<\/a> to use the newest beta1 features.<\/p>\n<h2>Microsoft OWIN Components<\/h2>\n<p>We integrated stable version Microsoft OWIN Components (2.0.2) into the new project templates.&nbsp; You can upgrade it to 2.1.0.&nbsp; Please look at the release notes for the <a href=\"https:\/\/katanaproject.codeplex.com\/releases\/view\/113281\">latest stable version (2.1.0)<\/a> for more detailed information, which includes support for Google OAuth2 authentication and static file server.<\/p>\n<h2>NuGet<\/h2>\n<p>NuGet 2.8 RTM is included in this release.&nbsp; You can always get the latest NuGet extension for Visual Studio through the menu &ldquo;Tools-&gt;Extensions and Updates&hellip;&rdquo;.<\/p>\n<h2>ASP.NET SignalR<\/h2>\n<p>We included 2.0.2 NuGet package for SignalR .&nbsp; Please look at the release notes for more detailed information <a href=\"https:\/\/github.com\/SignalR\/SignalR\/releases\/tag\/2.0.2\">https:\/\/github.com\/SignalR\/SignalR\/releases\/tag\/2.0.2<\/a><\/p>\n<h2>Known Problems<\/h2>\n<p>Web Essential 2013 is <em><strong>not<\/strong><\/em> yet compatible with the Update 2 CTP2. If you install Update 2 CTP2, after opening Visual Studio, you&rsquo;ll get an error message &ldquo;EditorExtensionsPackage&rdquo; couldn&rsquo;t be loaded.&nbsp;&nbsp; Please visit <a href=\"http:\/\/madskristensen.net\/post\/visual-studio-update-2-and-web-essentials\">this web essential blog post<\/a> on how to get the compatible build for VS2013 Update 2 CTP2.<\/p>\n<p>When creating an App for SharePoint with an ASP.NET MVC web application, users will receive the following message:<\/p>\n<blockquote>\n<p>o <em>Error: this template attempted to load component assembly &#8216;Microsoft.VisualStudio.Web.Project, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8217;. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates<\/em><\/p>\n<p>o The workaround to create a new provider-hosted or autohosted app for SharePoint using an MVC web application is to follow the steps:<\/p>\n<ul>\n<li>Create a MVC web application project first.<\/li>\n<li>After the web project is created, right-click the project node to launch the context menu.<\/li>\n<li>In the context menu, select &ldquo;Convert&rdquo;, then choose &ldquo;Convert to App for SharePoint Project&hellip;&rdquo;.<\/li>\n<\/ul>\n<\/blockquote>\n<h2>Summary<\/h2>\n<p>We hope you can evaluate these new features and let us know about any bugs and suggestions.&nbsp; For VS features, please use <a href=\"http:\/\/connect.microsoft.com\/VisualStudio\">Connect<\/a> to submit bugs, <a href=\"http:\/\/aspnet.uservoice.com\/\">ASP.NET UserVoice<\/a> to submit and vote for suggestions, and the <a href=\"http:\/\/forums.asp.net\/\">ASP.NET Forums<\/a> for Q&amp;A.&nbsp; For MVC\/WebAPI\/WebPages issues, please submit any issues you encounter and feature suggestions for future releases on our <a href=\"http:\/\/aspnetwebstack.codeplex.com\/workitem\/list\/basic\">CodePlex site<\/a>. Thank you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update 4\/21\/2014: please see http:\/\/blogs.msdn.com\/b\/webdev\/archive\/2014\/04\/02\/announcing-new-web-features-in-visual-studio-2013-update-2-rc.aspx for Update 2&nbsp;RC web features. Today, the Visual Studio team announced the release of CTP2 of Visual Studio 2013 Update 2 .&nbsp; Our team added a few useful features and did some bug fixing in this update to improve the web development experience.&nbsp; We will have future blogs to talk [&hellip;]<\/p>\n","protected":false},"author":410,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[7436,7462],"class_list":["post-704","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","tag-visual-studio-2013","tag-visual-studio-2013-update-2"],"acf":[],"blog_post_summary":"<p>Update 4\/21\/2014: please see http:\/\/blogs.msdn.com\/b\/webdev\/archive\/2014\/04\/02\/announcing-new-web-features-in-visual-studio-2013-update-2-rc.aspx for Update 2&nbsp;RC web features. Today, the Visual Studio team announced the release of CTP2 of Visual Studio 2013 Update 2 .&nbsp; Our team added a few useful features and did some bug fixing in this update to improve the web development experience.&nbsp; We will have future blogs to talk [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/410"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=704"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/704\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}