Schema for portable library with multiple targets
What is inportant for multi platform
Try to use it wisely
| Feature | .NET Framework | Windows Store Apps | Silverlight | Windows Phone | Xamarin | 
| Core | Y | Y | Y | Y | Y | 
| LINQ | Y | Y | Y | Y | Y | 
| IQueryable | Y | Y | Y | 7.5 + | Y | 
| Serialization | Y | Y | Y | Y | Y | 
| Data Annotations | 4.0.3 + | Y | Y | 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
➋ Requires Microsoft Compression package
➌ Requires Microsoft HTTP Client Libraries package

No comments:
Post a Comment