Differences between revisions 4 and 5
Revision 4 as of 2019-05-15 20:51:13
Size: 867
Editor: scot
Comment:
Revision 5 as of 2019-05-15 20:51:38
Size: 883
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 1. Create a movies web api project of type: <<BR>>{{http://db.cs.southern.edu/videos/images/CPTR446/webapimvc_project_1.png}}

1. Create a EF 6 datamodel and database connection for your movies database. Then create a controller of type: {{http://db.cs.southern.edu/videos/images/CPTR446/webapimvc_project_2.png}}
 1. Create a movies web api project of type: <<BR>><<BR>>{{http://db.cs.southern.edu/videos/images/CPTR446/webapimvc_project_1.png}}
 1. Create a EF 6 datamodel and database connection for your movies database. Then create a controller of type: <<BR>><<BR>>{{http://db.cs.southern.edu/videos/images/CPTR446/webapimvc_project_2.png}}

Web AP and RESTful Web Services

  1. Create a movies web api project of type:

    http://db.cs.southern.edu/videos/images/CPTR446/webapimvc_project_1.png

  2. Create a EF 6 datamodel and database connection for your movies database. Then create a controller of type:

    http://db.cs.southern.edu/videos/images/CPTR446/webapimvc_project_2.png

  3. User your movies table and allow it to create the scaffolding (I did async methods). When you finish it will say "Scaffolding..." You can run your website at this point and test your system by trying the different api calls. Mine turned out to be .../api/Movies and .../api/Movies/1
  4. Finally make a html page similar to what I did in the example in class. You can see the video here: https://youtu.be/nFZ4h0gHir0

Demo your site for me, make sure it includes all the information for your movies.

WebServices/ProgrammingHomeworks/HW07 (last edited 2019-05-15 21:20:46 by scot)