parent
c398c53ac9
commit
7ed006b0a0
|
@ -1,10 +0,0 @@
|
|||
.. include:: /../common/stub-topic.txt
|
||||
|
||||
|stub-icon| Dynamic vs Strongly Typed Views
|
||||
===========================================
|
||||
|
||||
.. include:: /../common/stub-notice.txt
|
||||
|
||||
.. _issue: https://github.com/aspnet/Docs/issues/132
|
||||
|
||||
Learn more about `Dynamic vs Strongly Typed Views <http://www.asp.net/mvc/overview/views/dynamic-v-strongly-typed-views>`_.
|
|
@ -3,11 +3,10 @@ Views
|
|||
|
||||
.. toctree::
|
||||
:titlesonly:
|
||||
|
||||
|
||||
overview
|
||||
razor
|
||||
layout
|
||||
dynamic-vs-static
|
||||
working-with-forms
|
||||
html-helpers
|
||||
tag-helpers/index
|
||||
|
|
|
@ -135,6 +135,6 @@ Data is taken from the URL and passed to the controller using the :doc:`MVC mode
|
|||
|
||||
.. image:: adding-view/_static/rick.png
|
||||
|
||||
In the sample above, we used the ``ViewData`` dictionary to pass data from the controller to a view. Later in the tutorial, we will use a view model to pass data from a controller to a view. The view model approach to passing data is generally much preferred over the ``ViewData`` dictionary approach. See :doc:`/mvc/views/dynamic-vs-static` for more information.
|
||||
In the sample above, we used the ``ViewData`` dictionary to pass data from the controller to a view. Later in the tutorial, we will use a view model to pass data from a controller to a view. The view model approach to passing data is generally much preferred over the ``ViewData`` dictionary approach.
|
||||
|
||||
Well, that was a kind of an "M" for model, but not the database kind. Let's take what we've learned and create a database of movies.
|
||||
|
|
Loading…
Reference in New Issue