Mark Wagner's .NET C# Cogitation

.NET Architect and Developer - Simple Thoughts from a Simple Mind

  Home :: Contact :: Syndication  :: Login
  90 Posts :: 59 Articles :: 1548 Comments :: 207 Trackbacks

News

You can download this .TEXT blog skin free. Download Cogitation Blue skin.
Updated May 6, 2004

My Sites
- New SharePoint Blog
- My Developer blog
- My Personal blog
ASP.NET Web Hosting
I host my site here. The best value for quality hosting. Read my opinion here. If you decide to join, please use this link. Thank you very much.


Legal
Any and all code, software, examples, suggestions and anything else on this web site is available for you to use at your own risk. No warranty is express or implied.
Views and Opinions
Mark Wagner works for Microsoft in the Consulting Services division and covers the West Region. The views and opinions expressed on this web site are not necessarily the views or opinions of his employer.

Article Categories

Archives

Post Categories

.: Architecture Links :.

.: Developer Links :.

.Text and RSS Links

Blog Roll - Top Guns

Developer: .NET Security

Developer: C# Team

Developer: Flash

Developer: JavaScript

Developer: Pocket PC

Personal: Aviation

Personal: Favorites

.NET Remoting Interview Questions

To Do: Comfirm these are correct answers.  Many of these question I have obtained from other sources and have found they are not entirely correct, or simply wrong.

  1. What’s a Windows process?
    It’s an application that’s running and had been allocated memory.
     
  2. What’s typical about a Windows process in regards to memory allocation?
    Each process is allocated its own block of available RAM space, no process can access another process’ code or data. If the process crashes, it dies alone without taking the entire OS or a bunch of other applications down. 
     
  3. Explain what relationship is between a Process, Application Domain, and Application?
    A process is an instance of a running application. An application is an executable on the hard drive or network. There can be numerous processes launched of the same application (5 copies of Word running), but 1 process can run just 1 application. 
      
  4. What are possible implementations of distributed applications in .NET?
    .NET Remoting and ASP.NET Web Services. If we talk about the Framework Class Library, noteworthy classes are in System.Runtime.Remoting and System.Web.Services. 
     
  5. What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services?
    Remoting is a more efficient communication exchange when you can control both ends of the application involved in the communication process.  Web Services provide an open-protocol-based exchange of informaion.  Web Services are best when you need to communicate with an external organization or another (non-.NET) technology.
      
  6. What’s a proxy of the server object in .NET Remoting?
    It’s a fake copy of the server object that resides on the client side and behaves as if it was the server. It handles the communication between real server object and the client object. This process is also known as marshaling
     
  7. What are remotable objects in .NET Remoting?
    Remotable objects are the objects that can be marshaled across the application domains. You can marshal by value, where a deep copy of the object is created and then passed to the receiver. You can also marshal by reference, where just a reference to an existing object is passed. 
     
  8. What are channels in .NET Remoting?
    Channels represent the objects that transfer the other serialized objects from one application domain to another and from one computer to another, as well as one process to another on the same box. A channel must exist before an object can be transferred. 
     
  9. What security measures exist for .NET Remoting in System.Runtime.Remoting?
    None. Security should be taken care of at the application level. Cryptography and other security techniques can be applied at application or server level. 
     
  10. What is a formatter?
    A formatter is an object that is responsible for encoding and serializing data into messages on one end, and deserializing and decoding messages into data on the other end. 
     
  11. Choosing between HTTP and TCP for protocols and Binary and SOAP for formatters, what are the trade-offs?
    Binary over TCP is the most effiecient, SOAP over HTTP is the most interoperable.
     
  12. What’s SingleCall activation mode used for?
    If the server object is instantiated for responding to just one single request, the request should be made in SingleCall mode. 
     
  13. What’s Singleton activation mode?
    A single object is instantiated regardless of the number of clients accessing it. Lifetime of this object is determined by lifetime lease. 
     
  14. How do you define the lease of the object?
    By implementing ILease interface when writing the class code. 
     
  15. Can you configure a .NET Remoting object via XML file?
    Yes, via machine.config and application level .config file (or web.config in ASP.NET). Application-level XML settings take precedence over machine.config. 
     
  16. How can you automatically generate interface for the remotable object in .NET with Microsoft tools?
    Use the Soapsuds tool.
     
