Download presentation
Presentation is loading. Please wait.
Published byRudolf Mathews Modified over 9 years ago
1
Jonathan Canfield Mavin Lisa Giss Professor Kenytt D. Avery
ASP.NET MVC 3 Jonathan Canfield Mavin Lisa Giss Professor Kenytt D. Avery
2
History of ASP.NET Active Server Pages (ASP) released in 1998
Replaced by ASP.NET in 2002 Addressed separation of presentation and content ASP.NET MVC framework released in 2009 Integrated with ASP.NET Framework allowing Model – View – Controller based development
3
What is ASP.NET MVC MVC stands for Model-View-Controller which is a framework that is a lightweight, highly testable framework that is integrated with existing ASP.NET features. MVC separates an application into three main components for ASP.NET Model View Controller This allows software developers to build web apps as a composition of three roles.
7
Advantages of MVC Makes it easier to manage complexity by dividing app into three roles Does not use view state or server-based forms. This gives the developer more control Provides better test-driven development Works well for Web apps that are being developed by large teams.
8
Some Key Features Separation of input, business and UI logic.
Components are designed so they can be easily replaced or customized for a specific need. For example you could plug in your own view engine. Allows you to build web apps comprehensible and searchable URLs. Supports existing ASP.NET features.
9
Key features continued
HTML 5 enabled project templates Expressive views including Razor View Engine Dependency Injection and Global Action Filters JavaScript support
10
Building an app One nice aspect (for some) is you can use Visual Studio for building apps. The Primary language used for ASP.NET MVC is C#
11
Controller example
12
Views example
13
Model Example
14
Building a sample app
15
The default template created for a ASP.NET MVC project.
17
Adding a controller to the project
18
Adding a method
19
Adding a view
20
Reasons to Learn ASP.NET MVC
To unit test To gain control and extensibility To learn something new Google Developer Kevin Pang
21
References
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.