dotnet

Improving Moving Average implementation in conjunction with BenchmarkDotNet

Improving Moving Average implementation in conjunction with BenchmarkDotNet

Arjun Krishna

2 minute read

Last night I read an article about someone working on moving average calculation. I remembered I had done a similar exercise few years ago. I put it into BenchmarkDotNet and then wanted to try ArrayPool and ReadOnlySpan features in C# to improve its performance. I do not do much open-source stuff, so feel free to improve it and let me know where I have gone wrong. BenchmarkConsoleTest .

Configure Alexa Skill to use Blazor Backend

Configure Alexa Skill to use Blazor Backend

Arjun Krishna

4 minute read

I have an Alexa Skill for a personal project that utilizes azure functions for its backend. I had started dabbling into blazor wasm and wanted to try connecting an alexa skill to it with account linking functionality. I found a sample public repo which utilizes Identity server for managing users, so it was a perfect test bed for alexa account linking functionality. I faced some issues while doing that. I jotted down the steps which finally made it work and added them into a sample repository as…