There is a response from the server like {"name": "Jonh", "lastName": "Smith"}, {"name": "Rick", "lastName": "Grimes"}. Etc. only about 30 objects. Now the implementation is far from ideal, and one request is sent to one object:
var rick = new WebClient().DownloadString("http://127.0.0.1/api/v3/dict/lastname?name=Rick"); Then I deserialize, and send to class.
public class Rick { public string name { get; set; } public string lastName { get; set; } } And then calmly use in the code further. How can you simplify this? The current implementation is rather slow.
The server gives all the objects on request http://127.0.0.1/api/v3/dict/lastname

