Question:You wish to create a new Web service that will expose multiple methods that are
meant to work with user-specifi c data through a transaction. You decide to use
ASP.NET session state to manage the user’s context on the server between Web service
requests. How shoul d you defi ne your Web service?
A Defi ne a class that inherits from WebServiceAttribute.
B Defi ne a class that inherits from WebService.
C Defi ne a class that inherits from WebMethodAttribute.
D Do not inherit from a base class. Hosting the Web service in ASP.NET is suffi cient.
+ AnswerB
+ Report