In this stream, we continue our work on building a new Angular application called Excel to JSON.
The first feature we implement today is the JSON file download. After we convert the CSV to JSON, we then expose a function that allows the end-user to download the json as a json file with the simple click of a button.
Next, we create an ASP.NET Web API to support our “Get Share Link” feature. This features allows the end-user to upload the converted JSON to our ASP.NET web server and then generate a share link to use as a data source in their applications.
As you will see, we ran into a problem with getting past the dreaded CORS policies when trying to talk to our web api. Unfortunately, we were unable to solve the issue in today’s stream. If you have any ideas how to fix it, please let me know.
You can get the code from this repo: https://github.com/brianlagunas/excel2json
Be sure to watch my new Pluralsight course “Introduction to Prism for WPF”:
📺 http://bit.ly/PrismForWpf
Sponsor Me on GitHub:
🙏🏼 http://bit.ly/SponsorBrianOnGitHub
Follow Me:
📺 YouTube: bit.ly/BrianLagunasOnYouTube
🐦 Twitter: http://bit.ly/BrianLagunasOnTwitter