{"id":1133,"date":"2012-09-12T17:20:55","date_gmt":"2012-09-12T17:20:55","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/dotnet\/2012\/09\/12\/celebrating-the-visual-studio-2012-launch-with-the-release-of-a-popular-app\/"},"modified":"2021-10-04T12:58:04","modified_gmt":"2021-10-04T19:58:04","slug":"celebrating-the-visual-studio-2012-launch-with-the-release-of-a-popular-app","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/celebrating-the-visual-studio-2012-launch-with-the-release-of-a-popular-app\/","title":{"rendered":"Celebrating the Visual Studio 2012 launch with the release of a popular App"},"content":{"rendered":"<p>Today, we\u2019re happy to announce the launch of Visual Studio 2012 and the .NET Framework 4.5. You can read more about the <a href=\"http:\/\/blogs.msdn.com\/b\/jasonz\/archive\/2012\/09\/12\/tune-in-to-the-visual-studio-2012-launch.aspx\">Visual Studio 2012 launch on Jason Zander\u2019s blog<\/a>.<\/p>\n<p>We\u2019ve been using the new version of Visual Studio for several months now to build .NET Framework apps for Windows, Windows Store, Windows Azure, and Window Server. The Visual Studio team has made many improvements throughout the product that I\u2019m sure you\u2019ll love. We\u2019ve certainly found quite a few.<\/p>\n<p>Many of you have asked for the <a href=\"http:\/\/code.msdn.microsoft.com\/Whats-New-in-the-NET-e8d7545c\">\u201c.NET Feature Catalog\u201d app<\/a> that we\u2019ve been demonstrating at recent conferences such as TechEd. To celebrate the launch of Visual Studio 2012, we\u2019re very happy to release the source code for this app. More on that below, but let\u2019s first look at one of my favorite features in Visual Studio 2012 for .NET developers.<\/p>\n<h3>NuGet Integration<\/h3>\n<p>Everyone has a favorite Visual Studio 2012 feature. I\u2019d like to introduce you to one that you may not have noticed yet, which has become a favorite of mine. It\u2019s the NuGet integration in Visual Studio. <a href=\"https:\/\/nuget.org\/\">NuGet<\/a> is a growing web library of code libraries and tools that use the .NET Framework. There are thousands of libraries available on NuGet that have been downloaded millions of times. NuGet is already popular, but I\u2019m guessing that it\u2019s about to become an even bigger hit now that the NuGet client is part of Visual Studio 2012. Let\u2019s take a look at this new feature.<\/p>\n<h4>Using NuGet in Visual Studio 2012<\/h4>\n<p>NuGet is exposed in a couple of ways in Visual Studio 2012. The primary way that I use it is via the context (right-click) menu on the project node in Solution Explorer. You can see the <b>Manage NuGet Packages<\/b> option at the bottom of the menu in Figure 1. The same option is available on the context menu of the references node. Additional NuGet functionality is available under <b>Tools<\/b>, <b>Library Package Manager<\/b>.<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td width=\"5\"><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/8037.clip_image002_thumb_41595715.jpg\"><img decoding=\"async\" title=\"clip_image002\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/8037.clip_image002_thumb_41595715.jpg\" alt=\"clip_image002\" width=\"389\" height=\"225\" border=\"0\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><b>Figure 1. <\/b>Visual Studio Solution Explorer project context menu<\/p>\n<h4>Installing NuGet packages with the NuGet Package Manager<\/h4>\n<p>When you choose <b>Manage Nuget Packages<\/b> from the context menu, you will see the NuGet Package Manager displayed below. The Package Manager enables you to add NuGet packages to your project from the NuGet repository (which is on the web) or remove NuGet packages from your project. When you add a NuGet package, you can use the functionality it provides within your app. Visual Studio takes care of deploying the DLLs from the NuGet package with your app.<\/p>\n<p>Json.NET, which you can see in the screen capture below, is a favorite NuGet package of mine. It exposes multiple ways of reading and writing JSON payloads from REST APIs. Give it a try.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/6765.clip_image004_thumb_1A1F0DE0.jpg\"><img decoding=\"async\" title=\"clip_image004\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/6765.clip_image004_thumb_1A1F0DE0.jpg\" alt=\"clip_image004\" width=\"466\" height=\"311\" border=\"0\" \/><\/a>\n<b>Figure 2. <\/b>Manage NuGet Packages dialog box<\/p>\n<h3>Release of the \u201cWhat\u2019s new in the .NET 4.5\u201d app<\/h3>\n<p>The .NET Framework 4.5 introduces a number of features to help solve the programming problems of today. We created a sample that provides an end-to-end demonstration of how to build a Windows 8 app that connects to a .NET Framework 4.5 web backend that exposes an industry standard REST API. If you were at TechEd 2012 in <a href=\"https:\/\/channel9.msdn.com\/Events\/TechEd\/NorthAmerica\/2012\/DEV331\">North America<\/a> or <a href=\"https:\/\/channel9.msdn.com\/Events\/TechEd\/Europe\/2012\/DEV331\">Europe<\/a>, we showed you how to build this sample from scratch. The app itself is a catalog of features found in the .NET Framework, so you can learn more about the .NET Framework simply by exploring the app.<\/p>\n<p>The sample demonstrates these main features:<\/p>\n<ul>\n<li>WebAPI for building REST based web services<\/li>\n<li>Entity Framework using Code First and migrations<\/li>\n<li>Windows Store app using the .NET for Windows Store Apps profile<\/li>\n<li>Async and await to build a fast and interactive user experience<\/li>\n<li>HttpClient for an easy way to connect to a web service<\/li>\n<li>NuGet for acquiring the latest libraries, specifically Json.NET<\/li>\n<\/ul>\n<p>Many people have been asking for this app, and we\u2019re happy to make it available. You can download the sample and source files from the <a href=\"http:\/\/code.msdn.microsoft.com\/Whats-New-in-the-NET-e8d7545c\">MSDN Samples Gallery<\/a>: <a title=\"http:\/\/code.msdn.microsoft.com\/Whats-New-in-the-NET-e8d7545c\" href=\"http:\/\/code.msdn.microsoft.com\/Whats-New-in-the-NET-e8d7545c\">http:\/\/code.msdn.microsoft.com\/Whats-New-in-the-NET-e8d7545c<\/a>.<\/p>\n<h4>Exploring the app<\/h4>\n<p>You can see the app in the screen captures below. It displays a number of .NET Framework features, which you can then explore with any of the input modalities (including touch) available on your machine.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/3125.clip_image005_thumb_6EDA76D8.png\"><img decoding=\"async\" title=\"clip_image005\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/3125.clip_image005_thumb_6EDA76D8.png\" alt=\"clip_image005\" width=\"497\" height=\"281\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/6371.clip_image006_thumb_2EA45D5E.png\"><img decoding=\"async\" title=\"clip_image006\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/6371.clip_image006_thumb_2EA45D5E.png\" alt=\"clip_image006\" width=\"500\" height=\"283\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/2146.clip_image007_thumb_2065E46E.png\"><img decoding=\"async\" title=\"clip_image007\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/2146.clip_image007_thumb_2065E46E.png\" alt=\"clip_image007\" width=\"505\" height=\"285\" border=\"0\" \/><\/a><\/p>\n<p><b>Figure 3<\/b>. Screens from the What&#8217;s New app<\/p>\n<h4>Downloading and opening the app in Visual Studio 2012<\/h4>\n<p>You can <a href=\"http:\/\/code.msdn.microsoft.com\/Whats-New-in-the-NET-e8d7545c\">download the \u201c.NET Feature Catalog\u201d app<\/a> for yourself. From there, it&#8217;s easy to open it up in Visual Studio 2012 to explore the source code.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/5873.clip_image009_thumb_3242783B.jpg\"><img decoding=\"async\" title=\"clip_image009\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2012\/09\/5873.clip_image009_thumb_3242783B.jpg\" alt=\"clip_image009\" width=\"514\" height=\"276\" border=\"0\" \/><\/a><\/p>\n<p><b>Figure 4: <\/b>Opening the \u201cWhat\u2019s new in the .NET Framework 4.5\u201d app in Visual Studio 2012<\/p>\n<h4>Watch the talks<\/h4>\n<p>You can take a quick peek at the \u201cWhat\u2019s new in the .NET Framework 4.5\u201d app by watching one of our videos from <a href=\"https:\/\/channel9.msdn.com\/Events\/TechEd\/NorthAmerica\/2012\/DEV331\">TechEd North America<\/a> (presented by Brandon Bray) or <a href=\"https:\/\/channel9.msdn.com\/Events\/TechEd\/Europe\/2012\/DEV331\">TechEd Europe<\/a> (presented by Layla Driscoll).<\/p>\n<p><b>Note: <\/b>The app in the MSDN Samples Gallery includes slight revisions to the app we presented at TechEd 2012.<\/p>\n<h3>In closing<\/h3>\n<p>Visual Studio 2012 is now available for everyone to use. Enjoy coding, and check out our <a href=\"http:\/\/code.msdn.microsoft.com\/Whats-New-in-the-NET-e8d7545c\">app<\/a>.<\/p>\n<p>Downloads:<\/p>\n<ul>\n<li>App: <a title=\"http:\/\/code.msdn.microsoft.com\/Whats-New-in-the-NET-e8d7545c\" href=\"http:\/\/code.msdn.microsoft.com\/Whats-New-in-the-NET-e8d7545c\">http:\/\/code.msdn.microsoft.com\/Whats-New-in-the-NET-e8d7545c<\/a><\/li>\n<li>TechEd US video: <a title=\"https:\/\/channel9.msdn.com\/Events\/TechEd\/NorthAmerica\/2012\/DEV331\" href=\"https:\/\/channel9.msdn.com\/Events\/TechEd\/NorthAmerica\/2012\/DEV331\">https:\/\/channel9.msdn.com\/Events\/TechEd\/NorthAmerica\/2012\/DEV331<\/a><\/li>\n<li>TechEd Europe video: <a title=\"https:\/\/channel9.msdn.com\/Events\/TechEd\/Europe\/2012\/DEV331\" href=\"https:\/\/channel9.msdn.com\/Events\/TechEd\/Europe\/2012\/DEV331\">https:\/\/channel9.msdn.com\/Events\/TechEd\/Europe\/2012\/DEV331<\/a><\/li>\n<\/ul>\n<p>Follow or talk to us on <a href=\"https:\/\/twitter.com\/dotnet\">twitter<\/a> &#8212; <a href=\"https:\/\/twitter.com\/dotnet\">https:\/\/twitter.com\/dotnet<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, we\u2019re happy to announce the launch of Visual Studio 2012 and the .NET Framework 4.5. You can read more about the Visual Studio 2012 launch on Jason Zander\u2019s blog. We\u2019ve been using the new version of Visual Studio for several months now to build .NET Framework apps for Windows, Windows Store, Windows Azure, and [&hellip;]<\/p>\n","protected":false},"author":340,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[685],"tags":[11,30,55,104,117],"class_list":["post-1133","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dotnet","tag-net-framework","tag-announcement","tag-conferences","tag-nuget","tag-releases"],"acf":[],"blog_post_summary":"<p>Today, we\u2019re happy to announce the launch of Visual Studio 2012 and the .NET Framework 4.5. You can read more about the Visual Studio 2012 launch on Jason Zander\u2019s blog. We\u2019ve been using the new version of Visual Studio for several months now to build .NET Framework apps for Windows, Windows Store, Windows Azure, and [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/1133","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\/340"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=1133"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/1133\/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=1133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=1133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=1133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}