Showing posts with label Learning MVC from basics. Show all posts
Showing posts with label Learning MVC from basics. Show all posts

Sunday, March 20, 2016

MVC Begginers


MVC 

What is MVC ?
# MVC stands for MODEL , VIEW and CONTROLLER
# MVC not different from ASP.NET
# We have to look MVC is  ASP.NET MVC
# MVC is designing pattern to build the applications.
# Compare to regular asp.net web forms MVC development is easy  and simple.

MODEL
$  Model is responsible for database related logic. It contains the logic of communicating database.
  --  regular data-access layer (asp.net)

.cs or .vb file extensions of model

VIEW

$ View is responsible for presentation layer(UI) logic
$ View will get result from controller accordingly display to end user.
  .cshtml is file extention of view files

   RAZOR,HTML..etc

CONTROLLER

$Controller is responsible for application execution logic.
$ Controller communicates with model and view.
regular aspx.cs is similar to controller

.cs or .vb file extensions of model

Versions of ASP.NET MVC

1.ASP.NET MVC ---2007 (BETA)
2.ASP.NET MVC 1.0 --2009
3.ASP.NET MVC 2.0 --2010
4. ASP.NET MVC 3.0  -- 2011
5.ASP.NET MVC 4.0 -- 2012
6.ASP.NET MVC 5.0 -- 2013
7.ASP.NET MVC 6.0 -- 2014

Features of ASP.NET MVC:

 @Loosely coupled
 @Easy Unit Testing
 @Friendly URLs
 @Faster Execution
 @Client Side Programming (HTML controlling)--Angular,bootstrap..etc.
 @Entity frame work Integration
 @WebAPI
 @Scaffolding
 @Easy development




Amazon.in


Don't Copy

Protected by Copyscape Online Plagiarism Checker

Pages

Offers