ASP.NET MVC 3: Automatically generating view while adding controller (without Entity Framework)

I am trying to learn MVC. I want to automatically generate the required view code as and when I add a controller. This is possible if I select the option “Controller with read/write actions and views, using Entity Framework” . However I am not using Entity Framework. How can I achieve the similar behavior without using Entity Framework? And why it is unable to automatically generate the view when I don’t use Entity Framework?

Calling @Html.Partial to display a partial view belonging to a different controller

I am developing an ASP.NET MVC 3 application, whose content pages have a common pattern of layout elements. However, because the login page does not follow this layout, I cannot place this layout in ViewsShared_Layout.cshtml. So I would like to add another shared layout, say, ViewsShared_Content.cshtml, and call it from the content views… but unfortunately … Read more