I am not sure if Areas are part of VS11 or MVC4, but it seems very good for organizing a big project. But I have troubles linking to Controllers in Areas.
Edit: This works now and code is updated
There is a screenshot of my project here http://www.gratisimage.dk/graphic/images/2011/October/30/724D_4EAD44CD.jpg
I have 2 links
@Html.ActionLink("Create Vehicle", "CreateVehicle", "Vehicle", new { area = "Units" }, null)
@Html.ActionLink("Index", "Index", "Vehicle", new { area = "Units" }, null)
And my Controller
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace unoeurotest.Areas.Units.Controllers
{
public class VehicleController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult CreateVehicle()
{
return View();
}
}
}