Dot Net Remoting Interview Preparation Guide
Download PDF
Add New Question

Dot Net Remoting frequently Asked Questions in various Dot Net Remoting job Interviews by interviewer. Get preparation of Dot Net Remoting job interview

26 Dot Net Remoting Questions and Answers:

1 :: Can we 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.
Post Your Answer

2 :: What is the difference btw the following methods in .NET remoting?

RegisterWellknownServiceType()
RegisterWellknownClientType()
RegisterActivatedServiceType()
RegisterActivatedClientType()

RegisterWellknownServiceType():
Method used to define and configure a remotable Object that
needs to be Activated on server side. This takes 3
parameter as follows:-
RegisterWellKnownServiceType( typeof( <Class/Object
Name> ), <"SomeURI">,
WellKnownObjectMode.Singleton/SingleCall );

RegisterWellknownClientType():
This method has to be used on the client module to
comunicate with serve-side activated remote object. Ex:
RegisterWellKnownClientType( typeof( <Class/Object Name> ),
<"Server Remotable Object URL"> );


RegisterActivatedServiceType():
RegisterActivatedClientType():
Similarly, the above two methods are used to define
remotable object type as client activated.
Post Your Answer

3 :: Explain About sn.exe?

strong Name is the process of assinging the storng name to
the shared assembly.
Post Your Answer

4 :: Explain About .NET Remoting and types of remoting?

NET Remoting is an enabler for application communication.
It is a generic system for different applications to use to
communicate with one another. .NET objects are exposed to
remote processes, thus allowing interprocess communication
Post Your Answer

5 :: What are static assemblies and dynamic assemlies.
Differences between them?

Assemblies can be static or dynamic. Static assemblies can
include .NET Framework types (interfaces and classes), as
well as resources for the assembly (bitmaps, JPEG files,
resource files, and so on). Static assemblies are stored on
disk in PE files. You can also use the .NET Framework to
create dynamic assemblies, which are run directly from
memory and are not saved to disk before execution. You can
save dynamic assemblies to disk after they have executed.
Post Your Answer

6 :: What is a process?

Process is set of task of an running application or an
application itself, getting executed on a OS for which
memory is allocated by OS.
Post Your Answer

7 :: What are various types of assemblies?

1) shared assembly
2) private assembly
3) satellite assembly

In other way static assembly and dynamic assemblies.
Post Your Answer

8 :: What is strong name and what is the purpose of strong name?

A name that consists of an assembly's identity—its simple
text name, version number, and culture information (if
provided)—strengthened by a public key and a digital
signature generated over the assembly.
Post Your Answer

9 :: What is an assembly and what does manifest consists?

Assembly:
Which is reusable,verionable and self describing
building blocks in CLR(Common Language Runtime).

Manifest:
It contains information about the Assembly where it is
residing.
Post Your Answer

10 :: What do you mean by passport authentication and windows authentication?

Passport authentication relies on a centralized service
provided by Microsoft. Passport authentication identifies a
user with using his or her e-mail address and a password
and a single Passport account can be used with many
different Web sites. Passport authentication is primarily
used for public Web sites with thousands of users.
Post Your Answer
Add New Question