Need a C# .NET class that can be used as part of an existing website to retrieve and parse geo information about an IP address (IPv4).
Connection to TWO different geo APIs would be required for failover, ideally one should be retrieved as XML and the other as JSON so our programmers will have both code examples for future reference.
Here's what needed: class is instantiated from an asp.net page, calls one of the APIs (which one is passed as parameter to a call) parses return into a class variables. Choose two of the free APIs provided below. Code cannot hang if internet or server is not accessible, and also will be executed as part of a record retrieval (and DB Update, not in this scope), so we also need an ability to limit how long a call can be executed, in seconds (for instance, call API, if no response in 5 secs, return error).
For a successful call, store return in class variables, as:
RawResponse, CountryCode, CountryName, RegionCode, RegionName, Longitude, Latitude, City, PostalCode (Zip), MetroCode, AreaCode
DB and other system interaction is not part of this scope.
Available APIs ([url removed, login to view] is a sample IP address):
1) [url removed, login to view] (example: [url removed, login to view] , [url removed, login to view] )
2) [url removed, login to view] (example: [url removed, login to view] )
3) [url removed, login to view] (ex: [url removed, login to view] , [url removed, login to view] )
4) [url removed, login to view]
5) [url removed, login to view]
Should be properly , professionally coded, no refactoring needed. Our current system uses .NET 2.0 , but can also go with .NET 3.5 , please make sure your class works . Let me know which JSON parser you are planning to use, we already use [url removed, login to view] on some projects. Also look here:
[url removed, login to view]
Good morning, I can implement this project. For JSON parsing i'll use Newtonsoft.JSON. For any details about my experience, you can check my profile. Regards, Gabriel
38 freelancers estão ofertando em média $145 para este trabalho
Hi, I am interested to write only the C# class as you explained on the spec. I'll use: ** Newtonsoft for json ** .NET 3.5 Let me know if you are interested on me. marchent
Hello. I have 6+ years experience in C#, .NET, ASP.NET, WCF, MSSQL. I think its better to cache resolved geoip data to speedup reply of consequential requests. Or you will do it in another module? Thanks.
Hi, I have worked on things like this before. I am sure I can help you in this project. Please consider my bid and could you kindly ping back so that we can discuss further?
Hi. I can use [url removed, login to view] to serialize geoinfo. If your project do not use this library I can manualy parse json. I will cover developed code with unit test. Regards
I can do this for you in matter of hours, please let me know if I'm still candidate to do this, I would use Newtonsoft and the native library for xml