神刀安全网

The week in .NET – 12/29/2015

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/29/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

ASP.NET

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!

原文  http://blogs.msdn.com/b/dotnet/archive/2015/12/29/the-week-in-net-12-29-2015.aspx

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » The week in .NET – 12/29/2015

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
分享按钮