'How to Create a JSON Restful Web Service in C#/ASP with MySQL as Db?

I followed This to Create a RESTful Web Service which Displays Json as output

So that I can use this JSON in the part of Mobile application,

But Here Actually I have a Lot of data to display I am Creating a Server Side for mobile application so I decided to Store My data in the part of Mysql I successfully stored

But I failed to Display the JSON data As out Put.. Any suggestion regarding this.. please tell me some reference links.,..



Solution 1:[1]

You can simply create a simple c# rest web service. To return json data , you will need to specify the return data format on specific operation in the web service. To use mysql for database, you can search for mysql connector for c# on google. You can find libraries to use in your code. Hope it helps !

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bhupinder Singh