-
Reducing executable size: http://developer.xamarin.com/guides/cross-platform/deployment,_testing,_and_metrics/memory_perf_best_practices/#Reducing_Executable_Size
-
Use the linker (iOS [1], Android [2]) to remove unnecessary code from your assemblies [1] https://developer.xamarin.com/guides/ios/advanced_topics/linker [2] https://developer.xamarin.com/guides/android/advanced_topics/linking
-
Reference third-party libraries judiciously
-
Applying constraints to generics may reduce app size, since less code would need to be included (haven’t verified this)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| param( | |
| [string]$GitHubOrg = 'jrummell', | |
| [switch]$DryRun, | |
| [string[]]$IncludeFolders, | |
| [string[]]$ExcludeFolders = @('.git', '.vs', 'node_modules'), | |
| [switch]$Private, | |
| [string]$RemoteName = 'origin', | |
| [switch]$ForceRemoteReplace, | |
| [string]$GithubRemoteName = 'github' | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | |
| <s:Boolean x:Key="/Default/CodeEditing/Intellisense/CodeCompletion/IntelliSenseCompletingCharacters/CSharpCompletingCharacters/UpgradedFromVSSettings/@EntryValue">True</s:Boolean> | |
| <s:Boolean x:Key="/Default/CodeEditing/TypingAssist/Asp/FormatOnClosingTag/@EntryValue">True</s:Boolean> | |
| <s:Boolean x:Key="/Default/CodeInspection/ExcludedFiles/FileMasksToSkip/=_002A_002Emin_002Ecss/@EntryIndexedValue">True</s:Boolean> | |
| <s:Boolean x:Key="/Default/CodeInspection/ExcludedFiles/FileMasksToSkip/=bootstrap_002A/@EntryIndexedValue">True</s:Boolean> | |
| <s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=8D9A1A8A_002DA68A_002D44A0_002DA79A_002D8B3694A8A6EC_002Fd_003AContent_002Fd_003Ahtml/@EntryIndexedValue">ExplicitlyExcl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class Linq2SqlDbContextExtensions | |
| { | |
| public static IDbSet<TEntity> GetTable<TEntity>(this DbContext context) | |
| where TEntity : class | |
| { | |
| return context.Set<TEntity>(); | |
| } | |
| public static int SubmitChanges(this DbContext context) | |
| { |