Data Persistence & Validation
Visual Studio 2015
| Intermediate
- 11 Videos | 52m 53s
- Earns a Badge
You must consider data validation and persistence when creating a software application. Learn how to use Entity Framework 7 to persist data to a database, and how to use AngularJS and ASP.NET validation to implement validation.
WHAT YOU WILL LEARN
-
add the Entity Framework(EF) 7 Nuget packages to the projectcreate an Entity Framework DbContext classregister the EF DbContext with the application servicesconfigure the database connection string in the Config.json fileavail of dependency injection to enable the Web API controller to use the DbContext classuse the command prompt or NuGet Package Manager Console to perform database migrations
-
use built-in features of AngularJS to configure client-side form validationupdate a ASP.NET model to use validation attributesupdate the Web API controller on the server to check for a valid model state and display validation messagesupdate the client controllers to show validation messages coming from the serverstore app data persistently as well as validate data on client and server side
IN THIS COURSE
-
1.Adding the EF 7 Nuget Packages3m 30sUP NEXT
-
2.Creating a DbContext Class3m 38s
-
3.Registering Entity Framework Services5m 9s
-
4.Configuring the Database Connection3m 17s
-
5.Using the DbContext in the Web API Controller6m 52s
-
6.Using Database Migrations3m 59s
-
7.Configuring Client-Side Validation5m 11s
-
8.Using ASP.NET Validation3m 12s
-
9.Adding Validation to the Server Controller4m 20s
-
10.Supporting Server Side Validation in Angular Client5m 21s
-
11.Exercise: Persisting Data and Adding Validation8m 24s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.