T
The real Slartibartfast
Guest
Hello,
Looking for some advice on first C# project to consume an API, so please bear with.
My code is written in "LINQPad 6" (Console Application) and all works fine. I'm looking to transplant my code into a Visual Studio 2019 solution and wondered about the best project type for this. Is MVC an option?
The published/deployed code will need to run in an Azure so at this stage and I'm considering the following:
I took the Postman JSON output and pasted into Instantly parse JSON in any language | quicktype to get my classes, apart from ParseStringConverter not being recognized
[JsonConverter(typeof(ParseStringConverter))]
all the rest seem to map nicely, is this a good way of getting classes from JSON?
Thanks in advance.
Continue reading...
Looking for some advice on first C# project to consume an API, so please bear with.
My code is written in "LINQPad 6" (Console Application) and all works fine. I'm looking to transplant my code into a Visual Studio 2019 solution and wondered about the best project type for this. Is MVC an option?
The published/deployed code will need to run in an Azure so at this stage and I'm considering the following:
- .net framework console application deployed as a WebApp/WebJob.
I took the Postman JSON output and pasted into Instantly parse JSON in any language | quicktype to get my classes, apart from ParseStringConverter not being recognized
[JsonConverter(typeof(ParseStringConverter))]
all the rest seem to map nicely, is this a good way of getting classes from JSON?
Thanks in advance.
Continue reading...