What are asynchronous callbacks ?
Answers were Sorted based on User's Feedback
Answer / zafar mohammed ameem
Callbacks are usually the methods which should be invoked
after execution of some method.
Asynchronous Call back is a way of invoking a method
Asynchronously (on a different thread). But before
invocation of method we provide a callback delegate which
refers to the method which should be called after execution
of async method. This method is called call back method.
AsyncCall backs are useful when user intends to execute any
method asynchronously and notify some thing after method is
finshed, without modifying the signature of the method
being called.
Is This Answer Correct ? | 17 Yes | 1 No |
Answer / uma`
client has to wait untill the method that completes current
process.by using delegates we call the asynchronous calls
Is This Answer Correct ? | 19 Yes | 4 No |
Answer / hrdiya
Page processing begins on a thread-pool thread, but that
thread is returned to the thread pool once an asynchronous
I/O operation begins in response to a signal from ASP.NET.
When the operation completes, ASP.NET grabs another thread
from the thread pool and finishes processing the request.
Scalability increases because thread-pool threads are used
more efficiently. Threads that would otherwise be stuck
waiting for I/O to complete can now be used to service
other requests. The direct beneficiaries are requests that
don't perform lengthy I/O operations and can therefore get
in and out of the pipeline quickly. Long waits to get into
the pipeline have a disproportionately negative impact on
the performance of such requests.
Is This Answer Correct ? | 11 Yes | 4 No |
Answer / saami solutions
when a synchronous call is made, the calling thread is
blocked until the method completes whereas an asynchronous
call is made on a different thread, and this allows the
original thread to continue its work while the asynchronous
call is in progress.
Is This Answer Correct ? | 9 Yes | 4 No |
Answer / neeta
* Asynchronous callbacks means that a call is made from a Main Program to a .net class's method and the program continues execution.
* when the callback is made (Means the method has finished it work and returns value) ,the Main Program handles it.
Is This Answer Correct ? | 4 Yes | 2 No |
Can we make activex dll also ti execute in some process as that of client ? How can we do?
What are Authentication mechanisms in .Net?
how we deploy the asp.net 2.0 application
What are the uses of list view control in Asp.net?
Where code pages are used?
What is itemrowdatabound for a datagrid?
Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.
5 Answers ADITI, Syntax Softtech,
Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?
What r the page life cycle in asp.net page?
Describe in brief .net framework and its components.
Can you set the session out time manually?
how to convert varchar into datatype int............. in ASP