为使用WCF的客户端应用程序创建类和配置文件 [英] Create a class and a config file for a client app consuming WCF

查看:78
本文介绍了为使用WCF的客户端应用程序创建类和配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everybody,我开发了一个WCF应用程序,我正在尝试构建一个客户端程序,以便将其用于演示目的。



是否必须使用SvcUtil.exe命令为该项目构建类和配置文件?我的意思是,使用代码开发它们是否可行?



客户端应用程序是一个Windows项目。



我尝试了什么:



我刚刚看到了如何使用SvcUtil.exe,但我很确定它必须是一种通过代码完成它的方法。我一直在通过互联网搜索。

Hello Everybody, I developed a WCF application and I´m trying to build a client program in order to consume it for demonstration purposes.

Is it mandatory to use SvcUtil.exe command to build the class and a config file for that Project ?. I mean, is it posible to develop both using code ?

The client app is a Windows Project.

What I have tried:

I just saw how to use SvcUtil.exe, but I´m pretty sure it has to be a way to do it by code. I´ve been searching thru the Internet.

推荐答案

使用WCF服务 [ ^ ]


这篇关于为使用WCF的客户端应用程序创建类和配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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