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, ...
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 ...
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();
...
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 ...
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 ...