I make simple Azure app with ASP.NET MVC 3 (Razor) and SQL Server 2008 Express. And have this mistake: "error CS0234: The type or namespace name 'WindowsAzure' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)"
in this View:
@foreach (var item in Model) { // error string
<tr>
<td>
@Html.DisplayFor(modelItem => item.TextThought)
</td>
<td>
@Html.ActionLink("Edit", "Edit", new { id = item.IdThought }, new { id = item.IdThought }) |
Method in controller:
public ActionResult Index()
{
return View(db.GetThoughts());
}
Method contents:
public IQueryable<Thoughts> GetThoughts()
{
return _db.Thoughts;
}
Please Help me, Somebody.