public class HomeController : Controller {
    public ActionResult Index() {
        ViewBag.Message = “Welcome to ASP.NET MVC!”;
        return View();

When the view name isn’t specified, the ViewResult returned by the action method applies a convention to locate the view. It fi rst looks for a view with the same name as the action within the /Views/ControllerName directory (the controller name without the “Controller” suffi x in this case). The view selected in this case would be /Views/Home/Index.cshtml