i have json file and i want to create asp.net api using that json file.
i have some get methods in json file.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Asma KhalidRank #160 · 14.7K reputationPosted May 17, 2021, 4:55 AM EDT
RituRank #3,526 · 412 reputationPosted May 17, 2021, 4:30 AM EDT
RituRank #3,526 · 412 reputationPosted May 18, 2021, 8:26 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted May 16, 2021, 6:55 AM EDT
Varun SetiaRank #308 · 8.2K reputationPosted May 17, 2021, 11:02 AM EDT
The approach you are trying might not help.
But, you can generate client libraries into C# format using RestSharp Library.
You need to follow 2 steps:
1. Generate client code from Postman, . Here is the reference - https://learning.postman.com/docs/sending-requests/generate-code-snippets/
2. Install and configure Restsharp client using nuget package name - Restsharp.
This approach might help you.