ASP.NET MVC Framework Unleashed

ASP.NET MVC Framework Unleashed

ASP.NET MVC Framework Unleashed is now published and available at your local bookstore and Amazon. I devoted over a year of my life to writing this book. At over 700 pages, this book is one of the most comprehensive books on Microsoft’s newest framework for building web applications. Buy the book at Amazon All of the code samples are included in both the C# and VB.NET programming languages in the text of the book. You can download the source code from the book by visiting my publisher’s website at: http://www.informit.com/store/product.aspx?isbn=0672329980 You can download a single file that includes all of the code...

Posted Sunday, August 02, 2009 9:54 AM

This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon You use HTML helpers in a view to render HTML content. An HTML helper, in most cases, is just a method that returns a string. You can build an entire ASP.NET MVC application without using a single HTML helper. However, HTML helpers make your life as a developer easier. By taking advantage...

Posted Tuesday, March 03, 2009 11:51 AM

This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon An ASP.NET MVC model contains all of the business, validation, and data access logic required by your application. In other words, a model contains all of your application logic except the view logic and controller logic. The bulk of your time and effort when building an ASP.NET MVC application is devoted...

Posted Friday, February 27, 2009 4:24 AM

This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon The set of views in an ASP.NET MVC application is the public face of the application. ASP.NET MVC views are responsible for rendering the HTML pages that people see when they visit your website. In this chapter, you learn how to create and work with views. You learn how to pass information...

Posted Saturday, February 21, 2009 8:03 PM

This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon ASP.NET MVC controllers are responsible for controlling the flow of application execution. When you make a browser request against an ASP.NET MVC application, a controller is responsible for returning a response to that request. Controllers expose one or more actions. A controller action can return different types of action results to a...

Posted Friday, February 13, 2009 4:55 PM

This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon In the previous chapter, we discussed all of the lofty goals of the ASP.NET MVC framework. In this chapter, we completely ignore them. In this chapter, we build a simple database-driven ASP.NET MVC application in the easiest way possible. We ignore design principles and patterns. We don’t create a single unit...

Posted Saturday, February 07, 2009 6:41 PM

This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon When you request a page from an ASP.NET MVC application, the request gets routed to a particular controller. In this chapter, you learn how to use the ASP.NET Routing module to control how browser requests get mapped to controllers and controller actions. In the first part of this chapter, you learn about...

Posted Friday, February 06, 2009 8:35 AM

This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon “There is nothing permanent except change.” -- Heraclitus In this chapter, you are provided with an overview and introduction to the Microsoft ASP.NET MVC framework. The goal of this chapter is to explain why you should want to build web applications using ASP.NET MVC. Because the ASP.NET MVC framework was designed to enable...

Posted Thursday, February 05, 2009 4:01 AM