|
You are here |
brendanbondurant.com | ||
| | | | |
lukemerrett.com
|
|
| | | | | What are Record Types? Record Types are a popular feature of F# [https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/records], also commonly found in other functional languages, that have recently been introduced to C# in version 9.0 [https://devblogs.microsoft.com/dotnet/c-9-0-on-the-record/] (released alongside .Net 5). On | |
| | | | |
www.daveabrock.com
|
|
| | | | | In a C# 9 deep dive, we will first walk through init-only features. | |
| | | | |
blog.submain.com
|
|
| | | | | This post is about C# classes. Have you ever wanted to know why you should keep a class member private? Find out the answer and more! | |
| | | | |
aaronluna.dev
|
|
| | | The Task-based Asynchronous Pattern (TAP) is the recommended way to write asynchronous code for .NET applications. As I explained in my last post, TAP is intended to replace the Asynchronous Programming Model (APM) and the Event-based Asynchronous Pattern (EAP), however many classes in the .NET framework still use these older patterns. Fortunately, these can be turned into TAP-style "awaitable" methods with relative ease. By doing so, you reap the benefits that come from working with Task (and Task) objects. In this post, I will convert a set of APM-style methods from the System.Net.Sockets namespace to TAP methods and provide an end-to-end example of how to use them in a generic TCP socket server. | ||