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?).

0

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 you have read our privacy policy.

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