Sunday, 22 October 2017

How to start with ASP.NET MVC Web Application

using Visual Studio 2013

If you have already installed Visual Studio in your machine we can proceed with the steps to start a project.
Begin with opening visual studio Development Environment. There are two options in starting a new project you can start from the file menu located at the top navigation bar as shown below.
File->New->Project
Visual Studio Developement Environtment
Or you can select New Project link from the start page of Visual studio development environment refer to the image shown below.
Start Page link
After that expand Visual C# node on the left pane and navigate to Web option. Then search for ASP.NET web Application on the middle pane. Name it as MVC-SimpleApp. You can also name your apps to your preference. If you want to use different directory of your project use the browse button right below your project name. If your done click OK to proceed to the next steps. Use the image below for your guide.
Project Options
From the New ASP.NET project dialog select template for your project Choose MVC as shown below.
Project Template
You can also change application authentication. It is set to Individual User Accounts in default but here we‘re going to use No Authentication.  Image below is set to its default value change it to No Authentication.
Authentication
The application will go idle for some time. Wait for Visual Studio to load necessary files needed for your project.
To run the project press f5 to run in debugging mode or Ctrl + f5 to run without debugging mode
Website Preview
ASP.NET MVC Application includes bootstrap CSS and JavaScript by default so your site already responsive. Below is the image of the website view in small screen.

No comments:

Post a Comment

React Hooks - custom Hook

  v CustomHook Ø React allows us to create our own hook which is known as custom hook. Example – 1 localStorage Demo Step-1 Create ...