.NET Standard Code Sharing

RyanRyan Member ✭✭
edited February 2018 in Xamarin.Android

Im starting a new project and want to use Xamarin Forms with the .NET Standard code share method and EntityFramework Core as the ORM but have run into numerous issues

github.com/xamarin/xamarin-android/issues/1154
github.com/xamarin/xamarin-android/issues/1196

I was wondering if anyone could provide some insight do i

  • go PCL
  • drop Forms
  • other

The above issues seem to be quite old and our timeline is tight i wonder if these will be resolved soon?

Answers

  • DivisionMonkeyDivisionMonkey USMember ✭✭

    I would go .NET Standard 2.0 (definitely not 1.3). I would also consider skipping EF for your ORM. I am a huge fan of EF but don't really see a benefit of using it vs the existing SQLite tools. In SQLite you create your Db classes similar to what you would do for EF and querying the Db returns the class that matches the table. You don't have an overall "context" like you would in EF but most people aren't saving to multiple related tables at the same time on the mobile device.

Sign In or Register to comment.