<< < 103 104 105 106 107 108 109 110 111 112 113 > >>   Sort: Rank

How can we call methods in remoting Asynchronously
How can we call methods in remoting Asynchronously All previous examples are a synchronous method calls that means client has to wait until the method completes the process. By using Delegates we can make Asynchronous method calls.
2007-10-23, 5145👍, 0💬

Describe in detail Basic of SAO architecture of Remoting
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 book will provide detail code which is not necessary to be said dur...
2007-10-23, 7694👍, 0💬

How can you specify remoting parameters using Config files
How can you specify remoting parameters using Config files ? Both remoting server and remoting client parameters can be provided through config files. Below is a sample of server config file which provides all remoting parameter values which we where providing through code. &lt;configuration> &a...
2007-10-23, 5638👍, 0💬

Which config file has all the supported channels/protocol
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\Fram ework\vXXXXX\CONFIG”path. Find element in the Machine.config file which has the c...
2007-10-23, 5361👍, 0💬

What are LeaseTime, SponsorshipTime, RenewonCallTime and
What are LeaseTime, SponsorshipTime, RenewonCallTime and LeaseManagerPollTime? This is a very important question from practical implementation point of view. Companies who have specific requirement for Remoting projects will expect this question to be answered. In normal .NET environment objects lif...
2007-10-23, 5216👍, 0💬

Is it a good design practice to distribute the implementation to
Is it a good design practice to distribute the implementation to Remoting Client ? Itfs never advisable to distribute complete implementation at client, due to following reasons:- ã Any one can use ILDASM and decrypt your logic. ã Itfs a bad architecture move to have full implementation as cli...
2007-10-23, 4751👍, 0💬

In CAO model for client objects to be created by “NEW” keyword
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...
2007-10-23, 5567👍, 0💬

Are CAO stateful in nature
Are CAO stateful in nature ? Yes. In CAO remoting model client creates a instance on server and instance variable set by client on server can be retrieved again with correct value.
2007-10-23, 6293👍, 0💬

What are the ways in which client can create object on server in CAO
What are the ways in which client can create object on server in CAO model ? There are two ways by which you can create Client objects on remoting server :- ã Activator.CreateInstance(). ã By Keyword gNewh.
2007-10-23, 5093👍, 0💬

What is fundamental of published or precreated objects in Remoting
What is fundamental of published or precreated objects in Remoting ? In scenarios of singleton or single call the objects are created dynamically. But in situations where you want to precreate object and publish it you will use published object scenarios. Dim obj as new objRemote obj.Initvalue = 100...
2007-10-23, 5869👍, 0💬

What are the situations you will use singleton architecture in
What are the situations you will use singleton architecture in remoting ? If all remoting clients have to share the same data singleton architecture will be used.
2007-10-23, 4966👍, 0💬

Describe in detail Basic of SAO architecture of Remoting
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 book will provide detail code which is not necessary to be said dur...
2007-10-23, 5103👍, 0💬

What are two different types of remote object creation mode in .NET
What are two different types of remote object creation mode in .NET ? There are two different ways in which object can be created using Remoting :- ã SAO (Server Activated Objects) also called as Well-Known call mode. ã CAO (Client Activated Objects) SAO has two modes gSingle Callh and gSing...
2007-10-23, 5149👍, 0💬

Which class does the remote object has to inherit
Which class does the remote object has to inherit ? All remote objects should inherit from System.MarshalbyRefObject.
2007-10-23, 5455👍, 0💬

What is .NET Remoting
What is .NET Remoting ? .NET remoting is replacement of DCOM. Using .NET remoting you can make remote object calls which lie in different Application Domains. As the remote objects run in different process client calling the remote object can not call it directly. So the client uses a proxy which lo...
2007-10-23, 4803👍, 0💬

What is an application domain
What is an application domain? Previously “PROCESS” where used as security boundaries. One process has its own virtual memory and does not over lap the other process virtual memory; due to this one process can not crash the other process. So any problem or error in one process does not affect the ot...
2007-10-23, 5178👍, 0💬

What is the difference between thread and process
What is the difference between thread and process? A thread is a path of execution that run on CPU, a process is a collection of threads that share the same virtual memory. A process has at least one thread of execution, and a thread always run in a process context. Note:- Its difficult to cover thr...
2007-10-22, 5122👍, 0💬

How can you avoid deadlock in threading
How can you avoid deadlock in threading? A good and careful planning can avoid deadlocks.There are so many ways Microsoft has provided by which you can reduce deadlocks example Monitor, Interlocked classes, Wait handles, Event raising from one thread to other thread, ThreadState property which you c...
2007-10-22, 5427👍, 0💬

What is ReaderWriter Locks
What is ReaderWriter Locks ? You may want to lock a resource only when data is being written and permit multiple clients to simultaneously read data when data is not being updated. The ReaderWriterLock class enforces exclusive access to a resource while a thread is modifying the resource, but it all...
2007-10-22, 5578👍, 0💬

What is ManualResetEvent and AutoResetEvent
What is ManualResetEvent and AutoResetEvent ? Threads that call one of the wait methods of a synchronization event must wait until another thread signals the event by calling the Set method. There are two synchronization event classes. Threads set the status of ManualResetEvent instances to signaled...
2007-10-22, 5339👍, 0💬

What are wait handles
What is a mutex object ? Wait handles sends signals of a thread status from one thread to other thread. There are three kind of wait modes :- ã WaitOne. ã WaitAny. ã WaitAll. When a thread wants to release a Wait handle it can call Set method. You can use Mutex (mutually exclusive) objects to a...
2007-10-22, 5634👍, 0💬

What is a monitor object
What is a monitor object? Monitor objects are used to ensure that a block of code runs without being interrupted by code running on other threads. In other words, code in other threads cannot run until code in the synchronized code block has finished. SyncLock and End SyncLock statements are provide...
2007-10-22, 5250👍, 0💬

What is use of Interlocked class
What is use of Interlocked class ? Interlocked class provides methods by which you can achieve following functionalities :- ã Increment Values. ã Decrement values. ã Exchange values between variables. ã Compare values from any thread. in a synchronization mode. Example :- System.Threading.Int...
2007-10-22, 5007👍, 0💬

How can we know a state of a thread
How can we know a state of a thread? "ThreadState" property can be used to get detail of a thread. Thread can have one or a combination of status.System.Threading. Threadstate enumeration has all the values to detect a state of thread. Some sample states are Isrunning, IsAlive, suspended etc.
2007-10-22, 5061👍, 0💬

<< < 103 104 105 106 107 108 109 110 111 112 113 > >>   Sort: Rank