Wiley
Wiley.com
Print this page Share

ASP.NET MVC 1.0 Website Programming: Problem - Design - Solution

ISBN: 978-0-470-41095-0
552 pages
June 2009
ASP.NET MVC 1.0 Website Programming: Problem - Design - Solution (0470410957) cover image
Perfectly suited to the innovative Problem Design Solution approach, ASP.NET MVC is a new development model that separates code for the data, look, and business processes of a Web site. This nuts-and-bolts guide thoroughly covers creating a Web site with MVC and discusses solving the most common problems that you may encounter when creating your first application or trying to upgrade a current application. The material is based on the highly praised and widely used TheBeerHouse ASP.NET Starter Kit that was developed in the bestselling ASP.NET 2.0 Website Programming: Problem Design Solution. Additional coverage includes registration and membership systems and user-selectable themes; content management systems for articles and photos; polls, mailing lists, and forums; e-commerce stores, shopping carts, and order management with real-time credit card processing, and more.
See More
Introduction.

Chapter 1: Introducing the Project: TheBeerHouse.

Chapter 2: Introducing the ASP.NET Model-View-Controller (MVC).

Chapter 3: Developing the Site Design.

Chapter 4: Planning an Architecture.

Chapter 5: Membership and User Profiling.

Chapter 6: News, Article, and Blog Management.

Chapter 7: Opinion Polls.

Chapter 8: Newsletters.

Chapter 9: Forums.

Chapter 10: E-commerce Store.

Chapter 11: Localizing the Site.

Chapter 12: Deploying the Site.

Index.

See More
Nick Berardi is the owner of Managed Fusion (www.managedfusion.com), a U.S.-based company that specializes in the fields of software architecture/development, usability engineering, and cloud-based computing initiatives with a strong focus on .NET, the Web, SEO, SEM, and Microsoft technologies.

Al Katawazi is owner of Blue Shift Technologies Inc. (www.blueshifttechnologies.com), a software consulting company based out of Upstate New York. He is very fortunate to have worked on a variety of different projects for many notable clients. Most recently his focus has been on creating SaaS-based solutions leveraging the MVC framework. Al is also the author of his own blog (www.codingsmarter.com), which he has tried to keep up to date even though writing a book is a great excuse not to. When Al is not programming he enjoys kayaking with his dog Scout and card sharking with his wife Heather.

Marco Bellinaso lives in Bologna, Italy, and works as a freelance consultant, developer, and trainer specialized in all “web-things” that run on the Microsoft platform, such as ASP.NET, AJAX, and SharePoint. He’s been working with the .NET Framework since the Beta 1 on applications of all types, including Web Services, Windows Forms, Windows Services, and mobile applications. He is also author or co-author of a number of commercial tools for developers, such as the VB Migration Partner (http://www.vbmigration.com/), the award-winning VBMaximizer add-in, CodeBox for .NET, and FormMaximizer for .NET.

See More
Download TitleSizeDownload
TheBeerHouse MVC May 21, 2009 version
The primary download site for this code is http://thebeerhouse.codeplex.com/. We mirror the code here on wrox.com for your convenience, but you should check CodePlex for occasional updates.
4.53 MB Click to Download
See More

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
25 Typo in Text
NHiberante

Should be

NHibernate
7/27/09
39 Error in Code
On Page 39 the code:

RedirectToRouteResult.Values["action"]

is wrong. It should be:

RedirectToRouteResult.RouteValues["action"]

Thus the Test on page 39 written correcly is:

[Test]
public void Register_Can_Successfully_Register_New_User()
{
var ac = new AccountController();
var results = ac.Register(username, email, question, answer, password);
Assert.IsNotNull(results);
Assert.IsInstanceOfType(typeof(RedirectToRouteResult), results);
var typedResults = results as RedirectToRouteResult;
Assert.AreEqual("Index", typedResults.RouteValues["action"], "Wrong action");
Assert.AreEqual("Home", typedResults.RouteValues["controller"], "Wrong controller");
}
08/04/2010
41 Error in Code
The code:

Assert.AreEqual("Index", typedResults.Values["action"], "Wrong action"); Assert.AreEqual("Home", typedResults.Values["controller"], "Wrong controller");

should be changed to:

Assert.AreEqual("Index", typedResults.RouteValues["action"], "Wrong action");
Assert.AreEqual("Home", typedResults.RouteValues["controller"], "Wrong controller");
08/06/2010
109 Error in Text
DESIGNING

Should be

Designing
7/8/09
312 Error in Code
Error:

Assert.AreEqual("Index", typedResults.Values["action"], "Wrong action"); Assert.AreEqual("Home", typedResults.Values["controller"], "Wrong controller");

should be changed to:

Assert.AreEqual("Index", typedResults.RouteValues["action"], "Wrong action");
Assert.AreEqual("Home", typedResults.RouteValues["controller"], "Wrong controller");
08/04/2010
See More
Back to Top