Note :- Interviewer will not ask you to name all channels and
Showing posts with label Remoting. Show all posts
Showing posts with label Remoting. Show all posts
Sunday, 5 February 2012
Which config file has all the supported channels/protocol ?
Machine.config file has all the supported channels and formatter supported by .NET remoting.Machine.config file can be found at “C:\WINDOWS\Microsoft.NET\Framework\vXXXXX\CONFIG” path. Find <system.runtime.remoting> element in the Machine.config file which has the channels and the formatters. Below is a figure shown which can give a clear idea of how the file looks like.
Wednesday, 25 January 2012
In CAO model for client objects to be created by “NEW” keyword what should we do?
Remoting Clients and Remoting Server can communicate because they share a common contract by implementing Shared Interface or Base Class (As seen in previous examples). But according to OOP’s concept we can not create a object of interface or Base Classes (Abstract Class). Shipping the server object to client is not a good design practice. In CAO model we can use SOAPSUDS utility to generate Metadata DLL from server which can be shipped to client, clients can then use this DLL for creating object on server. Run the
Friday, 20 January 2012
Describe in detail Basic of SAO architecture of Remoting?
For these types of questions interviewer expects small and sweet answers. He is basically looking at what you know about the specific subject. For these type of question this post will provide detail code which is not necessary to be said during interview. Only the basic steps and overall brief are enough to convince that you have knowledge about the subject. Even though this question has detail code and answer say only what is needed in interview.
Remoting has at least three sections :-
- Common Interface which will be shared between them.
- Server.
- Client.
Solution Explorer of Remoting Project
Above is the figure which shows the three important project
Subscribe to:
Posts (Atom)