Jacksonville State University
CS 525: Web Application Development Using Web Services
Assignment 1: Using ASP.NET
The first assignment is designed to ensure that you have a basic understanding of the topics covered in the Web API development using ASP.NET tutorial videos. Zip all the necessary files in a folder and submit the folder as an attachment to Canvas.
For this particular assignment, you will be developing a Web API that will allow to access your own personal video games collection.
You will
not create a database of your video games collection until a later Assignment
. The specific functionality required for Assignment 1 are:
· Create Web API methods that are triggered when a
GET
,
POST
,
PUT
, and
DELETE
request is sent from a web browser or a web API tool such as Postman
· Your web API should be able to process the following actions with the
URL
s shown below when called by a client:
Action |
URL | ||
GET |
api/controller |
||
api/controller/id |
|||
POST | |||
PUT | |||
DELETE |
· Create an array that will store your model data type. Create the following properties of your current video games collection inside the model class: Id, Name, Genre, ReleaseYear
· Implement ASP.NET’s MVC framework that uses objects instantiated form the classes in Models to interface with the database (in this assignment the video games collection array).
· Create controllers (action methods) that interface with the objects derived from the models for database objects communication.
1 / 2