Integrated development environments (IDEs) provide tools for debugging code by setting breakpoints in the code to inspect the state of the application during processing. In web app development, we can inspect our app using the developer tools available in our web broswers.
View ⇨ Developer ⇨ Developer Tools
Tools ⇨ Browser Tools ⇨ Web Developer Tools
Develop ⇨ Show Web Inspector
Right click ⇨ Inspect
Validate that data entered into a web form matches expectations. Validation provides assurances around:
Validation can occur on the front-end using Javascript, the back-end on the web server, or both.
In ASP.net MVC Core we can use Data Annotations: Implemented by
using System.ComponentModel.DataAnnotations;
[Required(ErrorMessage = "")]
[Range(n, m, ErrorMessage = "")]
[StringLength(n, ErrorMessage = "")]
[Required(ErrorMessage = "An Album Title is required")]
[StringLength(160)]
public string Title { get; set; }