如何添加"服务引用"在asp.net网站? [英] How to add a "service reference" in a asp.net website?

查看:131
本文介绍了如何添加"服务引用"在asp.net网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发现我得到的添加服务引用上下文菜单选项在类库项目而不是在一个网站项目。

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.

现在我在这个项目中的太远,我需要使用贝宝前preSS签出选项在我的网站。但是,当我添加Web引用的API,我没有得到一个 reference.cs 类。是否有可以集成API的另一种选择。
如果是的话,一个code样品将是巨大的帮助。

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.

推荐答案

的Holterman建议的意见以上,添加服务引用选项在.NET中Framewrok 3.5及更高版本。

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

我升级我的网站框架3.5和它的工作我想它的方式。

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

这篇关于如何添加"服务引用"在asp.net网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