Logo 
Search:

cpp Interview FAQs

Submit Interview FAQ
No Records Found!!!
Go Ahead and Post your Interview FAQ
Home » Interview FAQs » cppRSS Feeds
.Net Framework
Comments: 0

What is the difference between an event and a delegate?

An event is just a wrapper for a multicast delegate. Adding a public event to a class is almost the same as adding a public multicast delegate field. In both cases, subscriber objects can register for notifications, and in both cases the publisher ob...
Posted By:Angel Watkins      Posted On: Sep 22

.Net Framework
Comments: 0

Are there any third party logging components available?

Log4net is a port of the established log4j Java logging component.
Posted By:Ludo Ricci      Posted On: Sep 03

.Net Framework
Comments: 0

How does .NET remoting work?

NET remoting involves sending messages along channels. Two of the standard channels are HTTP and TCP. TCP is intended for LANs only - HTTP can be used for LANs or WANs (internet).

Support is provided for multiple message serializarion formats. Exa...
Posted By:Luigi Fischer      Posted On: Sep 17

.Net Framework
Comments: 0

Can I redirect tracing to a file?

Yes. The Debug and Trace classes both have a Listeners property, which is a collection of sinks that receive the tracing that you send via Debug.WriteLine and Trace.WriteLine respectively. By default the Listeners collection contains a single sink, w...
Posted By:Corey Brown      Posted On: Nov 09

.Net Framework
Comments: 0

Can I customise the trace output?

Yes. You can write your own TraceListener-derived class, and direct all output through it. Here's a simple example, which derives from TextWriterTraceListener (and therefore has in-built support for writing to files, as shown above) and adds timing i...
Posted By:Fred Hicks      Posted On: Feb 06

.Net Framework
Comments: 0

How do I prevent concurrent access to my data?

Each object has a concurrency lock (critical section) associated with it. The System.Threading.Monitor.Enter/Exit methods are used to acquire and release this lock. For example, instances of the following class only allow one thread at a time to ente...
Posted By:Eric Foster      Posted On: Oct 30

.Net Framework
Comments: 0

What is the difference between an event and a delegate?

An event is just a wrapper for a multicast delegate. Adding a public event to a class is almost the same as adding a public multicast delegate field. In both cases, subscriber objects can register for notifications, and in both cases the publisher ob...
Posted By:Angel Watkins      Posted On: Sep 22

.Net Framework
Comments: 0

Are there any third party logging components available?

Log4net is a port of the established log4j Java logging component.
Posted By:Ludo Ricci      Posted On: Sep 03

.Net Framework
Comments: 0

How does .NET remoting work?

NET remoting involves sending messages along channels. Two of the standard channels are HTTP and TCP. TCP is intended for LANs only - HTTP can be used for LANs or WANs (internet).

Support is provided for multiple message serializarion formats. Exa...
Posted By:Luigi Fischer      Posted On: Sep 17

.Net Framework
Comments: 0

Can I redirect tracing to a file?

Yes. The Debug and Trace classes both have a Listeners property, which is a collection of sinks that receive the tracing that you send via Debug.WriteLine and Trace.WriteLine respectively. By default the Listeners collection contains a single sink, w...
Posted By:Corey Brown      Posted On: Nov 09

.Net Framework
Comments: 0

Can I customise the trace output?

Yes. You can write your own TraceListener-derived class, and direct all output through it. Here's a simple example, which derives from TextWriterTraceListener (and therefore has in-built support for writing to files, as shown above) and adds timing i...
Posted By:Fred Hicks      Posted On: Feb 06

.Net Framework
Comments: 0

How do I prevent concurrent access to my data?

Each object has a concurrency lock (critical section) associated with it. The System.Threading.Monitor.Enter/Exit methods are used to acquire and release this lock. For example, instances of the following class only allow one thread at a time to ente...
Posted By:Eric Foster      Posted On: Oct 30

  46  47  48  49  50  51  52  53  54  55  56