9 | Use the form below to change your password. 10 |
11 |12 | New passwords are required to be a minimum of @Membership.MinRequiredPasswordLength characters in length. 13 |
14 | 15 | 16 | 17 | 18 | @using (Html.BeginForm()) { 19 | @Html.ValidationSummary(true, "Password change was unsuccessful. Please correct the errors and try again.") 20 |7 | Your password has been changed successfully. 8 |
9 | -------------------------------------------------------------------------------- /Views/Account/LogOn.cshtml: -------------------------------------------------------------------------------- 1 | @model BootstrapMVC.Models.LogOnModel 2 | 3 | @{ 4 | ViewBag.Title = "Log On"; 5 | } 6 |13 | Please enter your user name and password. @Html.ActionLink("Register", "Register") if you don't have an account. 14 |
15 | 16 | 17 | 18 | @Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.") 19 | 20 | @using (Html.BeginForm()) { 21 | 47 | } 48 | 49 |14 | Use the form below to create a new account. Passwords are required to be a minimum of @Membership.MinRequiredPasswordLength characters in length. 15 |
16 | 17 | 18 | 19 | 20 | 21 | @using (Html.BeginForm()) { 22 | @Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.") 23 | 62 | } 63 |11 | Put content here. 12 |
13 |ASP.NET MVC is a part of the ASP.NET Web application framework. It is one of the two different programming models you can use to create ASP.NET Web applications,the other being ASP.NET Web Forms.
7 | 8 |An MVC Application is designed and implemented using the following three attributes
10 |The model contains the core information for an application. This includes the data and validation rules as well as data access and aggregation logic.
14 | 15 |The view encapsulates the presentation of the application, and in ASP.NET this is typically the HTML markup.
19 | 20 |The controller contains the control-flow logic. It interacts with the Model and Views to control the flow of information and execution of the application.
24 | 25 |