The week in .NET – 12/29/2015

Bertrand Le Roy

We have a short post this week, as many people are on vacation, including me. Unsurprisingly, no .NET user group has events for this week, so we’ll skip the section this time.

As always, this weekly post couldn’t exist without community contributions, and I’d like to thank all those who sent links and tips. You can participate too. Did you write a great blog post, or just read one? Do you want everyone to know about an amazing new contribution or a useful library? We’d love to hear from you, and feature your contributions on future posts:

  • Send an email to beleroy at Microsoft,
  • Comment on this gist
  • Leave us a pointer in the comments section below.

This week’s post (and future posts) also contains news I first read on ASP.NET’s community spotlight, on F# weekly, on ASP.NET Weekly, and on Chris Alcock’s The Morning Brew.

To read last week’s post, see The week in .NET – 12/22/2015.

Package of the week: ImageProcessor

Server-side image processing is important. You might need to dynamically generate image thumbnails to make a web site more reactive, or add watermarks on the fly, or create black-and-white versions of the photos in a gallery. In all those scenarios, you’ll need image processing, you’ll need it to be fast, with a good image quality, and in a concurrency-friendly package, because you’re running on the server.

James South’s ImageProcessor is one of the .NET libraries you can use. It’s open source, lightweight, fast, simple, multi-threading-friendly, and extensible. It also works on .NET Core (look: no GDI+ dependency).

Here’s how you’d resize a JPEG image stream in memory to be 150 pixels wide, maintaining its aspect ratio, then send it to the output stream:

Check out the documentation for ImageFactory and its awesome list of methods for more exciting treatments you can apply to your images.

.NET News



The F# community is writing a new blog post daily for this year’s F# Advent Calendar in English. Lots of great new posts to check out this week!

Check out F# Weekly for more great content from the F# community.

And this is it for this week!


Discussion is closed.

Feedback usabilla icon