The week in .NET – 1/19/2016
To read last week’s post, see The week in .NET – 1/12/2016.
Last week, we had Jonathan Chambers on the show to talk about Unity. This week, we’ll have Don Syme, and we’ll talk about F#.
Package of the week #1: NATS client
Microservices and IoT both require distributed architectures where a large number of endpoints communicate fast and reliably. NATS is a popular high-performance cloud-based messaging system that is an excellent fit for such scenarios. The .NET client for NATS can publish over 3 million messages per second (and that’s in a VM, on a developer laptop).
Here’s how you’d send a simple object on the message bus, with a subject “foo”:
Other actors can asynchronously subscribe to the same subject and process objects:
You can read more about the NATS .NET client in NATS In Microsoft .NET.
Package of the week #2: VerbalExpressions
Regular expressions are hard to write, read, and debug: they’re a terse, but powerful DSL. VerbalExpressions is a library that makes it possible to write regular expressions using a more expressive syntax:
You are still using and running regular expressions, but your code is a lot easier to understand.
VS plugin of the week: Alive
Alive is a very cool Visual Studio extension that lets you visualize the effects of your code as you are typing it.
User group of the week: dotNet Miami
Cecil Phillip is talking at the dotNet Miami user group on Thursday, January 21 at 6:30PM about going beyond dependency injection with Autofac. The second talk of the night will be Camilio Sanchez on stress-free API integration.
- Introducing ASP.NET Core 1.0 and .NET Core 1.0 by Scott Hanselman.
- Learn Roslyn now: the Emit API by Josh Varty.
- NBench performance testing code throughput by Andrea Angella.
- Sébastien Ros built a nice little VS extension to help with the boilerplate associated with constructor dependency injection.
- How to optimize JSON.NET serialization performance by Tom DuPont.
- .NET method inlining and loops by Dmitry Orzhevsky.
- What’s New with ASP.NET MVC 6 by Ugo Lattanzi (video)
- Using an ASP.NET module to debug async calls by Xing (Shin) Mao.
- Setting up ASP.NET v5 (vNext) to use JWT tokens (using OpenIddict) by Capesean. JWT Tokens are an open industry standard RFC 7519 method for representing claims securely between two parties.
- Configuring SQL Server for session state in MVC 6 by Mike Brind.
- Develop ReactJS + ASP.NET Web API apps in Visual Studio 2015 by Martijn Boland
- ASP.NET 5 MVC 6 file upload with Sql Server FileTable by Damien Bod
- Running the KestrelHttpServer on Linux with CoreCLR by Mike Hadlow.
- The .NET Core Visual F# compiler can now bootstrap the open source F# compiler.
- Erico Sada added preliminary support for F# in the new dotnet CLI.
- Don Syme is working on merging part of the F# Compiler Service into the Visual F# compiler repo.
- Suave, a lightweight F# web development library, has reached v1.0.
- Rachel Reese discusses building functional microservices on the .NET Rocks podcast.
- Building Concurrent, Fault-tolerant, Scalable Applications in F# with Akka.NET, by Riccardo Terrell.
- A Developer’s Journey from OO to Functional, by Reid Evans.
- Designing with Capabilities, by Scott Wlaschin.
- Freeing Your Azure Data with F# Type Providers, by Isaac Abraham.
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, on Dirk Strauss’ The Daily Six Pack, and on Chris Alcock’s The Morning Brew.