20 Recipes for Programming MVC 3
Author | : Jamie Munro |
Publisher | : "O'Reilly Media, Inc." |
Total Pages | : 121 |
Release | : 2011-09-28 |
ISBN-10 | : 9781449317652 |
ISBN-13 | : 1449317650 |
Rating | : 4/5 (52 Downloads) |
Download or read book 20 Recipes for Programming MVC 3 written by Jamie Munro and published by "O'Reilly Media, Inc.". This book was released on 2011-09-28 with total page 121 pages. Available in PDF, EPUB and Kindle. Book excerpt: There's no need to reinvent the wheel every time you run into a problem with ASP.NET's Model-View-Controller (MVC) framework. This concise cookbook provides recipes to help you solve tasks many web developers encounter every day. Each recipe includes the C# code you need, along with a complete working example of how to implement the solution. Learn practical techniques for applying user authentication, providing faster page reloads, validating user data, filtering search results, and many other issues related to MVC3 development. These recipes help you: Restrict access to views with password protection Allow users to upload and save a file to your website Implement AJAX to allow users to see updated content quickly Validate form input to ensure the data you capture is what you expect Create thumbnails to preview images rather than view them full-size Give your web application the ability to change languages Use CAPTCHA to prevent automated programs from completing forms Make URLs more user- and search-engine-friendly with the MapRoute function