Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
NET remoting part 1
NET remoting part 2
NET remoting overview
Remote objects activation
Remoting Channels
Remoting events & delegates
Remoting Asynchronous programming
Configuring remote applications
Remoting vs. web services
 
NET framework
NET assembly
NET code security
NET access modifiers
NET architecture
NET base class library
NET CLR
NET constants,enum,arrays
NET data types
NET menu
NET garbage collection
NET debug and trace
NET properties
NET form
NET assemblies & resources
NET class & structures
NET binding,viewing,filtering
NET configuring & optimizing
NET configuring setup project
NET constructors & destructors
NET control
NET dataset objects
NET debugging tools
NET debug & trace classes
NET delegates & events
NET exception handling
NET globalization-localization
NET interoperability
NET project deployment
NET securing application
NET using XML
NET validating user input
NET windows communication
NET windows presentation
NET windows workflow
 
ASP.NET
ADO.NET
NET Interview
C#.NET
VB.NET
AJAX
 
PHP
 
C
C++
Java
Data Structure
Oops
 
Database concepts
SQL Server
Oracle
MySQL
Data warehousing
Service-oriented architecture
SQL Server notification services
SQL Server Reporting Services
Sharepoint
Biztalk interview questions
 
Operating System
Project Management
Linux
Testing
Software engineering
 
UML
XML
HTML
SOAP
CSS
VBScript
 
CV tips
Cover letter tips
Interview tips
Human resources
Soft skills

Remoting.Net 

Remote Objects activation 
<<Previous  Next >>

By Nishant Kumar

 The behavior of remoting object is determined by the ways object is created and activated. There are two ways of activation for .NET remote objects.

Server Activation

In server activation, the object is created on the server when method call arrives from client to server process. But the object doesn't get created when you use new keyword to create instance of the server class.

You can specify server activated objects to acts either as singleton or Single Call objects.

SingleCall: If an object is declared as SingleCall object, the remoting system creates an object each time a client method invokes a remote object. SingleCall objects are useful when limited work expected from the objects. These objects cannot hold state information between method calls.

Singleton Objects: A single instance of the server class manages the entire client. These objects serve multiple clients with one instance. This mode allows maintaining object's state which can be useful when data needs to be shared explicitly between clients.

Client-Activated Objects: The client-activated object is created on the server when an instance of the server class is created using new keyword. When you create instance of server object, a connection is made to the server and the client proxy is created. These objects can maintain state information between method calls for the client.

Life Time of Remote Object.

A lease is created for every object that can be transported across domain. The lease controls the lifetime of the object. The remoting object serves client until its lease expires. When the lease expires, the object is disconnected from the client and available to get destroyed by garbage collection.


<<Previous  Next >>
ASP.NET Interview questions part 2 includes following questions with answers

Define access modifiers. | Name the namespace for Web page in ASP.NET. | Write difference between overloading and overriding. | Write Namespace for user locale in ASP.NET. | How do you implement inheritance in .NET? | Explain the differences between Server-side and Client-side code. | Define ADO.NET Dataset. | Define global.asax in ASP.NET. | What are the Application_Start and Session_Start subroutines used for? | Define inline code and code behind. | What is MSIL? | Name the class Web Forms inherit from.

ASP.NET Interview questions part 3 includes following questions with answers

What is Shared (static) member? | What is the transport protocol you use to call a Web service? | What is Option Strict used for? | Define Boxing and Unboxing. | What does WSDL stand for? | Define ViewState in ASP.NET. | What is the lifespan for items stored in ViewState? | Define EnableViewState property. | What are Delegates? | What are Classes? | What is Encapsulation? | Different types of Session state management options available with ASP.NET? | What methods are fired during the page load? | Explain ADO.NET.

ASP.NET Interview questions part 4 includes following questions with answers

Define Server-side and Client-side code in ASP.NET. | What tag do you use to add a hyperlink column to the DataGrid? | Where does VS.NET store Web application projects? | Describe Web application’s life cycle | Define class module and a code module. | Steps to execute a stored procedure from Web Application | Describe exception handling in ASP.NET | What are the exception-handling ways in ASP.NET?


 
Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright Â© 2008 CareerRide.com. All rights reserved.