TheSharperDev
Educating about C# and F#
Posts
About
Tags
Categories
programming
31
Dec 2019
How to use REPL and Scripting in F#
Lately I’ve been looking into using F# in Jupyter Notebooks. I downloaded it and attempted to follow the tutorials...
29
Dec 2019
Getting Started With BenchmarkDotNet
BenchmarkDotNet is a great library for performance testing on the dotnet platform. On this blog I’ve used it to be...
26
Dec 2019
Getting Started with Elmish
I’ve been learning F# lately and have been wondering what the F# in the browser experience is like. There are seve...
20
Dec 2019
Introduction to F# Type Providers
This post is one of many in the FSAdvent Calendar. A December’s worth of blog articles all about FSharp. Many than...
03
Dec 2019
The Difference Between IEnumerable and IQueryable Explained
This post is part of this year’s C# Advent Series. Which counts down to Christmas with two C# articles published e...
23
Nov 2019
Benchmarking For Loop Variants
I read Thomas Levesque’s recent post about Using foreach with an index. I’ve definitely run into the problem...
16
Nov 2019
Explaining Implicit Conversion Operators in C#
Sometime ago at work, I discovered a class that could automatically convert to and from a string whenever it was needed....
14
Nov 2019
Under the Hood of C# Alias Types and Namespaces
C# has two different ways to refer to a lot of its fundamental types. String or string, Boolean or bool, Int32 or int, c...
09
Nov 2019
Explaining Async Programming With Pizza
Asynchronous programming. It means so many things to so many people. When first learning async programming, it’s e...
26
Oct 2019
EF Core’s AddAsync v. Add Method
Since learning about async programming with C#, if I’m presented with an option of async v. non-async method I&rsq...
19
Oct 2019
Add Swagger to a .NET Core 3.0 API
If you’ve ever interacted with an API, you know that it can be messy. Does it support json or xml? How should I co...
12
Oct 2019
How to Write a Brainfuck Interpreter in C#
I’ve always been somewhat interested in how programming languages are written. Last month I bought my version is i...
05
Oct 2019
.Net Core 3.0 AddControllers() Method
In case you haven’t heard, .Net Core 3.0 has now been released! So many things are now available as part of this r...
29
Sep 2019
C# Design Patterns: The Visitor Pattern
My last article introduced expressions in C# and explained a bit why they were useful. Today I’m going to build up...
22
Sep 2019
An Introduction to C# Expression Trees
Expression Trees are an interesting C# language feature that you might not have knowingly used before. Expression Trees ...
15
Sep 2019
The Cost of Synchronous Async Methods
C# 5 introduced the async/await keywords and dramatically increased how easy it was to program asynchronously. The first...
08
Sep 2019
Pure v. Impure Functions
Pure and Impure functions is a very important distinction in functional programming. Most of my university and early wor...