What is mvc viewbag?



What is mvc viewbag?..

Answer / Harphool Jat

ViewBag in ASP.NET MVC is a dynamic object that enables you to easily pass data from the Controller action method to the View. It's simpler than strongly typed views and works well for simple data scenarios.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MVC Model View Controller Interview Questions

Is there viewstate in mvc?

1 Answers  


What is filter mvc?

1 Answers  


Explain attribute based routing in mvc?

1 Answers  


Why mvc is better than asp net?

1 Answers  


Explain the concept of default route in mvc

1 Answers  


what are the components defined in the model from mvc architecture?

1 Answers  


How does mvc routing work?

1 Answers  


Which is better mvvm or mvc?

1 Answers  


What is lazy loading in mvc?

1 Answers  


What is mvc mvp mvvm?

1 Answers  


Mention what are the two ways to add constraints to a route?

1 Answers  


Is razor a mvc?

1 Answers  


Categories