Category: Uncategorized

  • A Quicky: DocOpt.Net – Console Applications

    Recently, I discovered this Github page here and was pretty floored by the idea. Simply put, the writer documents the console application’s actions in comments and this library will parse them and return a list of key-value pairs containing the options that the user has selected. Here’s some code from their example: Notice how the…

  • Sorting in Entity Framework Core

    Continuing from my last post. Let’s add a few endpoints that support sorting. If you’d like the source code, it can be found here. First, I will add a PagingViewModel.cs file to the Database project: This contains the Start index and the Count (which is used for pagination). Also, it has an OrderBy string as…