Parent tag:Software Development.NETThis tag includes anything revolving around the .NET ecosystem. Mostly related to C# code in particular.2023-01-22Software Development.NETWeb DevelopmentSecurityUsing the object capability security model in C# CRUD applicationsThis post shows an example about how object capabilities can be used in a CRUD application to defer authorization to individual models.2022-07-25Software Development.NETHow to effectively observe the runtime behaviour of your core domainLogging statements have no place in the domain. There are multiple better alternatives you should use instead!2022-07-24Software Development.NETWhat is Event Sourcing?This post attempts to explain event sourcing through examples showing what it is and what it is not, while highlighting some of the strengths and reasons for using it.2022-01-31Software Development.NETWhat makes an event sourced domain?In an effort to generalize event sourcing to the whole domain I try to adapt concepts previously developed for aggregates to other domain objects such as services, process managers, sagas and repositories.2022-01-27Software Development.NETMore transparent command to event transformationAn improvement upon the previously proposed event sourced aggregate where command provides type information about its returned domain events.2022-01-27Software Development.NETCoarse commands emitting granular eventsIn order to allow an event sourced software system to evolve I believe it to be important to issue coarse commands emitting granular events. In this post I explain why.2022-01-27Software Development.NETCan I map one command to multiple events?Since it would be beneficial for commands to be able to issue multiple events reflecting its behaviour I modified an earlier approach to event sourced aggregates to allow this use-case.2022-01-20Software Development.NETCreating event sourced aggregates with C#The aggregate is a well understood concept within DDD practices. The addition of event sourcing to the mix might however complicate things, and the once pretty domain is now in shambles. In this post I'll cover the addition of ES, while keeping the awesomeness of DDD in place.2021-02-02Software Development.NETRolling back migrations to a previous version of Entity Framework CoreI discovered there was a dependency incompatibility between EF Core 5 and SqlKata. I weighted my options, and decided it would be easier to revert back to EF Core 3, than to solve this dependency compatibility issue in another way.2021-01-31Software Development.NETData StorageAccessing the filesystem with an asp.net core app run on DockerI ran a bunch of experiments to figure out how to access the filesystem from a .NET app running on Docker.2021-01-19Software Development.NETChange tracking on detached entities using Entity Framework Core2020-08-14Software Development.NETA Blueprint to Start With Stripe Subscriptions (using .NET)2020-07-23Software Development.NETAlgorithmsHigh performance 2D radius search2020-07-22Software Development.NETAlgorithmsAn algorithm for interpolating or extrapolating two listsHaving my brain eat itself while trying to interpolate two data sets to one another I came up with this working, though overly complicated solution. It works, but can be implemented in a much less convoluted mess.2020-07-05Software Development.NETHow to collect location data with Telegram and .NET Core?2020-03-22Software Development.NETGraphQLGraphQL.NET: Runtime object type is not a possible type for interface2020-03-12Software Development.NETData StorageAsynchronous streams in C# and scrolling through ElasticSearch with NEST2020-01-15Software Development.NETSolution wide config files with .NET Core2020-01-07Software Development.NETEmailHow to send emails from asp.net core using Razor templates?2019-12-25Software Development.NETEmailUsing the RazorViewToStringRenderer with Asp.Net Core 32019-12-16Software Development.NETGraphQLGraphQL.NET: Authorization2019-10-24Software Development.NETGraphQLGraphQL API Design: Cursor2019-05-27Software Development.NETEmailRendering Razor views by supplying a model instance2019-03-30Software Development.NETData StorageEntity Framework Core: insert or update, the lazy way2019-03-11Software Development.NETGraphQLHow to automatically load graph types in the DI container.2019-03-08Software Development.NETSQLGraphQLData StorageImplementing pagination with GraphQL.NET and RelayI describe the implementation of a cursor based GraphQL API following the Relay specification. Everything is covered, the specification, query composition, and even a real-world sample.2019-03-06Software Development.NETSQLData StorageHow can I use cursor based pagination on SQL Server with C#?2019-02-25Software Development.NETRepresenting coordinates in a human readable wayIn an attempt to make coordinates legible without resorting to maps I have tried an approach where I describe the position relative to a know point, such as a city, mountain top, or other landmark.2019-02-12Software Development.NETGraphQLData StorageHow to create GraphQL data loaders for Entity Framework?2018-12-26Software Development.NETSQLGraphQLCursor based pagination with C# and SQL Server2018-11-07Software Development.NETSQLStream processing SQL-stored data in C#2018-10-08Software Development.NETRetrieving all polygons that overlap a single point2018-09-21Software Development.NETSQLConverting .NET Ticks to MSSQL DateTime and back2018-09-19Software Development.NETPersonal Notes: Writing performant code with C#2018-09-10Software Development.NETGraphQLHow to add JWT Bearer auth to GraphQL subscriptions on ASP.NET Core 2.1?2018-05-12Software Development.NETData StorageHow to move data from MSSQL to ElasticSearch at galactic speeds2018-04-23Software Development.NETSQLData StorageScaffolding an existing SQL database with Entity Framework Core in 5 minutes2018-01-22Software Development.NETDevops.NET core application not logging output to Docker2017-12-04Software Development.NETSchool Assignment: Magic Squares2014-08-24Software Development.NETLuisterbieb Windows Phone App