Thursday, March 31, 2016

User List Page using Asp.Net MVC 2

In this post we shall create a simple User List page using Asp.Net MVC 2. We will make use of the Empty Web Application template to create this sample so that we will understand the basics of MVC.

The User List page will display a list of users in a Table. The List object containing the list of users will be passed from the Controller to the View, the View loops through the users and displays the user details in Table.

User Registration Page using Asp.Net MVC 2

In this post we shall create a simple User Registration page using Asp.Net MVC 2 Application. We will make use of the Empty Web Application template to create this sample so that we will understand the basics of MVC.

The Registration page will have the controls Name, Age, Address, etc and the buttons Save and Cancel. When the user enters the details and click Save, it should validate the details and pass on the same to the Model.

Basic Login page using Asp.Net MVC 2

In this post we shall create a simple Login page using Asp.Net MVC 2 Application from the scratch. We will make use of the Empty Web Application template to create this sample so that we will understand the basics of MVC.

The login page will have the controls User Name and Password, and the buttons Login and Cancel. When the user types the username and password, it should validate the details against the model and display an appropriate message.

Tuesday, March 29, 2016

Hello World MVC Application

In this post we shall create a Hello World Asp.Net MVC 2 Application from the scratch. We will make use of the Empty Web Application template to create this sample so that we will understand the basics of MVC. Follow the below steps to create the first MVC 2 Hello World Application