You are an enterprise application developer. You are creating an ASP.NET Web service. You identify an existing COM component that provides the necessary functionality required by your Web service. You need to wrap the COM component so that it can be accessed by your Web service. You also need to minimize marshalling overhead.
What should you do?
A.
Use Microsoft SOAP Toolkit to expose the COM component as a Web service.
B.
Use the Type Library Importer tool to create an Interop assembly for the COM component.
C.
Apply the DllImportAttribute attribute to create a managed definition for the necessary COM component functions.
D.
Use the Component Services administrative tool to add the COM component to a COM+ application. Expose the COM+ application as an XML Web service.