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.
Electromagnetic Induction Questions & Answers Pdf More
A.C. Basics and Networks Quiz Questions & Answers Pdf More
Signals and Systems Quiz Questions and Answers Pdf More
Signals and Systems MCQ Questions and Answers Pdf More
Electrical Power Sources Quiz Questions & Answers Pdf More
1000+ Chemistry MCQ with Answers Pdf More
1000+ Logical Puzzles Multiple Choice Questions with Answers More
1000+ Number Puzzles Aptitude Questions and Answers More
Basics of Batteries and their uses MCQ Questions & Answers More
SSC MTS Synonyms and Antonyms Questions and Answers Pdf More