ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.
Go to our cool travel reservation system.
@Html.ActionLink("Reserve Now", "Fly", "Flight", new { area = "Travel" }, new { @class = "btn btn-default" })
NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.
You can easily find a web hosting company that offers the right mix of features and price for your applications.
| '@Html.NameForModel()' | '@Html.ValueForModel()' | |
| '@Html.Name("Name")' | '@Html.Value("Name")' | |
| '@Html.NameFor(m => m.Address)' | '@Html.ValueFor(m => m.Address)' | |
| '@Html.Name("Anon.Address.Street")' | '@Html.Value("Anon.Address.Street")' |
| @Html.TextBox("Name") | |
| @Html.TextBoxFor(m => m.Address, htmlAttributes: new { @class = "form-control" }) | |
| @Html.CheckBox("Alive") or @Html.RadioButton("Alive", value: false) False @Html.RadioButton("Alive", value: true) True | |
| @Html.CheckBoxFor(m => m.Dependent.Alive) or @Html.RadioButtonFor(m => m.Dependent.Alive, value: false) False @Html.RadioButtonFor(m => m.Dependent.Alive, value: true) True | |
| @Html.PasswordFor(m => m.Password, htmlAttributes: new { @class = "form-control" }) | |
| @Html.TextBox("Anon.Name") | |
| @Html.TextBox("Anon.Address.Street", (object)ViewBag.Anon.Address.Street) | |
| @Html.TextBox("Anon.Address.City", value: null, format: "{0} (3)") | |
| @Html.TextBox("Anon.Address.State", value: null, htmlAttributes: new { @class = "form-control" }) | |
| @Html.TextBox("Anon.Address.Country", value: null, format: "{0} (4)", htmlAttributes: new { @class = "form-control" }) | |
| @Html.Password("Password", "some string") | |
| '@Html.Display("Name")' | |
| '@Html.Display("Dependent.Name")' | |
| '@Html.Display("Alive")' | |
| '@Html.Display("Dependent.Alive")' | |
| '@Html.Display("Age")' | |
| '@Html.Display("GPA")' |
| '@Html.DisplayFor(model => model.Name)' | |
| '@Html.DisplayFor(model => model.Dependent.Name)' | |
| '@Html.DisplayFor(model => model.Alive)' | |
| '@Html.DisplayFor(model => model.Dependent.Alive)' | |
| '@Html.DisplayFor(model => model.Age)' | |
| '@Html.DisplayFor(model => model.GPA)' |