{"id":188,"date":"2017-07-07T11:04:54","date_gmt":"2017-07-07T11:04:54","guid":{"rendered":"https:\/\/evincedev.com\/blog\/getting-started-dotnet-core-visual-studio-2017\/"},"modified":"2026-01-21T07:25:27","modified_gmt":"2026-01-21T07:25:27","slug":"getting-started-dotnet-core-visual-studio-2017","status":"publish","type":"post","link":"https:\/\/evincedev.com\/blog\/getting-started-dotnet-core-visual-studio-2017\/","title":{"rendered":"Getting Started With .NET Core on Visual Studio 2017"},"content":{"rendered":"<p>This post will show you how to get started with your first program in dot net with visual studio. Let\u2019s focus on setting up .Net core on visual studio and building a simple \u201cHello World\u201d application with .Net<\/p>\n<p><strong>First, we need to understand what is Net(dotnet)?<\/strong><br \/>\n.Net started in 2002 that runs on Visual Studio. It is an open-source framework and was released by Microsoft and maintained by .Net community. It runs on <a href=\"https:\/\/evincedev.com\/microsoft-full-stack-development-services\">Microsoft platforms<\/a> and can be developed on a cross-platform application that can be built on Windows, Linux and Mac OS.<\/p>\n<p>We will learn to code on three different platforms of OS. Taking windows OS as an example:-<br \/>\nInstall Visual Studio Community 2017. Select the Community download (Skip this step if you have Visual Studio 2017 installed).<br \/>\n\u2192 For Windows \u2013 Download here<br \/>\n\u2192 For Mac OS \u2013 Download here<br \/>\n\u2192 For Linux \u2013 Download Here<\/p>\n<p><em>The .NET core development framework is quite extensive when it comes to building web applications. Nowadays, with huge competition lurking around, it is in the best interest of startup enterprises to hire a professional <a href=\"https:\/\/evincedev.com\/asp-net-core-development-services\">ASP.NET core development company<\/a> for their project.<\/em><\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">Do you wish to create a web application for your business or company with Asp.Net? Check this <\/span><a href=\"https:\/\/evincedev.com\/blog\/developing-web-applications-asp-net\/\"><b>post<\/b><\/a><span style=\"font-weight: 400;\">!<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Then run the installer and select the following workloads you will find\u00a0below:-<\/strong><br \/>\n\u2192\u00a0ASP.NET and web development\u00a0(under Web &amp; Cloud)<br \/>\n\u2192 .NET Core cross-platform development (under Other Toolsets)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-927 size-full\" title=\"Visual studio enterprise 2017\" src=\"https:\/\/evincedev.com\/blog\/wp-content\/uploads\/2021\/08\/2.png\" alt=\"visualstudio\" width=\"417\" height=\"438\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-935 size-full\" title=\"Visual studio extension\" src=\"https:\/\/evincedev.com\/blog\/wp-content\/uploads\/2021\/08\/3-1.png\" alt=\"visualstudio2\" width=\"392\" height=\"223\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Now create a web app,<br \/>\n<\/span><span style=\"font-weight: 400;\">In visual studio Go to File \u2192 New \u2192 Project Find it below how?<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-929 size-full\" title=\"Microsoft visual studio\" src=\"https:\/\/evincedev.com\/blog\/wp-content\/uploads\/2021\/08\/4.png\" alt=\"Microsoftvisual studio\" width=\"653\" height=\"418\" \/><strong>After completing the new project dialog:-<\/strong><br \/>\n\u2192 Click on .Net core in the left pane.<br \/>\n\u2192 Click on .Net core web apps in the center pane.<br \/>\n\u2192 Name your project as it is mandatory. Name it as \u201cMcMovie\u201d so that it matches with your namespace.<br \/>\n\u2192 Then click OK<br \/>\n<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-933 size-full\" title=\"Microsoft visual studio\" src=\"https:\/\/evincedev.com\/blog\/wp-content\/uploads\/2021\/08\/5-1.png\" alt=\"Microsoft visual studio\" width=\"786\" height=\"449\" \/><\/p>\n<p><strong>Complete the New\u00a0<\/strong><a href=\"https:\/\/evincedev.com\/asp-net-core-development-services\"><strong>ASP.NET Core Web Application<\/strong><\/a><strong>\u00a0(.NET Core) \u2013 MvcMovie dialog<\/strong><br \/>\n\u2192 In the version selector drop-down box \u2014 Click on ASP.NET Core 1.<br \/>\n\u2192 Go to and click on Web Application<br \/>\n\u2192 Keep the default \u201cNo Authentication\u201d<br \/>\n\u2192 Then click OK.<\/p>\n<p>For the MVC project, a visual studio used a default template which you just created. Now you can see that you have a working app right now by entering the project name and choose a few options in that. Press F5 to run the app in debug mode and control F5 in non-debug mode.<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">For complete information on business use case application, benefits, and features, kindly refer to our post on \u201c<\/span><a href=\"https:\/\/evincedev.com\/blog\/the-ultimate-guide-on-asp-net-core-development\/\"><b>The Ultimate Guide on ASP.NET Core Development<\/b><\/a><span style=\"font-weight: 400;\">\u201d.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The visual studio runs your app while it starts IIS Express. The address bar shows localhost:port# with no web address. Localhost is the standard hostname for your computer. When a web project is created a random port is used for your web server it is 5000 and when you run the app you will find a different port number.<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">If you are not sure whether to choose Asp.Net for the shopping cart application development then read our blog <\/span><a href=\"https:\/\/evincedev.com\/blog\/reasons-choose-asp-net-shopping-cart\/\"><b>here<\/b><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Starting with Hello World application<\/strong><br \/>\n\u2192 Enhancing Hello World Application<br \/>\nNow, add the code given below in the Main function to make the changes.<br \/>\nConsole.WriteLine(&#8220;nWhat is your name? &#8220;);<br \/>\nvar name = Console.ReadLine();<br \/>\nvar date = DateTime.Now;<br \/>\nConsole.WriteLine(&#8220;nHello, {0}, on {1:d} at {1:t}&#8221;, name, date);<br \/>\nConsole.Write(&#8220;nPress any key to exit&#8230;&#8221;);<br \/>\nConsole.ReadKey(true);<\/p>\n<p>Once changes are complete, click save button, deploy an Application and the output is given below.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-926 size-full\" src=\"https:\/\/evincedev.com\/blog\/wp-content\/uploads\/2021\/08\/1.png\" alt=\"dotnetexe\" width=\"421\" height=\"195\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Here you are done with your first hello world app which you have <\/span><span style=\"font-weight: 400;\">successfully deployed an application in Visual Studio 2017 using <a href=\"https:\/\/evincedev.com\/blog\/5-things-to-consider-while-developing-asp-net-web-forms-application\/\">.NET Core<\/a>. You can also refer to microsoft.com for more such tutorials and guides.<\/span><\/p>\n<h2><strong>Wrap-up<\/strong><\/h2>\n<p><strong><a href=\"https:\/\/evincedev.com\/join-us\">Evince Development<\/a><\/strong> \u2013 a Full Stack Development Company feels grateful to have been attached to a diverse range of ASP.NET projects to which we have given our everything and attained a 97% project success ratio in delivering <a href=\"https:\/\/evincedev.com\/asp-net-core-development-services\">ASP.NET development services<\/a>. We are always keen to listen to your project and glad to assist you with our <strong><a href=\"https:\/\/evincedev.com\/contact-us\">Hire Expert .Net Core Developer<\/a><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post will show you how to get started with your first program in dot net with visual studio. Let\u2019s focus on setting up .Net core on visual studio and building a simple \u201cHello World\u201d application with .Net First, we need to understand what is Net(dotnet)? .Net started in 2002 that runs on Visual Studio. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":189,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[1522,167,1394,29,1372],"tags":[82,32,34,59,95,100,101],"acf":{"question_and_answers":null,"key_takeaways":null},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/evincedev.com\/blog\/wp-json\/wp\/v2\/posts\/188"}],"collection":[{"href":"https:\/\/evincedev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/evincedev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/evincedev.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/evincedev.com\/blog\/wp-json\/wp\/v2\/comments?post=188"}],"version-history":[{"count":0,"href":"https:\/\/evincedev.com\/blog\/wp-json\/wp\/v2\/posts\/188\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/evincedev.com\/blog\/wp-json\/wp\/v2\/media\/189"}],"wp:attachment":[{"href":"https:\/\/evincedev.com\/blog\/wp-json\/wp\/v2\/media?parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/evincedev.com\/blog\/wp-json\/wp\/v2\/categories?post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/evincedev.com\/blog\/wp-json\/wp\/v2\/tags?post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}