mvc in asp.net
TRANSCRIPT
![Page 1: MVC in ASP.Net](https://reader035.vdocuments.net/reader035/viewer/2022081422/58a343b71a28ab62248b5207/html5/thumbnails/1.jpg)
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](https://reader035.vdocuments.net/reader035/viewer/2022081422/58a343b71a28ab62248b5207/html5/thumbnails/2.jpg)
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](https://reader035.vdocuments.net/reader035/viewer/2022081422/58a343b71a28ab62248b5207/html5/thumbnails/3.jpg)
Components of MVC• Model• View• Controller
View
ControllerModel
![Page 4: MVC in ASP.Net](https://reader035.vdocuments.net/reader035/viewer/2022081422/58a343b71a28ab62248b5207/html5/thumbnails/4.jpg)
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](https://reader035.vdocuments.net/reader035/viewer/2022081422/58a343b71a28ab62248b5207/html5/thumbnails/5.jpg)
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](https://reader035.vdocuments.net/reader035/viewer/2022081422/58a343b71a28ab62248b5207/html5/thumbnails/6.jpg)
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](https://reader035.vdocuments.net/reader035/viewer/2022081422/58a343b71a28ab62248b5207/html5/thumbnails/7.jpg)
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](https://reader035.vdocuments.net/reader035/viewer/2022081422/58a343b71a28ab62248b5207/html5/thumbnails/8.jpg)
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](https://reader035.vdocuments.net/reader035/viewer/2022081422/58a343b71a28ab62248b5207/html5/thumbnails/9.jpg)
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](https://reader035.vdocuments.net/reader035/viewer/2022081422/58a343b71a28ab62248b5207/html5/thumbnails/10.jpg)
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