您的位置:首页 > 移动开发

(转) Write Silverlight Application To Consume Currency Converter WCF Service

2010-03-30 11:40 393 查看
In last article Currency Conversion WCF Service For Silverlight, I discussed how you will go about writing a WCF service that can be consumed by Silverlight clients or all clients that can consume ASMX based web services. This article will discuss how to write Silverlight application that will consume WCF service. Following image shows how the UI for the application looks like.

代码if (e.status.StatusCode != 0)
{
txtMessage.Text = string.Format("[{0}]:{1} ",
e.status.StatusCode, e.status.StatusMessage);
if (string.IsNullOrEmpty(e.status.ExceptionDetails))
{
txtMessage.Text += e.status.ExceptionDetails;
}
return;
}

[/code]
[/code]
In next article I will show how this WCF service will be extended to create a live currency rate monitor.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