January 5th, 2016

The week in .NET – 1/5/2016

Bertrand Le Roy
Senior Software Engineer

We’re back for a new year of .NET! For this first week of 2016, we’re off to a great start with two packages and lots of interesting posts.

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

On.NET

This week on our On.NET live YouTube show, we’ll speak with Mads Torgersen, probably mostly about C#. Please feel free to send me questions in advance, or to attend the show live and ask Mads questions directly on the chat.

Package of the week #1: ReactiveUI

ReactiveUI uses Reactive Extensions for .NET to create testable UI that are compatible with Xamarin (iOS, Android, and Mac), WPF, Windows Forms, UWP, etc.

Here’s an example that illustrates how Reactive programming is very appropriate for UI, by showing how to throttle change events on a search textbox before sending queries to a search service:

You can see this sample code in context on the ReactiveUI site.

The ReactiveUI community is very open to contributions: you can check out what’s up for grabs, and they also have a tag for first-timer only issues.

Package of the week #2: TypedRouting

If you think declaring ASP.NET MVC routes involves too many “magic strings”, you’re going to love TypedRouting.

Here’s how you would declare a GET route to HomeController.Index(int):

In this example, both the controller name and the action method names are checked at compile-time. Even the signature of the method can be checked during compilation, and will be flagged as an error if it changes and becomes incompatible with its usage.

The library doesn’t stop at adding routes, and also provides a range of utilities to use the routes. For example, you can get a link using the route defined above:

User group of the week: New England Microsoft Developers

This week, the New England Microsoft Developers group has John Pelak talking about Azure ML – machine learning for all of us, on Thursday, January 7, from 6:30PM to 8:30PM, in Burlington, MA.

.NET

ASP.NET

F#

Start your New Year off right with the epic conclusion of the 2015 F# Advent Calendar in English:

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

And this is it for this week!

Contribute to the week in .NET

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.

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.