Data Persistence & Validation

Visual Studio 2015    |    Intermediate
  • 11 Videos | 53m 23s
  • Earns a Badge
Likes 4 Likes 4
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 project
    create an Entity Framework DbContext class
    register the EF DbContext with the application services
    configure the database connection string in the Config.json file
    avail of dependency injection to enable the Web API controller to use the DbContext class
    use the command prompt or NuGet Package Manager Console to perform database migrations
  • use built-in features of AngularJS to configure client-side form validation
    update a ASP.NET model to use validation attributes
    update the Web API controller on the server to check for a valid model state and display validation messages
    update the client controllers to show validation messages coming from the server
    store app data persistently as well as validate data on client and server side

IN THIS COURSE

  • Playable
    1. 
    Adding the EF 7 Nuget Packages
    3m 30s
    UP NEXT
  • Playable
    2. 
    Creating a DbContext Class
    3m 38s
  • Locked
    3. 
    Registering Entity Framework Services
    5m 9s
  • Locked
    4. 
    Configuring the Database Connection
    3m 17s
  • Locked
    5. 
    Using the DbContext in the Web API Controller
    6m 52s
  • Locked
    6. 
    Using Database Migrations
    3m 59s
  • Locked
    7. 
    Configuring Client-Side Validation
    5m 11s
  • Locked
    8. 
    Using ASP.NET Validation
    3m 12s
  • Locked
    9. 
    Adding Validation to the Server Controller
    4m 20s
  • Locked
    10. 
    Supporting Server Side Validation in Angular Client
    5m 21s
  • Locked
    11. 
    Exercise: Persisting Data and Adding Validation
    8m 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.

YOU MIGHT ALSO LIKE