<p>In previous releases there were 3 ways to pass data from controller to view AFAIK (shown below). </p>

<p>I want to use method (2) with MVC Beta 1, but I can't find the renderView method. So what's the new syntax (if it's still possible)? Thanks in advance.</p>

<p>Ben.</p>

<p>Syntax #1: Old-school dictionary</p>

<pre><code>ViewData["Name"] = "Moo-moo";
ViewData["Age"] = 6;
ViewData["HasFunnyFace"] = true;
RenderView("ShowCat");
</code></pre>

<p>Syntax #2: Explicitly-typed ViewData object</p>

<pre><code>RenderView("ShowCat", new ShowCatViewData {
    Name = "Moo-moo",
    Age = 6,
    HasFunnyFace = true
});
</code></pre>

<p>Syntax #3: Anonymously-typed object</p>

<pre><code>RenderView("ShowCat", new { 
    Name = "Moo-moo", 
    Age = 6, 
    HasFunnyFace = true 
});
</code></pre>

In beta 1, use the View method:
```
```
return View ("ShowCat", <TYPED_DATA_SET_OR_OTHER_MODEL>);
```
```
The View method has replaced the RenderView method.