BeginRefresh can not asynchronously excute in Csla 4.5.10

BeginRefresh can not asynchronously excute in Csla 4.5.10

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


simon posted on Friday, November 16, 2012

In my WPF ViewModel  populate data as below:

     public void PopulateData()

        {

            BeginRefresh(callback => ProductCategoryEditList.GetList(callback));

 

        }

In Csla 4.3.13 it can asynchronously excute and not block the UI thread. After update to csla 4.5.10. the UI will block until the method are excuted.

 

RockfordLhotka replied on Friday, November 16, 2012

Is this with a local or remote data portal configuration?

simon replied on Friday, November 16, 2012

I didn't config the  CslaDataPortalProxy.

Just now  I add   <add key="CslaDataPortalProxy" value="Local" />  into app.config. then run the code.

the problem still exist.

I

RockfordLhotka replied on Friday, November 16, 2012

I am able to confirm this issue, and will add it to the bug list.

Copyright (c) Marimer LLC