Question: C# Help! Implement a solution which will perform three primary functions: Retrieve a JSON file from a remote URL. Your solutions should pull this from

C# Help!

Implement a solution which will perform three primary functions:

  1. Retrieve a JSON file from a remote URL. Your solutions should pull this from a settings file (app.config, web.config. etc).

  2. Determine if a provided string is a palindrome. Alphanumeric chars will be considered when evaluating whether or not the string is a palindrome.

  3. Parse the retrieved JSON file, and pass each element in the "strings" array, into the function in step #2. You should print out the string and result.

The JSON file will contain the string to test, and its status as a palindrome. The file will be in this format:

 { "strings": [{ "str": "mom", "result": "true" }, { "str": "Taco Cat", "result": "true" }, { "str": "Kent State", "result": "false" }] }

Your solution is expected to handle reasonable exceptions (unanavailable JSON file, improperly formatted file, etc). In the case of an exception, simply outputting the exception message, or comparable message, will expected.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!