2013-01-08

Portable Library NET

Schema for portable library with multiple targets

What is inportant for multi platform
Feature.NET FrameworkWindows Store AppsSilverlightWindows PhoneXamarin
CoreYYYYY
LINQYYYYY
IQueryableYYY7.5 +Y
SerializationYYYYY
Data Annotations4.0.3 +YY
Y

Try to use it wisely

The following table shows which features are supported on the available platforms and versions. In some cases, Microsoft has added support with the release of a NuGet package, and this has been noted. For more information about NuGet packages for the .NET Framework, see The .NET Framework and Out-of-Band Releases.
Feature
.NET Framework
Windows Store
Windows Phone Store
Windows Phone Silverlight
Silverlight
Xbox 360
4
4.0.3
4.5
8
8.1
8.1
7.5
8
8.1
4
5
Core libraries
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
Async support
➊
➊
✓
✓
✓
✓
➊
➊
✓
➊
➊

Compression


✓
✓
✓
✓

➋
➋



Data annotations

✓
✓
✓
✓




✓
✓

Dynamic keyword
✓
✓
✓
✓
✓




✓
✓

HTTPClient
➌
➌
✓
✓
✓
✓
➌
➌
➌
➌
➌

IQueryable
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

Language-Integrated Query (LINQ)
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

Managed Extensibility Network (MEF)
✓
✓
✓
✓
✓




✓
✓

Network Class Library (NCL)
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

Serialization (data contract, XML, and JSON)
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

System.Numerics
✓
✓
✓
✓
✓




✓
✓

View models (MVVM)


✓
✓
✓
✓
✓
✓
✓
✓
✓

Windows Communication Foundation (WCF)
✓
✓
✓
✓
✓

✓
✓
✓
✓
✓

Windows Runtime APIs




✓
✓






Windows.UI.XAML




✓
✓






XLINQ

✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
➊ Requires Microsoft Async package
➋ Requires Microsoft Compression package
➌ Requires Microsoft HTTP Client Libraries package

No comments:

HTMLCode

HTMLCode Content