{"id":12935,"date":"2017-07-06T09:00:38","date_gmt":"2017-07-06T16:00:38","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/?p=12935"},"modified":"2019-03-03T01:09:17","modified_gmt":"2019-03-03T09:09:17","slug":"hands-on-with-visual-studio-for-mac-part-2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/hands-on-with-visual-studio-for-mac-part-2\/","title":{"rendered":"Hands on with Visual Studio for Mac &#8211; Part 2"},"content":{"rendered":"<p>Since the release of <a href=\"https:\/\/www.visualstudio.com\/vs\/visual-studio-mac\/\">Visual Studio for Mac<\/a> we\u2019ve been amazed by the number of Mac developers using it to build native apps for Mac, iOS, and Android, using Xamarin and Xamarin.Forms; web sites and services using ASP.NET Core; and games using Unity. We\u2019re also excited by the number of developers trying it for the first time, and we want to make it easy to get started \u2013 no matter what type of app you\u2019re interested in building. To help, we\u2019re creating hands-on labs for all sorts of developer scenarios.<\/p>\n<p>In my <a href=\"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2017\/06\/22\/hands-on-with-visual-studio-for-mac\/\">last post<\/a>, I linked to hands-on labs for getting started with Unity 3D (<a href=\"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2017\/06\/22\/hands-on-with-visual-studio-for-mac\/\">Lab 1<\/a>) and working with Internet of Things (IoT) devices (<a href=\"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2017\/06\/22\/hands-on-with-visual-studio-for-mac\/\">Lab 2<\/a>). Today I\u2019m excited to present two new labs, for building an ASP.NET Core web site, and building a cross-platform mobile app with Xamarin and an Azure App Service backend.<\/p>\n<h2>Lab 3: Build and Debug an ASP.NET Core Web Site<\/h2>\n<p>This is our first lab that focuses on the web, these instructions will help you create and host an ASP.NET Core web site, as well as understand some of the details of how it works. It\u2019ll guide you through these 6 tasks:<\/p>\n<ol>\n<li>Create a new ASP.NET Core web site<\/li>\n<li>Review the solution structure<\/li>\n<li>Understand hosting<\/li>\n<li>Test and debug the web site<\/li>\n<li>Review the startup configuration<\/li>\n<li>Insert application middleware in the HTTP pipeline<\/li>\n<\/ol>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/Hands-on-with-Visual-Studio-for-Mac-part-2-Web.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"Build and debug an ASP.NET Core web site\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2017\/07\/Hands-on-with-Visual-Studio-for-Mac-part-2-Web-1857.png\" alt=\"Build and debug an ASP.NET Core web site\" width=\"1321\" height=\"790\" \/><\/a><\/p>\n<p>To complete the lab, follow <a href=\"https:\/\/github.com\/Microsoft\/vs4mac-labs\/tree\/master\/Web\/Getting-Started\">these hands-on instructions<\/a>, which will walk you through the process of building a working ASP.NET Core web site using Visual Studio for Mac.<\/p>\n<h2>Lab 4: Create a Cloud-Connected Mobile App for iOS and Android<\/h2>\n<p>This lab takes you on an exciting journey: building a cross-platform app that runs on iOS and Android, and connects to an Azure-powered cloud backend. These 5 tasks explain everything in detail:<\/p>\n<ol>\n<li>File &gt; New cross-platform app<\/li>\n<li>Create an Azure Mobile App backend<\/li>\n<li>Configure Azure Easy Tables<\/li>\n<li>Integrate the cross-platform app with Azure<\/li>\n<li>Test and debug the app<\/li>\n<\/ol>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/Hands-on-with-Visual-Studio-for-Mac-part-2-Mobile.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"Create a cloud connected mobile app for iOS and Android\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2017\/07\/Hands-on-with-Visual-Studio-for-Mac-part-2-Mobile.png\" alt=\"Create a cloud connected mobile app for iOS and Android\" width=\"1332\" height=\"978\" \/><\/a><\/p>\n<p>Follow <a href=\"https:\/\/github.com\/Microsoft\/vs4mac-labs\/tree\/master\/Mobile\/Getting-Started\">these instructions<\/a> to create a new cross-platform mobile app using Xamarin, set up Azure App Service Easy Tables, and tie it all together!<\/p>\n<p>Download <a href=\"https:\/\/www.visualstudio.com\/vs\/\">Visual Studio for Mac<\/a> today, and visit our <a href=\"https:\/\/github.com\/Microsoft\/vs4mac-labs\">labs repo on GitHub<\/a>. Both this week\u2019s labs result in fully working projects: a web site and a mobile app, which I hope inspires you to start building your own ideas. Don\u2019t forget to go back and give game development a try or connect to an IoT device using <a href=\"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2017\/06\/22\/hands-on-with-visual-studio-for-mac\/\">last week\u2019s labs<\/a>.<\/p>\n<p>With the Visual Studio Community edition it is easy and free to get started. Keep an eye on this blog for more labs that demonstrate some of the other great developer scenarios and <a href=\"https:\/\/docs.microsoft.com\/visualstudio\/mac\/\">check out the docs<\/a> for more in-depth information on Visual Studio for Mac.<\/p>\n<table border=\"0\" width=\"600\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td valign=\"top\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2017\/12\/Craig-Dunn.jpg\" width=\"299\" height=\"301\" \/><\/td>\n<td valign=\"top\"><strong>Craig Dunn<\/strong>, Principal Program Manager\n<a href=\"http:\/\/@conceptdev\" target=\"_blank\" rel=\"noopener\">@conceptdev<\/a>Craig works on the Mobile Developer Tools documentation team, where he enjoys writing cross-platform code for iOS, Android, Mac, and Windows platforms with Visual Studio and Xamarin.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Since the release of Visual Studio for Mac we\u2019ve been amazed by the number of Mac developers using it to build native apps for Mac, iOS, and Android, using Xamarin and Xamarin.Forms; web sites and services using ASP.NET Core; and games using Unity. We\u2019re also excited by the number of developers trying it for 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":[1085,1195,472,1028,155,1029],"tags":[237,374,85,242,292,553,182,156,452,353],"class_list":["post-12935","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-cross-platform","category-gaming","category-mobile","category-visual-studio","category-web","tag-net","tag-android","tag-asp-net","tag-azure","tag-ios","tag-mobile","tag-unity","tag-visual-studio-2017","tag-visual-studio-for-mac","tag-xamarin"],"acf":[],"blog_post_summary":"<p>Since the release of Visual Studio for Mac we\u2019ve been amazed by the number of Mac developers using it to build native apps for Mac, iOS, and Android, using Xamarin and Xamarin.Forms; web sites and services using ASP.NET Core; and games using Unity. We\u2019re also excited by the number of developers trying it for the [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/12935","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=12935"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/12935\/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=12935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=12935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=12935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}