Html.TextBox and Html.TextArea in MVC

The TextBox helper renders an input tag with the type attribute set to text. You commonly use the TextBox helper to accept free-form input from a user. For example, the call to: @Html.TextBox(“Title”, Model.Title) results in: <input id=”Title” name=”Title” type=”text” value=”For Those About To Rock We Salute You” /> Just… Continue reading

MVC 4 Default Application Structure

When you create a new ASP.NET MVC application with Visual Studio, it automatically adds several fi les and directories to the project. ASP.NET MVC projects created with the Internet application template have eight top-level directories. DIRECTORY PURPOSE /Controllers Where you put Controller classes that handle URL requests /Models Where you… Continue reading