Comment by Chris W. Rea on How do I serialize a mail message?
@Campinho The blog no longer exists.
View ArticleComment by Chris W. Rea on Why ICollection index does not work when...
@Inanikian There is no "best"; it depends on context. If you must use methods in IList<T>, say if you require indexing/ordering, then IList<T> may be the best interface type to require. If,...
View ArticleComment by Chris W. Rea on Spreadsheetgear run macro?
Hi Joe. I'm glad I found this answer, but it is almost five years old now. Is this still the case? I'm expecting nothing has changed based on the product history I found here, but I thought I'd check....
View ArticleComment by Chris W. Rea on Development Apple Push Notifications aren't...
I'm experiencing a similar issue. Known-good code (a tagged build from weeks ago) no longer receives a device token (nor the failure callback) when working vs. development/sandbox APNS. Production...
View ArticleComment by Chris W. Rea on didRegisterForRemoteNotificationsWithDeviceToken...
Hi Brett. +1. Was it, I wonder, 'experiencing problems' recently, e.g. today/yesterday? Because I'm experiencing a similar hair-pulling issue today, vs. sandbox APN (but prod APN is working fine, using...
View ArticleComment by Chris W. Rea on Could not get Device Token for Device running iOS...
I'm having the same issue today, too. Only development APN device token is failing; prod works fine. Our code isn't getting the failure callback invoked, either.
View ArticleComment by Chris W. Rea on Device token not generating iOS
@J.Lopes Are you able yourself to get a device token from sandbox APN today?
View ArticleComment by Chris W. Rea on EF.Core 2.0.1 Unsafe in Xamarin.Android
Switch back to using packages.config instead of PackageReference. I had to work around this issue as well. See my Feb. 23 posting at forums.xamarin.com/discussion/95916/…
View ArticleComment by Chris W. Rea on Visual Studio 2017 Xamarin Android compile warning...
Did you recently update to Visual Studio 15.6/15.6.1? I'm having this occur on one machine with 15.6.1 installed, but not on another with 15.5.7 installed. The project is the same in both cases.
View ArticleComment by Chris W. Rea on Xamarin UWP release mode Error - ILT005 returned...
Isn't .NET Native required in order to publish a UWP app? Guidance here shows enabling UseDotNetNativeToolchain.
View ArticleComment by Chris W. Rea on Xamarin UWP release mode Error - ILT005 returned...
Related: Internal compiler error when UseDotNetNativeToolchain is true ... the answer there suggests disabling optimizations for some assemblies.
View ArticleComment by Chris W. Rea on Assembly 'System.Memory' not found when using...
Just curious: Are you able to build with "Sdk Assemblies Only" linking enabled?
View ArticleComment by Chris W. Rea on Selecting all content of text input on focus...
Still an issue today in Edge/17.17134
View ArticleAnswer by Chris W. Rea for Binary search, from java to Actionscript
Here's a functional AS3 version: public static function find(keys:Array, target:String):int { var high:int = keys.length; var low:int = -1; while (high - low > 1) { var probe:int = (low + high) / 2;...
View ArticleMoving from CodeRush to ReSharper (or vice-versa). Any resources/help for...
I've been using CodeRush with Refactor! Pro for a while, but I'm considering moving to ReSharper.Once I uninstalled CodeRush, I immediately began to miss some key features, including:navigating...
View ArticleAnswer by Chris W. Rea for Learning JavaScript... Should I skip straight to...
Starting with the basics of JavaScript is a good idea, IMHO.Read JavaScript: The Good Parts, by Douglas Crockford. Very, very good book.You should also check out Douglas Crockford's web site.I also had...
View ArticleAnswer by Chris W. Rea for Mass sending data to stored procedure
You can pass a text batch of statements to the database. It can be quite efficient.Instead of creating a SqlCommand of CommandType.StoredProcedure and taking a single stored procedure name and set of...
View ArticleAnswer by Chris W. Rea for process.start() arguments
To diagnose better, you can capture the standard output and standard error streams of the external program, in order to see what output was generated and why it might not be running as expected.Look...
View ArticleHow to get Flex 3 ComboBox width to adjust based on bound dataProvider...
In Flex 3, I've created a ComboBox within an MXML component similar to the following:<mx:ComboBox id="comboBox" dataProvider="{_choices}" /><mx:Script><![CDATA[ import...
View ArticleAnswer by Chris W. Rea for How to listener the keyboard type text in Javascript?
You can listen for the onkeypress event. However, instead of just examining either the event.keyCode (IE) or event.which (Mozilla) property which gives you the key code, you need to translate the key...
View Article