This document provides an overview of ASP.NET MVC 3, including its features, technology stack, how it works, controllers, routing, action results, views, models, and jQuery integration. ASP.NET MVC 3 is a framework for building scalable and standards-based web applications using well-established design patterns and the power of ASP.NET. It features improvements like sessionless controllers, the ViewBag property, JSON model binding, and granular input validation.
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Mvc3 crash
1. ASP.NET
MVC3
Melick Rajee Baranasooriya
http://melick-rajee.blogspot.com
2. Introduction
ASP.NET MVC 3 is a framework for building
Scalable
Standards-based web applications
using well-established design patterns and
the power of ASP.NET and the .NET
Framework.
3. Features
Rock Features
NuGet
Razor View Engine
HTML Helpers
Dependency Injection
Model Validation
4. Features …
Improvements
Sessionless Controllers
ViewBag Property
JSON Model Binding
Granular Input Validation
Partial Page Output Cache
Global Action Filters
New Action Result Types
5. Technology Stack
Web Platform Installer 3.0
Visual Studio 2010
Express
Web Developer Express
Visual Studio 2010 SP1
MVC 3
IIS Express
[SQL Server 2008 R2 Express]
6. How It works
/Customer/Add CustomerController
Request Controller
Model
Model
Model
/Customer/Add
Response View
7. Controllers
We are going to look
Routing
Controller Actions
Action Filters
Action Parameters
Action Results
19. Models
Models
Data Annotations
Model Validation
JQuery
20. JQuery
jQuery is a fast and concise JavaScript Library that
simplifies HTML document traversing, event
handling, animating, and Ajax interactions for
rapid web development. jQuery is designed to
change the way that you write JavaScript.