ASP .NET MVC 4 - Upshot JS Part 2: Performing Insert
In this video I perform the following:
1) Create EF code-first model
2) Create Product model
3) Create DataController inheriting from DbDataController of T
4) Create an UpshotJS remote datasource
5) Map server data to a JavaScript type
6) Insert that JavaScript type and post it back to the server, and inserting with Entity Framework.
The first part is here: http://ryankeeter.com/blog/single-page-applications-setup-with-ef-upshot-knockout-part-1
1) Create EF code-first model
2) Create Product model
3) Create DataController inheriting from DbDataController of T
4) Create an UpshotJS remote datasource
5) Map server data to a JavaScript type
6) Insert that JavaScript type and post it back to the server, and inserting with Entity Framework.
The first part is here: http://ryankeeter.com/blog/single-page-applications-setup-with-ef-upshot-knockout-part-1
Category
📚
Learning