• Raphaël Desalbres
  •  Blazor

Upload a file with progress bar in Blazor

Hello,It's never has been so easy to upload a file using Blazor. Using this awesome package https://www.nuget.org/packages/Tewr.Blazor.FileReader/ makes the job.Thanks https://www.creativejuiz.fr/blog/tutoriels/input-file-personnalise-css-js for the css!Here's ...

Read more

  • Raphaël Desalbres
  •  C-Sharp

Cache Helper

Hi, Here's a MVC C# cache helper I found here https://stackoverflow.com/questions/343899/how-to-cache-data-in-a-mvc-application, but I've modified it to take in account all data types and not only classes... public static class InMemoryCache     {         public static T GetOrSet<T>(string cacheKey, Func<T> getItemCallback)         {             if (HttpContext.Current == null || HttpContext.Current.Cache == null)                 return getItemCallback(); ...

Read more

  • Raphaël Desalbres
  •  Blazor

How to use Google Chart with Blazor

In this tutorial dedicated to junior developers, I want to demostrate the simplicity of Blazor compared to MVC and WebForms. In this tutorial, we will be based on this code :  https://www.aspsnippets.com/Articles/Create-Family-Tree-Hierarchy-Chart-from-Database-in-ASPNet-using-C-and-VBNet.aspx.Full ...

Read more