[Solved] How to login external web site from asp.net web page? [closed]

Hopefully, most web sites will prevent this type of thing. It is considered a cross site request forgery. You can read more about it here and if you still want to do it, at least you will know what you are getting into. Be safe. http://en.wikipedia.org/wiki/Cross-site_request_forgery 1 solved How to login external web site from … Read more

[Solved] Deserializing json C# [duplicate]

First your json is invalid. Here is the same one but with fixes. {“data”:[{“name”:”123″,”pwd”:123},{“name”:”456″,”pwd”:456},{“name”:”789″,”pwd”:789}],”duration”:5309,”query”:”myquery”,”timeout”:300} And with this json model should look like this: public class Rootobject { public Datum[] data { get; set; } public int duration { get; set; } public string query { get; set; } public int timeout { get; set; } … Read more

[Solved] Send HTTP POST request in .NET

There are several ways to perform HTTP GET and POST requests: Method A: HttpClient (Preferred) Available in: .NET Framework 4.5+, .NET Standard 1.1+, and .NET Core 1.0+. It is currently the preferred approach, and is asynchronous and high performance. Use the built-in version in most cases, but for very old platforms there is a NuGet … Read more