CSLA support for Xamarin iOS development?

CSLA support for Xamarin iOS development?

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


MikeyK72 posted on Tuesday, November 26, 2013

While attending last week's VSLive! conference in Orlando, I believe I heard that there are current technical limitations that prevent CSLA from running successfully on iOS using Xamarin.  Are these limitations a "show stopper" or are folks actively working to resolve?

JonnyBee replied on Tuesday, November 26, 2013

It is a showstopper as IOS does not allow reflection and CSLA uses reflection to invoke methods at multiple places.

MikeyK72 replied on Tuesday, November 26, 2013

Thank you.  I guess in Apple's eyes, reflection is never appropriate and MVC is always appropriate.  :)

RockfordLhotka replied on Monday, December 02, 2013

It isn't all reflection, it is the part that emits code.

The underlying problem is that some uses of generics require runtime code generation by the .NET runtime. This isn't allowed in iOS and so Xamarin can't support those features of C#. Sadly CSLA uses a lot of generics and does use the specific generics feature that is disallowed.

Copyright (c) Marimer LLC