Click here to Skip to main content
12,694,842 members (32,747 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET
i want to know how to integrate any api in
i m doing project on online mobile recharge this 2 api will be included
one is of service provider and other for payment gateway.
Posted 24-Dec-12 23:43pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

how to integrate any api in
Just add the reference to the 3rd party API service or assembly to your web project and you should be good to use them. 'Add Reference' for assembly and 'Add Web Reference' for a webservice.
ProgramFOX 27-Dec-12 7:55am
Comment from the OP, posted as a non-answer:
if it is web service then we have 2 add a reference of it.if api is working on post and get method then we hav 2 use httprequest and httpresponse
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

In addition to Solution 1, conventions are that you add the library or the assembly of third-party API to your bin folder; which is equivalent to Adding reference using the Add Reference tab and searching for the assembly. Once that has been done, you can then use the using keyword, to include the library in your source file.

using NamespaceofPackage;

Then you can use the library in your web application.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 8 Mar 2015
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100