Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
Asynchronous Fire-And-Forget Call
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Stephen Barrett, post: 527819"] I have read many threads related to async fire and forget type calls, but none have addressed my particular problem. I have a webpage that instantiates a BL object and makes a method call. The BL object method actually sets up a delegate and calls a private method asynchronously and immediately returns back to the web page. The problem I am having is that the async call never happens. I added a quick logging call immediately as the first line of code in the method that is suppose to get called asynchronously and it never gets called. I am using an AsyncHelper class mentioned in other posts to help get around the memory leak issues regarding not calling EndInvoke after a BeginInvoke. If I call the public method of the BL and just have it call the internal one without using an async delegate, everything works fine except that the webpage eventually times out because it can be a very long process. I am thinking about maybe spawning a new thread manually and letting handle the long running process to see if I can around the issue. Any ideas on how to do this asynchronously fire-and-forget within the BL would be greatly appreciated. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
Asynchronous Fire-And-Forget Call
Top