{"id":6775,"date":"2016-05-16T11:15:35","date_gmt":"2016-05-16T18:15:35","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/?p=6775"},"modified":"2019-02-14T15:29:42","modified_gmt":"2019-02-14T23:29:42","slug":"announcing-updated-web-development-tools-for-asp-net-core-rc2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/announcing-updated-web-development-tools-for-asp-net-core-rc2\/","title":{"rendered":"Announcing Updated Web Development Tools for ASP.NET Core RC2"},"content":{"rendered":"<p>We are pleased to announce the ASP.NET Core Tooling Preview release to support the .NET Core RC2 and ASP.NET Core RC2 release. Get the new version of the framework and Visual Studio 2015 support now at: <a href=\"http:\/\/dot.net\">http:\/\/dot.net<\/a><\/p>\n<h2>Tooling Preview, What\u2019s That?<\/h2>\n<p>With this release, we\u2019re splitting the delivery of the Visual Studio tools from the ASP.NET Core and .NET Core runtime and libraries. Those frameworks are almost ready for RTM, and we are working on delivering the advanced capabilities for building and managing applications built with these new tools. A full description of this <a href=\"https:\/\/blogs.msdn.microsoft.com\/dotnet\/2016\/05\/06\/net-core-rc2-improvements-schedule-and-roadmap\/\">release schedule change is available on the .NET team blog<\/a>. More details about the <a href=\"https:\/\/blogs.msdn.microsoft.com\/webdev\/2016\/05\/16\/announcing-asp-net-core-rc2\/\">ASP.NET changes can be found on the Web Development blog<\/a>, and details of the <a href=\"https:\/\/blogs.msdn.microsoft.com\/dotnet\/2016\/05\/16\/announcing-net-core-rc2\">.NET Core update can be found on the .NET Team blog<\/a>.<\/p>\n<h2>Support for .NET CLI<\/h2>\n<p>With the RC2 release of .NET Core, we introduced the .NET Command Line Interface to enable easy construction, package management, and compilation of applications using the new .NET Core SDK. However, this is Visual Studio and we deliver visual tools that make working with these tools easier. That\u2019s exactly what we\u2019ve done and packaged support for these tasks in Visual Studio to make use of the dotnet tool. From Visual Studio, when you use the standard compile tools you know and love, you will see in the output window the same commands execute if you were working with their applications directly on the command-line:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/05162016-ASP.NETCoreRC2-WebTooling-CommandLine.png\"><img decoding=\"async\" title=\"\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/05\/05162016-ASP.NETCoreRC2-WebTooling-CommandLine.png\" alt=\"Command Line\" \/><\/a><\/p>\n<p>With this change in .NET tooling, we are also delivering support for the debugger to inspect your application just as you have with previous versions of ASP.NET.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/05162016-ASP.NETCoreRC2-WebTooling-Debugger.png\"><img decoding=\"async\" title=\"\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/05\/05162016-ASP.NETCoreRC2-WebTooling-Debugger.png\" alt=\"Support for Debugger\" width=\"630\" height=\"571\" \/><\/a><\/p>\n<h2>Support for RC1 and RC2 projects<\/h2>\n<p>You will still be able to open your RC1 constructed projects in Visual Studio 2015. You should have in your global.json file an indicator of the version of the SDK in use to manage your project:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/05162016-ASP.NETCoreRC2-WebTooling-RC1RC2.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/05\/05162016-ASP.NETCoreRC2-WebTooling-RC1RC2.png\" alt=\"\" width=\"946\" height=\"217\" \/><\/a><\/p>\n<p>While the global.json file contains a version \u201c1.0.0-rc1*\u201d Visual Studio will enable the same compilation and management tools that you used for the RC1 version. If you remove this value from the sdk configuration option, or remove the sdk configuration option altogether, Visual Studio will start using the new .NET CLI tools with the RC2. This feature switch should help you upgrade your project from RC1 to RC2.<\/p>\n<h2>.NET Core Templates<\/h2>\n<p>Starting with this version of the web tooling, we are introducing a separation of the templates for .NET Core and the .NET Framework. When you enter the new project dialog, you will now be prompted to choose a template and framework just as you do any other project type:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/05162016-ASP.NETCoreRC2-WebTooling-Templates1.png\"><img decoding=\"async\" title=\"\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/05\/05162016-ASP.NETCoreRC2-WebTooling-Templates1.png\" alt=\"WebTooling Templates\" width=\"771\" height=\"464\" \/><\/a><\/p>\n<p>There is also a complete section of templates on the left dedicated to the .NET Core framework. In this area, you can choose to start with a template to build a .NET Core base web application, .NET Core command-line application, or a .NET Core compatible class library that compiles to a NuGet package.<\/p>\n<h2>Support for Authentication and Authorization in Web API<\/h2>\n<p>During the construction of a new Web API project, you can now opt to activate authentication capabilities using Active Directory or the Work and School accounts options:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/05162016-ASP.NETCoreRC2-WebTooling-ChangeAuth.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/05\/05162016-ASP.NETCoreRC2-WebTooling-ChangeAuth.png\" alt=\"\" \/><\/a><\/p>\n<p>This has the effect of placing an AuthorizeAttribute on the template generated controller, and you can further define your security policy in the Startup.cs file for your application.<\/p>\n<h2>Summary<\/h2>\n<p>This is a significant set of changes to support the new .NET Core and ASP.NET project systems and runtimes in Visual Studio 2015, and we\u2019re just getting started. With this release, you have an updated go-live license for this version of the ASP.NET runtime and libraries. We will continue to evolve the editor capabilities in Visual Studio to further support these new project types. Get a copy of this update for Visual Studio now from <a href=\"http:\/\/dot.net\">http:\/\/dot.net<\/a><\/p>\n<table border=\"0\" width=\"800\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"268\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/05\/Jeff_Fritz_Photo_Color.jpg\" alt=\"\" width=\"238\" height=\"238\" \/><\/td>\n<td valign=\"top\" width=\"530\"><strong>Jeff Fritz<\/strong>, Program Manager, .NET Developer Outreach Team<\/p>\n<p>Jeff is a long time web developer, systems architect and survivor of the dot-com bust.\u00a0 With a history of almost 15 years delivering multi-tenant web applications in the financial, pharmaceutical, and education industries, Jeff has a long history of large-scale successful web application launches.\u00a0 You can learn more from Jeff on his blog at <a href=\"http:\/\/www.jeffreyfritz.com\">www.jeffreyfritz.com<\/a> and on twitter at <a href=\"https:\/\/twitter.com\/csharpfritz\">@csharpfritz<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>We are pleased to announce the ASP.NET Core Tooling Preview release to support the .NET Core RC2 and ASP.NET Core RC2 release. Get the new version of the framework and Visual Studio 2015 support now at: http:\/\/dot.net Tooling Preview, What\u2019s That? With this release, we\u2019re splitting the delivery of the Visual Studio tools from the [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155,1029],"tags":[237,85,12],"class_list":["post-6775","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","category-web","tag-net","tag-asp-net","tag-visual-studio"],"acf":[],"blog_post_summary":"<p>We are pleased to announce the ASP.NET Core Tooling Preview release to support the .NET Core RC2 and ASP.NET Core RC2 release. Get the new version of the framework and Visual Studio 2015 support now at: http:\/\/dot.net Tooling Preview, What\u2019s That? With this release, we\u2019re splitting the delivery of the Visual Studio tools from the [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/6775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=6775"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/6775\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=6775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=6775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=6775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}