3

I have made lots of made Requests in JSON in Postman.

Now I am thinking about re-write all the Postman-tests into C#.

There are many different Nuget packages that could be used.

I have googled a lots but the picture I got that- everyone is doing it in their own way, though many people is using Resharper is that simple?

I want to keep it as simple as possible because I am very new to C#

Any suggestions tips of how to do this? (Guides/tutorials?)

Thank you in advance !

1
  • Sorry for confusion I have plenty of tests in Json (Request Bodys).
    – XsiSec
    Jan 22, 2018 at 16:42

1 Answer 1

4

ReSharper is an Visual Studio IDE Plugin for C# by JetBrains. This won't help you much unless you want to write everything from scratch.

Postman has the ability to generate code snippets for various languages and frameworks, including C# (using RestSharp as REST/HTTP client). Consequently, you should be able to simply "convert" your requests to C#. (Haven't tried this myself, so I can't tell how good that generated code is.)

1
  • I did this ,But when i copy and past and import rest dlls, Im not getting the response.
    – ChathuD
    Oct 23, 2020 at 4:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.