MVC in ASP.Net

10
MVC in C# CPD TECHNOLOGIES TM An ISO 9001: 2008 Certified Email: [email protected] Add:- Block C 9/8, Sector -7, Rohini, Delhi 110085,India www.cpd-india.c om

Transcript of MVC in ASP.Net

Page 1: MVC in ASP.Net

MVC in C#

CPD TECHNOLOGIESTM

An ISO 9001: 2008 Certified

Email: [email protected] Add:- Block C 9/8, Sector -7, Rohini, Delhi 110085,India

www.cpd-india.com

Page 2: MVC in ASP.Net

What is MVC?• MVC stands for Model View Controller • MVC is a one of three programming models. • It is a framework for building web application • Provide full control over HTML, CSS and JavaScript• An Architectural pattern that separates an

application into three logical component.

Page 3: MVC in ASP.Net

Components of MVC• Model• View• Controller

View

ControllerModel

Page 4: MVC in ASP.Net

Model• Represent data structure• Help to store, update and retrieve data.

View• Information being presented to user• It can be a web page

Controller• Works as a intermediary between model and view. • It process the HTTP request.

Page 5: MVC in ASP.Net

Model

• Implement the logic for application data.• Model objects store and retrieve data from

database.• Model can Represent either data that is

being transferred between view and controller.

Page 6: MVC in ASP.Net

View

• This component is use for graphically represents the data User Interface (UI).

• It works on HTML, CSS, JQuery etc.• It display the data when event fire by the

user and transform the model as needed. • Views provide an interface to interact with system.

Page 7: MVC in ASP.Net

Controller

• It act as a interface between Model and View component.

• Process all the business logic and incoming request.

• Manipulate data using Model component.

Page 8: MVC in ASP.Net

Features of MVC

• Divide the application task into three part.• Makes it easier to manage complexity of

an application. • Support for using markup in existing page,

user control and master page.• Support for Test Driven Development

(TDD).• It doesn’t use view state or server based

forms.

Page 9: MVC in ASP.Net

Uses of MVC

• Cocoa and GNUstep, based on these technologies.

• The NEXTSTEP and OPENSTEP development environment use MVC.

• Java Swing• Microsoft Foundation Class (MFC)

Page 10: MVC in ASP.Net

THANK YOU CPD TECHNOLOGIESTM

BLOCK C 9/8, SECTOR -7, ROHINI, DELHI-110085, INDIA

LANDMARK: NEAR ROHINI EAST METRO STATION,

OPPOSITE METRO PILLAR NO-397

TELEPHONE: 011-65164822

MOBILE: +91- 8860352748

EMAIL: [email protected]

An ISO 9001: 2008 Certified