What is ViewData? Technology Community › Category: ASP.NET › What is ViewData? 0 Vote Up Vote Down VietMX Staff asked 4 years ago Viewdata contains the key, value pairs as dictionary and this is derived from class — “ViewDataDictionary“. In action method we are setting the value for viewdata and in view the value will be fetched by typecasting.