Search code examples
c#asp.netpaypalservice-reference

How to add a "service reference" in a asp.net website?


I just found out that I get the "Add Service Reference" context menu option in a class library project but not in a "Web Site" project.

Now I am too far in this project and i need to use the Paypal Express Checkout option in my website. But when i add a web reference to the API, i do not get a reference.cs class. Is there another option to integrate the API. If yes, a code sample would be great help.


Solution

  • as Henk Holterman suggested in the comments above,The option to add a Service Reference is available in .Net Framewrok 3.5 and above.

    I upgraded my site to framework 3.5 and it worked out the way i wanted it.