Free Sample
+ Collection

ASP.NET MVC 1.0 Quickly

Maarten Balliauw

Design, develop, and test powerful and robust web applications with MVC framework the agile way
RRP $20.99
RRP $34.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847197542
Paperback256 pages

About This Book

  • Rapid guide to building powerful web applications with ASP.NET MVC framework
  • Covers all facets of web application development including requirement analysis, design, building, testing, and deployment
  • Explore the ASP.NET MVC framework with several newly released features including WebForms, Script Combining, jQuery integration, and ASP.Net MVC AJAX helpers
  • Rich with example code, clear explanations, and interesting examples – a truly hands-on book for ASP.NET developers

Who This Book Is For

This book is for ASP.NET developers who want a fast-paced guide to building powerful web applications using the ASP.NET MVC framework. All the code examples are in C#.

Table of Contents

Chapter 1: ASP.NET MVC
The ASP.NET MVC framework
Chapter 2: 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
Chapter 3: Handling Interactions
Creating a form
Handling posts
Handling file uploads
Using the ModelBinder attribute
Validating data
Chapter 4: Components in the ASP.NET MVC Framework
The ASP.NET MVC request life cycle
The model in depth
The controller in depth
The view in depth
Action filters
Chapter 5: Routing
What is ASP.NET routing?
ASP.NET routing versus URL rewriting
Route patterns
Defining routes
Creating URLs from routes
Chapter 6: Customizing and Extending the ASP.NET MVC Framework
Creating a control
Creating a filter attribute
Creating a custom ActionResult
Creating a ViewEngine
Chapter 7: Using Existing ASP.NET Features
Session State
Membership, authentication, and authorization
Mixing ASP.NET Webforms and ASP.NET MVC
Building views at compile time
Chapter 8: AJAX and ASP.NET MVC
Different AJAX frameworks
Chapter 9: Testing an Application
Unit testing
Mocking ASP.NET components
Testing routes
Testing UpdateModel scenarios
Chapter 10: Hosting and Deployment
Platforms that can be used
Differences between IIS 7.0 integrated and classic mode
Hosting an ASP.NET MVC web application

What You Will Learn

  • Learn about the architecture of ASP.NET MVC framework
  • Integrate AJAX and ASP.NET MVC and use ASP.NET AJAX and jQuery to build powerful database-driven web applications
  • Customize the ASP.NET MVC request lifecycle
  • Give your application clean URLs and a direct coupling between URL and application logic
  • Create mock objects to improve the design of code within Test-Driven deployment
  • Get familiar with unit testing in a web application, including advanced unit testing concepts such as mocking

In Detail

Using WebForms has led to problems for ASP.NET developers, such as low testability and inconsistent code. These problems become increasingly relevant when trying to develop or maintain anything but the simplest web site.

This book takes you through the ASP.NET MVC framework to help you simplify and build web applications quickly. With example applications built on best practices and with clear explanations, you will get started in no time.

The MVC pattern is widely accepted as one of the best approaches for building modern web applications and Microsoft's new ASP.NET MVC Framework offers a fully supported way for developers to implement MVC in ASP.NET.

This book takes you through the essential tasks to create powerful web applications as fast as possible. These essential tasks are explained clearly, with well-structured instructions. The book does not cover every single feature in detail; it provides precise information for you to get started, and takes you through the creation of an example application that covers MVC application design techniques.

In addition to helping you write code, this book covers unit testing, to improve the stability and quality of the application you are building. It provides a quick reference to the MOQ framework to aid in unit testing. With this book, you will soon have the skills that will make you an ASP.NET developer to be reckoned with, and you will be creating applications with a speed that will astonish your colleagues and boss!


Read More

Recommended for You

RESTful Services with ASP.NET Web API [Video]
$ 25.50
Microsoft AJAX Library Essentials: Client-side ASP.NET AJAX 1.0 Explained
$ 12.00
ASP.NET jQuery Cookbook
$ 26.99
ASP.NET Data Presentation Controls Essentials
$ 14.40