Cascaging Dropdowns in Blazor

Hello,In this tutorial we'll see how to make cascading dropdowns in Blazor !We'll build a simple project in which we select a product, and then a brand, and finally a submit button that displays our choice.You can see the demo here: https://blazordemos.exceldev.comFirst our class:public class Products     {         public string Name { get; set; }         public List<string> Brands { get; set; }     }And ...

Read more

An alternative to Server.MapPath in .NET Core

Hello,I missed the Server.MapPath in .NET core. It is useful to get the physical path from a virtual directory in IIS.When using blazor locally I also prefer to use the local IIS.Fortunately this package exists, : install-package Microsoft.Web.AdministrationCombined with System.Runtime.Caching, ...

Read more

  • 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

Introduction

I work in a small company in Toulouse (France), and I am passionated by new (Microsoft) technologies, particularly "Blazor" and the Framework .NET Core 3.0. Before that ...

Read more

Exceldev © 2000 - 2020

An error has occurred. This application may no longer respond until reloaded. Reload 🗙