articles

Home / DeveloperSection / Articles / Get started with ASP.NET Core MVC and Visual Studio

Get started with ASP.NET Core MVC and Visual Studio

Anonymous User1731 12-Jun-2018

Introduction:

In this article, we are going to explain how to create MVC .net core 2.0 application using in visual studio 2017 with example.

Description:

How to create an MVC ASP.Net Core 2.0 Web Application.

Open Visual Studio 2017. Go to-> File menu, point to new and click New project or click create new project link button on the start page of visual studio.

Get started with ASP.NET Core MVC and Visual Studio

The "New Project" window will open. You can select an installed template like “.NET Core” in Visual C# Template and then select the Asp.Net Core Web Application (.NET Core). Type project name, such as - Hello Mindstick. Choose the project location path and click OK button.  

Get started with ASP.NET Core MVC and Visual Studio

The New ASP.NET Core Web Application (.NET Core) - MvcCore window will open. Select ASP.NET Core version 2.0 in the drop-down box. Select a template as Web Application (Model-View-Controller) and Then, click the OK button.

Get started with ASP.NET Core MVC and Visual Studio

Now, you can see MvcCore project structure, as shown in the screenshot given below.

Get started with ASP.NET Core MVC and Visual Studio

Now, press F5 button run the application and show output such as below.

Get started with ASP.NET Core MVC and Visual Studio

I hope you understand now how to create asp.net MVC Application using.Net Core 2.0 and Visual Studio 2017.

Please share your valuable feedback or comments to improve my future articles.


Updated 07-Sep-2019
I am a content writter !

Leave Comment

Comments

Liked By