December 8th, 2015

The week in .NET – 12/08/2015

Bertrand Le Roy
Senior Software Engineer

Welcome to the second “The Week in .NET” post. It was great to see how well the first post was received. Thanks to all who sent messages of encouragement and contributions to this week’s post. If you would like to participate too, if you wrote a great blog post, or just read one, if you want to show an amazing new contribution, if you’ve written a useful library, we’d love to hear from you, and feature it on future posts. You can send me an email to beleroy at Microsoft, or you can comment on this gist with new links, or you can simply leave us a pointer in the comment section below.

Package of the week #0: AngleSharp

Let’s start by talking a little bit about the section in last week’s post that generated the most comments: the package of the week. Last week, I chose HtmlAgilityPack because it’s a package that I’ve used a lot in the past, and that is one of the most downloaded on NuGet. Several of you mentioned that they were using AngleSharp in lieu of HtmlAgilityPack, specifically for its more modern approach, and because it’s being more actively maintained. Indeed, it uses CSS queries instead of XPath, and is a joy to use.

Here’s last week’s sample code, but using AngleSharp instead of HtmlAgilityPack:

Package of the week #1: Bogus

Brian Chavez sent a tip about his Bogus package, which creates fake data that you can use in your test cases. The library is a lot of fun to use, and can generate a boatload of different data types, from localized Lorem Ipsum text to images, with a result that always looks like real data from real users.

Here’s how you can generate fake user data, for example:

News from Core

Joe Audette sent in a tip telling us that Mailkit now supports .NET Core. This is great news as it means that it’s now super-easy to send mail from a .NET Core app.

Brian Chavez also manages the .NET driver for RethinkDB, which is now compatible with .NET Core.

F# news

Every week from now on, we’re going to relay a selection of news from the very active F# community. Thanks to Sergey Tihon and David Stephens for providing these links.

User group of the week: dotNET Miami

dotNet Miami is a user group in Miami, FL, USA. On Thursday, December 10th, at 6:30PM, they have an intro-level session about F# and database design fundamentals.

Blog posts of the week

And this is it for this week!

Click here to navigate to the previous post in this series.

Author

Bertrand Le Roy
Senior Software Engineer

Bertrand has been programming since he was ten. He was an early contributor to ASP.NET, co-founded the Orchard CMS project, and he was also on the team that built .NET Core. He currently works on the Xamarin team on improving the Forms developer experience in Visual Studio and Visual Studio for mac.

0 comments

Discussion are closed.