ViewData mechanics and segmentation (excerpt from ASP.NET MVC in Action)

Posted by: Jeffrey Palermo, on 27 Dec 2008 | View original | Bookmarked: 0 time(s)

(excerpt from ASP.NET MVC in Action) Viewdata is the bag of state that is passed to a view. A view should get all the information it needs from the viewdata. This concept is implemented as a dictionary. It contains key/value pairs as well as some special properties, such as Model. Viewdata is accessible on the controller as well. The controller is responsible for filling the viewdata dictionary with objects, but action filters can add to the dictionary as well. When a view is executing, it will...

Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1694 | Hits: 27

Similar Posts

  • The ASP.NET MVC ActionController The controllerless action, or actionless controller more
  • New class: ASP.NET MVC Boot Camp developer training more
  • Handling Formats Based On Url Extension more
  • MVC Controllers and Forms Authentication more
  • Donut Caching in ASP.NET MVC more
  • Display AJAX Progress in ASP.NET MVC more
  • How To: Telerik RadGrid for ASP.NET AJAX with ASP.NET MVC more
  • Flickr web app with MVC preview 3 [Cont..] more
  • ASP.NET MVC Preview 3 Release more
  • CustomActionData in WiX with Deferred Custom Actions more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD