Creating a web service in ASP.NET
I have an asp.net page called default.
The page has 3 fields: patientid, userid and resourceid.
I need to develop a web service that will use the patientid and resourceid fields to query a table called resource. The resource table contains the following fields:
Resourceid,resource,patientid,recorded and resourcefile.
The web service should use the patientid and resourceid parameter from the default.aspx page and display the resourcefile which is an image data type on an image.aspx file.
The userid parameter should be used to track who accessed the resource file and should update a log table which has the following fields: userid, patientid and resourceid and datetime.
I have not developed a webservice before how would I go about doing this?