PdfPrep.com

What will you do to accomplish this task?

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You have recently finished development of Web services using the .NET Framework. The access control to Web services is part of your accountability. You are currently revealing an existing class as a XML Web service. You are required to ensure that the XML Web service is exclusively accessible to Web service clients within the ABC Inc. domain. To fulfill this requirement you want to change the access modifiers on methods that must be represented as Web methods.

What will you do to accomplish this task?
A . Use the Public access modifier for each Web method.
B . Use the Private access modifier for each Web method.
C . Use the Internal or Friend access modifier for each Web method.
D . Use the Protected access modifier for each Web method.

Answer: A

Exit mobile version