Refit is a type-safe REST Client for .NET Core, Xamarin and .Net - developed by Paul Betts. It is inspired by Square's Retrofit library. Refit makes it relatively easy to make calls to REST API, without writing much of wrapping code. In this article, we are going to explain how to use Refit, with focus on its common features.
With the release of .Net Core 2.0, SmtpClient is now available. It is identical to what was there in full .Net framework. Ideally, the code to send email using SmtpClient you might have written in .Net framework should work in .Net Core 2.0 pretty much by copy-pasting.
With Visual Studio 2017.3, came the first "point" release or minor update to C#, 7.1. This release adds three new features on top of C#7.0: async main method, default literal expressions and inferred tuple element names. In this post, I will cover how to enable C# 7.1 and the new features which came with it.