MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

Parent-Child Data with EF, MVC, Knockout, Ajax, and Validation

Course Summary

There are many tutorials that focus on one or two technologies involved in creating an interactive web application, but none cover all the elements of creating a complete solution that uses Entity Framework, MVC, Knockout, Ajax, jQuery validation, and con

  • +

    Course Syllabus

    ● Set Up the Solution
        ◦ Introduction
        ◦ Create the Solution
        ◦ Install and Update the Required NuGet Packages
        ◦ Define and Configure the SalesOrder Model
        ◦ Create and Seed the Database
        ◦ Summary
    ● Displaying a Single Entity
        ◦ Introduction
        ◦ Scaffold and Modify the Controller
        ◦ Define the Server-Side SalesOrderViewModel
        ◦ Define the Client-Side SalesOrderViewModel
        ◦ Understanding KnockoutJS and Knockout.Mapping
        ◦ Map the Server-Side ViewModel to the Client-Side ViewModel
        ◦ Modify the Details View to Use the Client-Side ViewModel
        ◦ Summary
    ● Adding a Single Entity
        ◦ Introduction
        ◦ Modify the Create View to Use the Client-Side ViewModel
        ◦ Create a Client-Side Save Method
        ◦ Create a Preliminary Save Controller Action
        ◦ Summary
    ● Editing a Single Entity
        ◦ Introduction
        ◦ Create Edit() to Use the Server-Side ViewModel
        ◦ Modify the Edit View to Use the Client-Side ViewModel
        ◦ Manually Manage ObjectState as a Corollary for EntityState
        ◦ Modify Save() to Use ObjectState
        ◦ Summary
    ● Deleting a Single Entity
        ◦ Introduction
        ◦ Create the Delete() Controller Action
        ◦ Modify the Delete View to Use the Client-Side ViewModel
        ◦ Modify Save() to Handle Deletes
        ◦ Summary
    ● Refactoring for Easier Development
        ◦ Introduction
        ◦ Create a Partial View for Details and Delete
        ◦ Create a Partial View for Create and Edit
        ◦ Create Helper Methods for the Server-Side ViewModel
        ◦ Prettying Things Up a Bit Using Bootstrap
        ◦ Summary
    ● Adding Children
        ◦ Introduction
        ◦ Define and Configure the SalesOrderItem Model
        ◦ Define the Server-Side SalesOrderItemViewModel
        ◦ Define the Client-Side SalesOrderItemViewModel
        ◦ Modify and Reconfigure SalesOrder Model
        ◦ Modify and Reconfigure Server-Side SalesOrderViewModel
        ◦ Define the Client-Side Child Mapping
        ◦ Create Knockout Template for SalesOrderItem in Partial Views
        ◦ Add a SalesOrderItem
        ◦ How to Work With a Collection of New Identity Keys
        ◦ Summary
    ● Editing Children
        ◦ Introduction
        ◦ Flag Entities as Edited
        ◦ Handle Edited Entities in Save()
        ◦ Add Computed Observables for Extended Price and Total
        ◦ Summary
    ● Deleting Children
        ◦ Introduction
        ◦ Client-Side deleteSalesOrderItem()
        ◦ Track Sales Order Items to be Deleted
        ◦ Delete a Sales Order With Attached Sales Order Items
        ◦ Summary
    ● Client-Side Validation
        ◦ Introduction
        ◦ HTML5 Validation
        ◦ Unobtrusive Validation
        ◦ jQuery Validation
        ◦ Add Custom Messages
        ◦ Add Custom Validation Rules
        ◦ Work Around the Sales Order Item Validation Problem
        ◦ Summary
    ● Server-Side Validation
        ◦ Introduction
        ◦ Add Data Annotations to the Server-Side ViewModels
        ◦ Raise a ModelStateException and Handle it in the Controller
        ◦ Send Server-Side Errors to the Client and Process Them in Save()
        ◦ Validate Against Server-Side Business Rules
        ◦ Summary
    ● Introducing Unique Keys
        ◦ Introduction
        ◦ Implementing Unique /keys
        ◦ Handle Unique Key Violations on Both Server and Client

Course Fee:
USD 29

Course Type:


Course Status:



1 - 4 hours / week

This course is listed under Open Source and Development & Implementations Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top