HTHarvey Trianainharveyt.hashnode.dev·Sep 10, 2021 · 4 min readPrecise solution to Factorial Function and Fibonacci series in C#Perhaps the worst implementation of the factorial function in C# that you can find is the following: static int Factorial(int n) { if (n <= 1) { return 1; } return n * Factorial(n - 1); } You should know that it can only give res...00
HTHarvey Trianainharveyt.hashnode.dev·Sep 4, 2021 · 1 min readJavaScript reactivity with custom eventsIn this short example I show how from a custom event we can inadvertently send messages to the browser from the same application. I use the object paradigm in JavaScript here. Simple and efficient. JavaScript Object sample, /* CUSTOM EVENTS File: dr...00
HTHarvey Trianainharveyt.hashnode.dev·Sep 4, 2021 · 2 min readFast loading of big files from a Blazor WASM applicationUploading relatively normal-sized files from Blazor is relatively straightforward. We use the InputFile component, and a short routine. However, if we want to upload considerably large files, we encounter a technical challenge. I have seen several st...00