Building Web Services with Microsoft Azure by Unknown

Building Web Services with Microsoft Azure by Unknown

Author:Unknown
Language: eng
Format: mobi, epub, pdf
Publisher: Packt Publishing


The preceding code adds a new patient request. It then tries to find a doctor for the patient's request based on availability. Note that we use patch operations here to update the records; this improves performance and only the updated values are synced back with the existing objects in the database. Finally, we update the doctor's availability status to Occupy to ensure that the doctor is locked until he/she is finished with the current request.

Note

For the scope of this sample, we only modify the Post operation, however, we can similarly amend the Patch and Put operations with additional logic to make the solution more robust.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.