Asp.net programming we consider all important topic for knowledge about controls,web Services, JSON, Ajax, database, and interview related Question. In this Asp.net and sql server tutorial blog we give many examples of jquery as like How Play YouTube Video in Your Asp.net Website by URL, How to Play YouTube Videos in Asp.net by using Jquery , Jquery Change div background on mouseover in asp.net , JQuery UI Datepicker (Calendar) etc.

Thursday, February 26, 2015

Asp.net Step By Step Working with MVC3

Asp.net Step By Step Working with MVC 3:




Step By Step Working with MVC:

Pre-requisite for MVC

Lab 1: Creating a simple Hello World ASP.NET MVC application

  • Step 1: - Select the project template
  • Step 2: - Select the appropriate ASP.NET One options
  • Step 3: - Add Controller
  • Step 4: - Add Views
  • Step 5: - Connect the view to the controller
  • Step 6: - Run the program


Beware of this common error:



Lab 2: Passing data between controllers and views


  • Step 1: Create project and set view data
  • Step 2: Display view data in the view




Lab 3: Creating a simple model using MVC



  • Step 1: Create a simple class file
  • Step 2: Define the controller with action
  • Step 3: Create strongly typed view using the class
  • Step 4: Run your application


Lab 4: Creating a simple MVC data entry screen



  • Step 1: Creating your data entry ASPX page
  • Step 2: Creating the controller
  • Step 3: Create the view to display the customer object
  • Step 4: Finally run the project



Lab 5: Using HTML Helper to create views faster

  • Step 1: Create the Customer class
  • Step 2: Creating the input HTML form using helper classes
  • Step 3: Create a strongly typed view by using the customer class
  • Step 4: Creating the controller class


Asp.net Related Other Post :




  •       What is a Resource data or Asp.net Data Resource?



  • No comments:

    Post a Comment