Book Image

ASP.NET MVC 2 Cookbook

Book Image

ASP.NET MVC 2 Cookbook

Overview of this book

ASP.NET MVC, one of the latest web development platforms from Microsoft, brings the power of MVC programming to ASP.NET development. It simplifies the task of application development and maintenance for developers. However, ASP.NET MVC is filled with so many features that developers end up looking for solutions to the many problems that are encountered in their routine development tasks.ASP.NET MVC 2 Cookbook will provide solutions for the very specific problems that are encountered while developing applications with the ASP.NET MVC platform. It consists of many recipes containing step-by-step instructions that guide developers to effectively use the wide array of tools and features of ASP.NET MVC platform for web development ASP.NET MVC Cookbook is a collection of recipes that will help you to perform your routine development tasks with ease using the ASP.NET MVC platform. In this book you will be walked through the solution to several specific web application development problems. Each recipe will walk you through the creation of a web application, setting up any Visual Studio project requirements, adding in any external tools, and finally the programming steps needed to solve the problem. The focus of the book is to describe the solution from start to finish. The book starts off with recipes that demonstrate how to work effectively with views and controllers – two of the most important ingredients of the ASP.NET MVC framework. It then gradually moves on to cover many advanced routing techniques. Considering the importance of having a consistent structure to the site, the book contains recipes to show how to build a consistent UI and control its look with master pages. It also contains a chapter that is packed with many recipes that demonstrate how to gain control of data within a view. As the book progresses through some exciting recipes on performing complex tasks with forms, you will discover how easy it is to work with forms to jazz up the look of your web site. Building large applications with ease is one of the prime features of the MVC model. Therefore, this book also focuses on tools and features that make building large applications easier to manage. As data plays an important role in the MVC architecture, there are ample recipes dedicated to cover data validation, access, and storage techniques. Finally, the book demonstrates how to enhance the user experience of your visitors by controlling the data at the application, session, caching, and cookie level. By the end of this book, you will have explored a wide array of tools and features available with the ASP.NET MVC platform
Table of Contents (16 chapters)
ASP.NET MVC 2 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface

About the Reviewers

Tim Cromarty has been working in IT for well over 20 years in a variety of positions and responsibilities. In the late '80s' he was an Oracle developer, and worked for a variety of companies including Oracle UK, ITV, Banks and Local Government. Then, in the late '90s'-he became involved in Java and web development working primarily for the European offices of US-based organizations. More recently, Tim has held a number of director level positions managing large multi-million pound global organizations.

As a developer, he enjoys learning new programming languages, techniques, and practices. He has been using .NET since the first version and has also spent plenty of time developing in C, Java, Perl, PHP, SQL, PL/SQL (he could go on...), but his current focus is .NET—especially MVC.

Based in Hampshire, England, Tim is currently an independent software consultant and technologist providing technical and managerial consultancy in Microsoft ASP.NET, MVC, jQuery, JavaScript and AJAX, as well as managing multiple web development projects, e-commerce, and community websites.

His blog can be found at http://blog.clicktricity.com.

I am married with an amazing 4-year-old son. My ambition is to stop lying about my age when I reach 30... My wife thinks I'm a nerd because my idea of relaxing is to read a programming manual!

Buu Nguyen is a Microsoft MVP in ASP.NET. He is currently the Vice President of Technology at KMS Technology—a global software services company. During his past seven years of experience in software development, he has been involved in the development of multiple applications ranging from Java and .NET enterprise applications to Ruby on Rails web applications.

Buu is an active community participant who has conducted training for Microsoft, published technical articles, developed open source software, and been a frequent speaker at technical conferences, including those organized by Microsoft.

Besides his industrial and community engagement, Buu is a part-time university lecturer who teaches courses in software architecture, J2EE, and ASP.NET.

Baskin I. Tapkan has recently joined Verifications, Inc—a consumer reporting agency specializing in systems integrations—as a senior software/web developer/architect. Baskin is a technology evangelist and has been programming for over 20 years, starting with Turbo Pascal and QBasic. He has been coding in the .NET framework since its release and now focuses on the ASP.NET MVC and WCF Services. Prior to joining the Verifications Inc., he has been a software architect at Healthland, Inc., a consultant with Magenic, and a systems design engineer at Imation Corporation. He has over 12 years of industry experience in manufacturing, healthcare, education, and consumer services, working on various database-driven applications. Baskin holds a Master's Degree in Electrical Engineering from the University of Wyoming. Baskin is an avid windsurfer and an upcoming kite boarder currently residing in Twin Cities, MN. He enjoys his few weeks of vacation at the Columbia River Gorge.