Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
// // FICTITIOUS EXAMPLES OF SAMPLE CLIENT // //-- Example 1 - Ambigious reference problem -- //Will not compile. "Person" is an ambigious reference since it is generated both for the PersonHandler and the CompanyHandler webservice proxy int companyId = 32; CompanyHandler companyHandler = new CompanyHandler(); PersonHandler personHandler = new PersonHandler(); Person personsForCompany companyHandler.GetPersonsWorkingAtCompany(companyId); Person somePerson = personsForCompany; somePerson.Name = "James Brown"; somePerson.Email = "firstname.lastname@example.org"; personHandler.SavePerson(somePerson); //-- Example 2 - Using namespaces which cause "class mismatch" -- //Will not compile. We can not call SavePerson with the somePerson object since it is another "Person" class than the one returned by GetPersonsForCompany int companyId = 32; Company.CompanyHandler companyHandler = new Company.CompanyHandler(); Person.PersonHandler personHandler = new Person.PersonHandler(); Company.Person personsForCompany companyHandler.GetPersonsWorkingAtCompany(companyId); Company.Person somePerson = personsForCompany; somePerson.Name = "James Brown"; somePerson.Email = "email@example.com"; personHandler.SavePerson(somePerson); //will not compile, somePerson is wrong class for SavePerson even though they are based on the same class in the code for the webservice that is called
Join the community of 500,000 technology professionals and ask your questions.