CSLA 4.5 - Do I need Callback EventHandlers if targeting only .NET 4.5 vs async/await

CSLA 4.5 - Do I need Callback EventHandlers if targeting only .NET 4.5 vs async/await

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


SMILEMan posted on Friday, January 11, 2013

For new business objects and projects that will be targeted only for .NET Framework 4.5 and beyond and WinRT, do I still need to program my Factory methods (New, Get, etc.) in my business objects with Callback EventHandler options - or can I just use the async/await format

Ray Klaassen

 

JonnyBee replied on Sunday, January 13, 2013

No, you do not need the callback event handlers for these objects. 

Use the async/await implementation. 

Copyright (c) Marimer LLC