简体   繁体   English

如何在ASP.NET中获取WCF服务的URL

[英]How do I get the url of WCF service in ASP.NET

I have a service created as C# class in ASP.NET. 我在ASP.NET中将服务创建为C#类。 I'm trying to get the url of the service so I can use it as a service reference in other services. 我正在尝试获取服务的url,因此可以将其用作其他服务中的服务引用。 How can I get the URL of the service? 如何获取服务的URL?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在ASP.Net Core中使用WCF服务? - How do you use WCF Service in ASP.Net Core? 如何将ASP.NET AJAX页调用的WCF服务限制为仅允许对该页进行调用? - How do I restrict the WCF service called by an ASP.NET AJAX page to only allow calls for that page? 如何在现有的ASP.NET应用程序中托管WCF服务? - How do I host a WCF service in an existing ASP.NET application? 如何修改WCF服务以与ASP.NET页面一起使用? - How do I modify my WCF service to work with ASP.NET pages? 如何在asp.net mvc 3中使用非wcf休息服务? - How do I consume a non-wcf rest service in asp.net mvc 3? 如何访问ASP.NET变量以JSON字符串的形式传递给WCF Ajax Enabled Service - How do I access an ASP.NET variable to pass as JSON string to WCF Ajax Enabled Service 如何在ASP.NET WebForm中使用JavaScript使用WCF服务? - How do I consume a WCF Service from javascript in an ASP.NET WebForm? 启用ASP.NET Ajax的WCF服务,如何“发布”而不是“获取”? - ASP.NET Ajax-enabled WCF Service, how can I 'post' instead of 'get'? 如何在ASP.NET和WCF之间对用户进行身份验证? - How do I authenticate user between ASP.NET and WCF? 在 ASP.NET MVC 中动态更改 WCF 服务 URL - Dynamically Change WCF Service URL in ASP.NET MVC
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM