Asynchronous Database calls in CSLA with ASP.NET

Asynchronous Database calls in CSLA with ASP.NET

Old forum URL: forums.lhotka.net/forums/t/3248.aspx


mase posted on Monday, July 23, 2007

I have a few questions around how CSLA works with ASP.NET to acheive asynchronous database calls.  I don't see much discussion about asynchronous on these forums or in the C# book.  So here are a few questions around setting this up.

I have an extensive ASP.NET web app that uses 80+ business objects.  There are ways to setup asynchronous pages in ASP.NET, but it seems to make more sense for us to set this up on each fetch method in the business layer, as this could then apply to each DB call from the UI.
I'm hoping to make all or most of our database calls asynchronous with the least amount of code to update.  Each page has several database calls and would require a very large base of code to update if I need to Asynchronize each database call on each page.

Thanks

Copyright (c) Marimer LLC