Próbuję przejść przez following tutorial na asp.net. Kiedy zabieram się do tego kodu:ASP.NET MVC Intellisense nie znajduje ViewData
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="MvcApplication1.Views.Home.Index" %>
<%@ Import Namespace="MvcApplication1.Models" %>
<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
<table>
<tr>
<th>Id</th>
<th>Title</th>
<th>Release Date</th>
</tr>
<% foreach (Movie m in (IEnumerable)ViewData.Model) { %>
<tr>
<td><%= m.Id %></td>
<td><%= Html.Encode(m.Title) %></td>
<td><%= m.DateReleased %></td>
</tr>
<% } %>
</table>
</asp:Content>
Po wpisaniu w ViewData nie pokazuje w intellisense jakby nie jestem w tym odniesienie albo coś. Dalej w dół Html.Encode Html nie wyświetla się w intellisense. Co ja robię źle?
Używam najnowszej wersji MVC.
The Release Candidate ma rozwiązanie tego problemu z niezupełnie silnie wpisanymi widokami. – Haacked