Chapter 22. Portable areas

This chapter covers

  • Building a portable area
  • Embedding views
  • Distributing a portable area
  • Creating an RssWidget portable area
  • Integrating with a host using the bus

ASP.NET MVC 2’s areas allow us to structure the controllers and views within our application, organizing our projects hierarchically into folders and namespaces. Portable areas, a feature in MvcContrib, let us take that concept even further. Portable areas are like regular areas in that they’re a collection of controllers and views—segmented from other areas. But they’re also portable; the entire area is a separate assembly—typically deployed as a DLL file—and can be shared among several ASP.NET MVC 2 projects. Whereas areas allow us to segment our ...

Get ASP.NET MVC 2 in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.