<< < 75 76 77 78 79 80 81 82 83 84 85 > >>   Sort: Rank

When working with shared data in threading how do you implement synchronization ?
.NET INTERVIEW QUESTIONS - When working with shared data in threading how do you implement synchronization ? There are certain situtations that you need to be careful with when using threads. If two threads (e.g. the main and any worker threads) try to access the same variable at the same time, you'...
2009-12-15, 4794👍, 0💬

What are Daemon threads and how can a thread be created as Daemon?
.NET INTERVIEW QUESTIONS - What are Daemon threads and how can a thread be created as Daemon? Daemon thread's run in background and stop automatically when nothing is running program. Example of a Daemon thread is "Garbage collector". Garbage collector runs until some .NET code is running or else it...
2009-12-09, 11488👍, 0💬

.NET INTERVIEW QUESTIONS - What is Thread.Join() in threading ?
What is Thread.Join() in threading ? There are two versions of Thread.Join :- * Thread.join(). * Thread.join(Integer) this returns a Boolean value. The Thread.Join method is useful for determining if a thread has completed before starting another task. The Join method waits a specified amount of tim...
2009-12-09, 5231👍, 0💬

What the way to stop a long running thread ?
.NET INTERVIEW QUESTIONS - What the way to stop a long running thread ? Thread.Abort() stops the thread execution at that moment itself.
2009-12-01, 5059👍, 0💬

What is Suspend and Resume in Threading ?
.NET INTERVIEW QUESTIONS - What is Suspend and Resume in Threading ? It is Similar to Sleep and Interrupt. Suspend allows you to block a thread until another thread calls Thread.Resume. The difference between Sleep and Suspend is that the latter does not immediately place a thread in the wait state....
2009-12-01, 11464👍, 0💬

How can we make a thread sleep for infinite period ?
.NET INTERVIEW QUESTIONS - How can we make a thread sleep for infinite period ? You can also place a thread into the sleep state for an indeterminate amount of time by calling Thread.Sleep (System.Threading.Timeout.Infi nite).To interrupt this sleep you can call the Thread.Interrupt method.
2009-11-24, 5345👍, 0💬

What's Thread.Sleep() in threading ?
.NET INTERVIEW QUESTIONS - What's Thread.Sleep() in threading ? .NET INTERVIEW QUESTIONS - What's Thread.Sleep() in threading ? Thread's execution can be paused by calling the Thread.Sleep method. This method takes an integer value that determines how long the thread should sleep. Example Thread.Cur...
2009-11-24, 5412👍, 0💬

How can you reference current thread of the method ?
.NET INTERVIEW QUESTIONS - How can you reference current thread of the method ? "Thread.CurrentThread" refers to the current thread running in the method."CurrentThread" is a public static property.
2009-11-17, 4316👍, 0💬

Can you explain in brief how can we implement threading ?
.NET INTERVIEW QUESTIONS - Can you explain in brief how can we implement threading ? Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim pthread1 As New Thread(AddressOf Thread1) Dim pthread2 As New Thread(AddressOf Thread2) pthread1.Start() pth...
2009-11-17, 4986👍, 0💬

Which namespace has threading ?
.NET INTERVIEW QUESTIONS - Which namespace has threading ? Systems.Threading has all the classes related to implement threading. Any .NET application who wants to implement threading has to import this namespace.
2009-11-10, 5394👍, 0💬

Can we have multiple threads in one App domain ?
.NET INTERVIEW QUESTIONS - Can we have multiple threads in one App domain ? One or more threads run in an AppDomain. An AppDomain is a runtime representation of a logical process within a physical process. Each AppDomain is started with a single thread, but can create additional threads from any of ...
2009-11-10, 5242👍, 0💬

Synchronization Premitives on EJB Methods
Should synchronization primitives be used on overrided bean methods? No. The EJB specification specifically states that the enterprise bean is not allowed to use thread primitives. The container is responsible for managing concurrent access to beans at runtime.
2009-11-05, 8043👍, 0💬

Did VB6 support multi-threading ?
.NET INTERVIEW QUESTIONS - Did VB6 support multi-threading ? While VB6 supports multiple single-threaded apartments, it does not support a freethreading model, which allows multiple threads to run against the same set of data.
2009-11-03, 8012👍, 0💬

What is a Thread ?
.NET INTERVIEW QUESTIONS - What is a Thread ? A thread is the basic unit to which the operating system allocates processor time.
2009-11-03, 4625👍, 0💬

What is Multi-threading ?
.NET INTERVIEW QUESTIONS - What is Multi-threading ? Multi-threading forms subset of Multi-tasking. Instead of having to switch between programs this feature switches between different parts of the same program. Example you are writing in word and at the same time word is doing a spell check in back...
2009-10-27, 5080👍, 0💬

What is Multi-tasking ?
.NET INTERVIEW QUESTIONS - What is Multi-tasking ? It’s a feature of modern operating systems with which we can run multiple programs at same time example Word, Excel etc.
2009-10-27, 8769👍, 0💬

Do webservices have state ?
.NET INTERVIEW QUESTIONS - Do webservices have state ? (How can we maintain State in Webservices ?) Webservices as such do not have any mechanism by which they can maintain state. Webservices can access ASP.NET intrinsic objects like Session, application and so on if they inherit from “WebService” b...
2009-10-20, 4858👍, 0💬

Which attribute is used in order that the method can be used as WebService ?
.NET INTERVIEW QUESTIONS - Which attribute is used in order that the method can be used as WebService ? WebMethod attribute has to be specified in order that the method and property can be treated as WebService.
2009-10-20, 4720👍, 0💬

What is file extension of Webservices ?
.NET INTERVIEW QUESTIONS - What is file extension of Webservices ? The extension for Webservices is .ASMX.
2009-10-13, 4776👍, 0💬

What the different phase/steps of acquiring a proxy object in Webservice ?
.NET INTERVIEW QUESTIONS - What the different phase/steps of acquiring a proxy object in Webservice ? Following are the different steps needed to get a proxy object of a webservice at the client side :- * Client communicates to UDI node for WebService either through browser or UDDI's public web serv...
2009-10-13, 4882👍, 0💬

What is WSDL?
.NET INTERVIEW QUESTIONS - What is WSDL? WSDL stands for Web Service Description Language. It is a W3C specification which defines XML grammar for describing Web Services.XML grammar describes details such as:- * Where we can find the Web Service (its URI)? * What are the methods and properties that...
2009-10-07, 4659👍, 0💬

What is DISCO ?
.NET INTERVIEW QUESTIONS - What is DISCO ? DISCO is the abbreviated form of Discovery. It is basically used to club or group common services together on a server and provides links to the schema documents of the services it describes may require.
2009-10-07, 4486👍, 0💬

What is UDDI ?
.NET INTERVIEW QUESTIONS - What is UDDI ? Full form of UDDI is Universal Description, Discovery and Integration. It is a directory that can be used to publish and discover public Web Services. If you want to see more details you can visit the http://www.UDDI.org .
2009-10-01, 4931👍, 0💬

What is a Web Service ?
.NET INTERVIEW QUESTIONS - What is a Web Service ? Web Services are business logic components which provide functionality via the Internet using standard protocols such as HTTP. Web Services uses Simple Object Access Protocol (SOAP) in order to expose the business functionality.SOAP defines a standa...
2009-10-01, 4935👍, 0💬

<< < 75 76 77 78 79 80 81 82 83 84 85 > >>   Sort: Rank