Skip to content

ELI5: How do I use this to parse my Primes output file? #40

Answered by rbergen
snarkipus asked this question in Q&A
Discussion options

You must be logged in to vote

@snarkipus There are two ways to answer this question:

  • Lazily: look at JsonFileReader/README.md. It describes the way the JSON file loader works in quite some detail.
  • Pragmatically: comment out/remove the "BaseURI" and "IsS3Bucket" attributes in appsettings.json.

Also make sure you add report4.json to src/Frontend/wwwroot/data instead of wwwroot/data in the publish tree (VS will still copy it there). For some reason, with VS2022, IIS Express seems to insist on loading its data from the project source wwwroot directory.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@snarkipus
Comment options

@rbergen
Comment options

Answer selected by snarkipus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants