Data Persistence & Validation

Visual Studio 2015    |    Intermediate
  • 11 videos | 52m 53s
  • Earns a Badge
Rating 4.2 of 11 users Rating 4.2 of 11 users (11)
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

  • 3m 30s
    Learn how to add the Entity Framework 7 Nuget packages to the project. FREE ACCESS
  • 3m 38s
    In this video, you will create a DbContext class using Entity Framework. FREE ACCESS
  • Locked
    3.  Registering Entity Framework Services
    5m 9s
    In this video, you will learn how to register the EF DbContext with the application services. FREE ACCESS
  • Locked
    4.  Configuring the Database Connection
    3m 17s
    In this video, you will configure the database connection string in the Config.json file. FREE ACCESS
  • Locked
    5.  Using the DbContext in the Web API Controller
    6m 52s
    During this video, you will learn how to use dependency injection to enable the Web API controller to use the DbContext class. FREE ACCESS
  • Locked
    6.  Using Database Migrations
    3m 59s
    In this video, learn how to use the command prompt or the NuGet Package Manager Console to perform database migrations. FREE ACCESS
  • Locked
    7.  Configuring Client-Side Validation
    5m 11s
    In this video, you will learn how to use the built-in features of AngularJS to configure client-side form validation. FREE ACCESS
  • Locked
    8.  Using ASP.NET Validation
    3m 12s
    During this video, you will learn how to update an ASP.NET model to use validation attributes. FREE ACCESS
  • Locked
    9.  Adding Validation to the Server Controller
    4m 20s
    During this video, you will learn how to update the Web API controller on the server to check for a valid model state and display validation messages. FREE ACCESS
  • Locked
    10.  Supporting Server Side Validation in Angular Client
    5m 21s
    In this video, you will update the client controllers to show validation messages coming from the server. FREE ACCESS
  • Locked
    11.  Exercise: Persisting Data and Adding Validation
    8m 24s
    In this video, you will learn how to store app data persistently, as well as validate data on the client and server side. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 5.0 of 2 users Rating 5.0 of 2 users (2)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.0 of 17 users Rating 4.0 of 17 users (17)
Rating 4.3 of 7 users Rating 4.3 of 7 users (7)
Rating 4.6 of 78 users Rating 4.6 of 78 users (78)