In this article I will show you how to apply html TextBoxFor class in asp.net mvc Razor view. The simplest way is,
@Html.TextBoxFor(model => model.Title, new { Class= "form-control" })
Here I applied bootstrap css class for textbox(TextBoxFor) in form.