DPS907 WSA500 Lab 2
Based on your Lab 1 work. Implement the typical range of HTTP methods. Deploy to Microsoft Azure.
Read/skim all of this document before you begin work.
.
DPS907 WSA500 Lab 2 – Due Tue Sep 23
Due date: Tuesday, September 23, 2014, at 8:00am ET
Grade value: 3% of your final course grade
If you wish to submit the lab before the due date and time, you can do that.
.
Objective(s)
Implement PUT and DELETE methods from the HTTP protocol.
Deploy to a public Microsoft Azure web site.
.
Introduction to the problem to be solved
The work you did for Lab 1 needs more features – implementation of PUT and DELETE methods.
Your work also needs to be deployed to Microsoft Azure web site hosting services.
.
Specifications and work plan
Use your Lab 1 work as a foundation. Before you add more features, make sure that you use the grading feedback to make improvements and fixes.
.
Getting started
The name of your project will be “Lab2″.
Use the ‘copy project‘ technique to copy your existing “Lab1” project to this new “Lab2” project.
As you perform each step, test your work, to ensure that you’re making error-free progress:
- Build/compile
- Where appropriate, use Fiddler
.
Component configuration
Add methods to your manager class to handle the update and delete tasks.
Next, add methods to your controller class.
.
Testing your work
Use Fiddler.
Ensure that it has been configured to save the message bodies in requests and responses.
Test all scenarios (use cases).
Remember – when sending the entity body with a PUT request, you must include the object’s identifier.
Saving – ‘exporting’ – your tests
On the left side list of requests, you can delete items that you don’t want included in the export.
When you’re ready to save, choose File > Export Sessions > All Sessions…
The export format will be “HTTPArchive v1.2″. Click the Next button to choose a save location (your project’s root, in the same folder as the “packages” and “lab2″ folder) and specify a filename. Name the file by using the project name (e.g. “lab2.har”).
.
Deploy to Microsoft Azure
Please visit the September 11 notes page for instructions. (Sorry – those notes were updated on the weekend, but I didn’t update this info until Monday afternoon. If all goes well, deploying to Microsoft Azure will take about ten minutes.)
During grading, your professor will attempt to interact with your web site by using the ‘customname’ value (see the Sep 11 notes page instructions).
.
Reminder about academic honesty
You must comply with the College’s academic honesty policy. Although you may interact and collaborate with others, you must submit your own work.
.
Submitting your work
Here’s how to submit your work, before the due date and time:
1. Locate the folder that holds your “Lab2″ project files.
2. Make a copy of the folder. This is the data that you will be uploading.
3. Remove the “packages” folder from the copied folder; also, remove the “bin” and “obj” folders.
4. Compress/zip the folder. The zip file SHOULD be about 1MB or less in size. If it isn’t, you haven’t followed the instructions properly.
5. Login to My.Seneca. Open the Web Services Architecture course area. Click the “Assignments” link on the left-side navigator. Follow the link for this lab. Submit/upload your zip file. The page will accept three submissions, so if you upload, then decide to fix something and upload again, you can do so.
.
.
.
.
.
.
.
.
.
.
.
.
.
.