Skip to content

Instantly share code, notes, and snippets.

@bleroy
Last active December 17, 2015 11:28
Show Gist options
  • Save bleroy/e3263de7a4be4a6a1195 to your computer and use it in GitHub Desktop.
Save bleroy/e3263de7a4be4a6a1195 to your computer and use it in GitHub Desktop.
The Week in .NET scratch pad
@i3arnon
Copy link

i3arnon commented Dec 5, 2015

I think my recent blog post on ValueTask<T> could be relevant: On The Efficiency Of ValueTask.

But I also have older ones that may be interesting, for example: LongRunning Is Useless For Task.Run With async-await, LogicalOperationStack Is Broken With async-await, Surprising Contention In System.Threading.Timer, etc.

@joeaudette
Copy link

As you know there are some gaps in dnxcore50, specifically System.Net.Mail does not exist so we have not had a good way to send email until now in dnxcore50.
Good news on this front, as of yesterday MailKit/MimeKit now support dnxcore50 jstedfast/MailKit#212 and nugets are available.

@StephenCleary
Copy link

I've got a few libraries that are "interesting". IMO. :)

Comparers - a fluent API that implements comparers (IComparer<T> and IEqualityComparer<T>) and comparable types (IComparable<T> / IEquatable<T>). Handles all the corner cases correctly (implementing GetHashCode, handling null, etc).

Connected Properties - allows properties to be dynamically "connected" to (most) non-dynamic objects. All corner cases around lifetime management are handled correctly, without the use of any background polling threads.

Calculated Properties - a platform-agnostic MVVM library for automatically raising NotifyPropertyChanged when necessary. Very similar to AngularJS computed observables.

@StephenCleary
Copy link

Oh, and I forgot BrowserBoss, a library for scripting browsers. Works great with LINQPad, but can also be used in regular apps.

@mattwarren
Copy link

I guess I've missed this weeks release, but you might like this post I wrote: Open Source .NET – 1 year later

@punitganshani
Copy link

I recently recorded Intro to NuGet on Channel 9. Please check if that's relevant: Packaging your libraries with NuGet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment