24 April 2024
24 April 2024

Working with IAsyncEnumerable in C#

0
3
IAsyncEnumerable is a powerful interface introduced in C# 8.0 that allows you to work with sequences of data asynchronously. It is a great fit for building ETLs that asynchronously stream data to get it ready for transfer. You can think of IAsyncEnumerable as the asynchronous counterpart of IEnumerable because both interfaces allow you to easily … Read more
29 January 2024
29 January 2024

C# Cancellation Tokens in AWS

0
2
A colleague of mine once asked about cancellation tokens in AWS. This question got me thinking about this problem and got me curious on whether there is any support. Turns out it is an interesting topic with lots of pitfalls. If you don’t know about cancellations tokens, they are used in C# are used to … Read more
07 December 2023
07 December 2023

AWS Step Functions in C# – Part 2

0
2
In part one of this series, I built a state machine which runs in the background to process uploaded resumes via step functions in C#. The overall process took seconds to complete, and this made it unsuitable for actual users who demand immediate (or at least, subsecond,) results. To recap, the state machine executed two … Read more
17 August 2023
17 August 2023

AWS Step Functions in C#

0
3
Step functions allow complex solutions to process data in the background. This frees users from having to wait on the results while it is running. Imagine a use case where someone uploads a resume because sifting through resumes takes time, a background process can curate the data and have it ready for a recruiter. In … Read more

How to secure legacy ASP.NET MVC against Cross-Site (CSRF) Attacks

0
9
Cross-Site Request Forgery (CSRF) attacks are widespread, and even some BigTech companies suffer from them. Netflix suffered in 2006 with CSRF vulnerabilities. Attackers could change login credentials, change the shipping address and send DVDs to a newly set address. YouTube suffered from CSRF attacks where an attacker could perform actions of any user ING Direct … Read more
16 November 2021
16 November 2021

10 reasons why Python is better than C# (or almost any other programming language)

0
153
After resisting learning Python for years, assuming it was just another object-oriented programming language, Andy Brown now gets what the fuss was about: Python really does make coding quicker. This article lists 10 reasons why Python is better than C# and will make your programming life easier (and two reasons, in fairness, why it might not).… Read more