Question:You want to create a new web service that will expose multiple methods that are meant to work with user-specific data via a transaction. You decide to use ASP.NET session state to manage the user’s context on the server between web service requests. How should you define your web service? 

A Define a class that inherits from WebServiceAttribute. 

B Define a class that inherits from WebService. 

C Define a class that inherits from WebMethodAttribute. 

D Do not inherit from a base class. Hosting the web service in ASP.NET is sufficient. 

+ Answer
+ Report
Total Preview: 1126

Copyright © 2024. Powered by Intellect Software Ltd