Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Get local files in blazor + monogame(kniEngine)

$
0
0

I have a folder with .json files and by default im getting them with

Directory.GetFiles("Content/animations");

and then read them. But in blazor platform i have no access to this folder anymore.Is there any way to read theese files?

  1. manifest but is seems like it can only be accessible from .razor files.
  2. Http.GetStringAsync, but there is no Http using
  3. Just reading 'Content/animations', 'wwwroot/Content/animations' but not found

Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>