posted on Tuesday, March 16, 2004 8:11 AM

Feedback

# re: Interview Questions: .NET Remoting 10/9/2004 8:00 AM Jaya Chandra

There are Excellent Questions and Answers. I felt very happy while reading. Some body has done g8 job.

# re: Interview Questions: .NET Remoting 10/28/2004 3:05 AM Hemant Bhadane
Very Useful questions ... to trap people while conducting Interview... :D... Thanks for new set of remoting questions.

# re: Interview Questions: .NET Remoting 11/3/2004 3:43 AM Devraj
Differences between RPC, WebServices & Remoting

# re: Interview Questions: .NET Remoting 11/3/2004 10:50 PM Deepthi Devadiga

Gud questions !!!

# re: Interview Questions: .NET Remoting 11/30/2004 10:03 PM Bobby
Interesting Questions and Answers

# re: Interview Questions: .NET Remoting 12/16/2004 3:32 AM shailesh_Sor
what is interface?


# re: Interview Questions: .NET Remoting 3/21/2005 11:10 AM Manikandan Senthilvel
The questions and answers are really interesting. But it would have been great if the answers were little more detailed.

# re: Interview Questions: .NET Remoting 4/16/2005 6:03 AM vnvskumar
Good!

# re: Interview Questions: .NET Remoting 7/7/2005 1:56 AM Manish
You can call an interface as a set of rules which should be followed if you are using the interface..See as we know an interface is pure abstract, that is all the methods has to be overridden by the derived class. All the methods in the interface are public and should be public where as an abstract class can have any access modifiers.This is the main difference between interface and abstract class. the other difference is, the methods are only defined in an interface and the declaration is left to the calling class where as an abstract class can have concrete methods....hope this helps..

# re: Interview Questions: .NET Remoting 10/5/2005 5:46 AM Sunilkumar Shinde
Nice stuff...

SunC India is thankfull for this article.

Sunil... :)

# re: Interview Questions: .NET Remoting 10/16/2005 3:28 AM Muthukumar
hi,
this is very good work they did.Well Done!!!
Still they can give tough questions asked in interview..


# re: Interview Questions: .NET Remoting 11/18/2005 11:44 PM mahesh
hi

# re: .NET Remoting Interview Questions 12/27/2005 8:25 AM Venu Madhav.Tsaliki


# re: Interview Questions: .NET Remoting 2/6/2006 11:47 PM hema
hi

thanks for ur article.


# re: Interview Questions: .NET Remoting 2/18/2006 7:58 AM kavya

You find lot sites to say what's .net remoting. Whats important for interview's Why's it? how's it different from WebServices. This site answers the concepts beautifully. Winder if more can be put across.. Hats off :)

# re: Interview Questions: .NET Remoting 3/7/2006 8:11 PM Atul kumar
hi
its a good one i really appreciate it and looking for some more interview questions on dot net so that i can develop my confidence
thanks and regards
atul kumar


# re: Interview Questions: .NET Remoting 3/7/2006 8:50 PM Debjit Halder
As I know remoting is done across the application domains. The concept is like one process can contain one or more application domains. Each application domain runs one application. But the .net objects can't cross the application domain boundary. To make make them remotable i.e. to be accessable from other application domains, the types should inherit from MarshalByRefObject class or implement ISerializable interface.

# re: Interview Questions: .NET Remoting 4/21/2006 12:23 AM Jason Lobo
The article is pretty good. And more details would these article a complete reference...

# re: Interview Questions: .NET Remoting 5/3/2006 11:04 PM Khadri
Yes I do agree its a very good stuff

Short and simple

# re: Interview Questions: .NET Remoting 5/8/2006 4:24 PM ARD
thanks, nice precise one. keep adding some more in .net related areas

cheers
ard

