2

Building the Excel to JSON Angular App: Part 2 - JSON File Download and ASP.NET...

 2 years ago
source link: https://brianlagunas.com/building-the-excel-to-json-angular-app-part-2-json-file-download-and-asp-net-web-api/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Building the Excel to JSON Angular App: Part 2

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK