Loading
ViewData is a dictionary-like data container in ASP.NET MVC and ASP.NET Core MVC that passes values from a controller to a view during the current request. Developers use it for small amounts of view-specific data, accessing values by string keys and converting them to the expected type in the view.
31 posts about ViewData by 26 contributors.
Know ViewData? Share what you know with developers who are learning it.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article