15+ Advanced .Net and Com+ Interview Questions 2020-21 - 1
Question: 1
Which namespace do the classes, allowing you to support COM functionality, are located?
System.EnterpriseServices
Question: 2
How do you make a NET component talk to a COM component?
To enable the communication between COM and .NET components, the .NET Framework generates a COM Callable Wrapper (CCW). The CCW enables communication between the calling COM code and the managed code. It also handles conversion between the data types, as well as other messages between the COM types and the .NET types.
Question: 3
Explain loosely coupled events?
Loosely coupled events enable an object (publisher) to publish an event. Other objects (subscribers) can subscribe to an event. COM+ does not require publishers or subscribers to know about each other. Therefore, loosely coupled events greatly simplify the programming model for distributed applications.
Question: 4
Explain queued components?
The queued components service enables you to create components that can execute asynchronously or in disconnected mode. Queued components ensure availability of a system even when one or more sub-systems are temporarily unavailable. Consider a scenario where salespeople take their laptop computers to the field and enter orders on the go. Because they are in disconnected mode, these orders can be queued up in a message queue. When salespeople connect back to the network, the orders can be retrieved from the message queue and processed by the order processing components on the server.
Question: 5
Explain object pooling?
With object pooling, COM+ creates objects and keeps them in a pool, where they are ready to be used when the next client makes a request. This improves the performance of a server application that hosts the objects that are frequently used but are expensive to create.
Gross Domestic Product and Its Growth Class 10 Questions Pdf More
Industrial Cluster in Tamil Nadu TNPSC Questions Pdf More
Food and Security TNPSC Questions Pdf More
Economics Food Security and Nutrition Class 10 Questions Pdf More
Class 10th Social Indian Constitution Pdf More
Computer Objective Questions with Answers Pdf More
TNPSC Geography Topic Wise Questions Pdf Download More
1000+ Materials of Construction MCQ Questions and Answers More
1000+ Chemical Effects of Electric Current MCQ Questions & Answers More
1000+ English Grammar MCQ Questions and Answers More