PacktLib: ASP.NET MVC 1.0 Quickly

ASP.NET MVC 1.0 Quickly

Credits

About the author

About the reviewers

Preface

ASP.NET MVC

Model-view-controller

The ASP.NET MVC framework

Summary

Your First ASP.NET MVC Application

Creating a new ASP.NET MVC web application project

What's inside the box?

Strong-typed ViewData

Creating a new view

Unit testing the controller

Summary

Handling Interactions

Creating a form

Handling posts

Handling file uploads

Using the ModelBinder attribute

Validating data

Summary

Components in the ASP.NET MVC Framework

The ASP.NET MVC request life cycle

Extensibility

The model in depth

The controller in depth

The view in depth

Action filters

Summary

Routing

What is ASP.NET routing?

ASP.NET routing versus URL rewriting

UrlRoutingModule

Route patterns

Defining routes

Creating URLs from routes

Summary

Customizing and Extending the ASP.NET MVC Framework

Creating a control

Creating a filter attribute

Creating a custom ActionResult

Creating a ViewEngine

Summary

Using Existing ASP.NET Features

Session State

Membership, authentication, and authorization

Caching

Globalization

Mixing ASP.NET Webforms and ASP.NET MVC

Building views at compile time

Summary

AJAX and ASP.NET MVC

Different AJAX frameworks

ASP.NET AJAX

jQuery

Summary

Testing an Application

Unit testing

Mocking ASP.NET components

Testing routes

Testing UpdateModel scenarios

Summary

Hosting and Deployment

Platforms that can be used

Differences between IIS 7.0 integrated and classic mode

Hosting an ASP.NET MVC web application

Summary

Reference Application— CarTrackr

Reference Application— CarTrackr

Reference Application— CarTrackr

Reference Application— CarTrackr

Reference Application— CarTrackr

Reference Application— CarTrackr

Reference Application— CarTrackr

Reference Application— CarTrackr

Reference Application— CarTrackr

ASP.NET MVC Mock Helpers

ASP.NET MVC Mock Helpers

ASP.NET MVC Mock Helpers

ASP.NET MVC Mock Helpers

Useful Links and Open Source Projects Providing Additional Features

Useful Links and Open Source Projects Providing Additional Features

Useful Links and Open Source Projects Providing Additional Features

Useful Links and Open Source Projects Providing Additional Features

Useful Links and Open Source Projects Providing Additional Features

Useful Links and Open Source Projects Providing Additional Features