# re: Interview Questions: .NET Remoting 5/9/2006 7:45 AM Seenuvasan
This is an excellent artcile for remoting who want to refresh the remoting technology.

# re: Interview Questions: .NET Remoting 5/21/2006 11:24 PM Steve
I am new to the remoting world and want to get my .NET remoting application hosted by a web hosting company. Currently I use Brinkster however they tell me they do not support Remoting. Can anybody suggest a web hosting company that does support remoting. Thanks in Advance.

# re: Interview Questions: .NET Remoting 5/31/2006 12:47 AM Mayur Mehta
SOLid.....Article

# re: Interview Questions: .NET Remoting 6/13/2006 9:00 AM majidkhan
I want questions which will be ask in ENTRY LEVEL

# re: Interview Questions: .NET Remoting 6/17/2006 4:41 AM deepakbadki
soap over tcp and soap over http....which ll be faster and why?

# re: Interview Questions: .NET Remoting 6/17/2006 6:58 AM Sathish
Can you Explain what is Envoy Sink, Object Context sink, Server sink.

# re: Interview Questions: .NET Remoting 6/24/2006 12:12 AM Ravi Kumar
Very Help full to Beginners and also thanks for ur article.

# re: Interview Questions: .NET Remoting 6/27/2006 11:04 PM bansal
i want vb.net and asp.net and mssql server related question with answeres

# re: Interview Questions: .NET Remoting 7/3/2006 3:31 AM Killer
GREAT AND COOL AND ICY

# re: Interview Questions: .NET Remoting 7/20/2006 10:38 PM Leo
Nice one. But too small in no. of content Wanna more. Expect it soon

# re: Interview Questions: .NET Remoting 7/24/2006 6:40 AM naveen
Great FAQ, Good Work

# re: Interview Questions: .NET Remoting 8/24/2006 1:00 AM Kishore
Very good


# re: Interview Questions: .NET Remoting 8/30/2006 5:55 AM me
What is an Application Domain? How does it relate to Application and Process? That is left out from question #3.

# re: Interview Questions: .NET Remoting 8/30/2006 9:14 PM Revi Kumar.B


Every nice, thank u

# re: Interview Questions: .NET Remoting 9/24/2006 3:05 AM Nayan
Nice I want XML Web Services Question.

# re: Interview Questions: .NET Remoting 11/23/2006 1:51 PM Sitakant
Excellent

# re: Interview Questions: .NET Remoting 12/6/2006 9:08 AM Vivek Acharya
Very good Questions. Please now i want XML Web Service Question

# re: Interview Questions: .NET Remoting 12/6/2006 10:32 PM sangaraju shilpa
As all our frnds have already told that it is gud and short in quantity,but very gud in quality.I would like to get asp.net,vb.net,c#.net,mssql server faqs which are useful for beginers.Hope soon will be updated.

# re: Interview Questions: .NET Remoting 12/18/2006 4:09 AM balamurugan.r
i want vb.net and asp.net and mssql server related question with answeres
send mail:balamuruganmpower@gmail.com

# re: Interview Questions: .NET Remoting 1/23/2007 1:03 AM Remya
Good...Informative.Helped a lot to understand easliy

# re: Interview Questions: .NET Remoting 3/22/2007 9:55 PM Siva
all the above questions are very easy to understand.

# re: Interview Questions: .NET Remoting 4/24/2007 9:47 PM NehaS
I am totally new to remoting...i got a bit of context thru these questions.. really appreciate that..but a bit of more elaboration cud have helped better!!

Plz add some info too...

# re: Interview Questions: .NET Remoting 6/5/2007 8:27 PM Mr A
gr8

# re: Interview Questions: .NET Remoting 6/20/2007 9:53 PM yash
This is really a very-very good effort by someone,



# ???????????????? - ???????????????? ???? ?????????????? ???? ???????? ??… « ??C?? 4/18/2009 1:17 AM Pingback/TrackBack
???????????????? - ???????????????? ???? ?????????????? ???? ???????? ??… « ??C??

Post Feedback

Title:
Name:
Url:
Comments: 
Enter the code you see: