1. 首页
  2. 编程语言
  3. C#
  4. WCF & WPF 聊天程序源码

WCF & WPF 聊天程序源码

上传者: 2018-12-26 17:30:19上传 ZIP文件 373.66KB 热度 49次
WCF & WPF 聊天程序源码For those that have read some of my other CodeProject articles you will probably know, that I am not shy about trying out new technologies. But one good thing about that is that I generally share what I learn right here, and this article is one of the hardest ones I've done IMHO. This article is about how to create a peer-to-peer chat application using Windows Communication Foundation (WCF) and also how to make it look nice using Windows Presentation Foundation (WPF).&l t;br>When I first started reading about WCF, the first place I looked was the MSDN WCF Samples (which I read a lot), but they weren't that great. I also found lots of chat apps based on the MSDN versions, which were no good as they could not return the list of users within the chat application. So I wanted to create a nice WPF styled app with the list of connected chatters. So I hunted around a bit more and eventually came across a damn fine/brilliant article by Nikola Paljetak, which I have tailored for this article. I have OK'd this with Nikola, and the original article content is here. To be honest the original article was pure brilliance (it should be mentioned Nikola is a Professor), but it took a while for me to get what was going on, as the code wasn't commented. I have now commented all code, so I think it will still make a very nice discussion/article for those that are new to WCF/WPF. I was totally new to WCF before this article, so if I can do it, so can all of you.So that's what this article is all about. At the end of the article, I would hope you understand at least some of the key WCF areas, and possibly be inspired enough to look at the WPF side of this article also. t;br>When I first started reading about WCF, the first place I looked was the MSDN WCF Samples (which I read a lot), but they weren't that great. I also found lots of chat apps based on the MSDN versions, which were no good as they could not return the list of users within the chat application. So I wanted to create a nice WPF styled app with the list of connected chatters. So I hunted around a bit more and eventually came across a damn fine/brilliant article by Nikola Paljetak, which I have tailored for this article. I have OK'd this with Nikola, and the original article content is here. To be honest the original article was pure brilliance (it should be mentioned Nikola is a Professor), but it took a while for me to get what was going on, as the code wasn't commented. I have now commented all code, so I think it will still make a very nice discussion/article for those that are new to WCF/WPF. I was totally new to WCF before this article, so if I can do it, so can all of you.So that's what this article is all about. At the end of the article, I would hope you understand at least some of the key WCF areas, and possibly be inspired enough to look at the WPF side of this article also.
下载地址
用户评论
码姐姐匿名网友 2018-12-26 17:30:19

用起来还可以,当参考了

码姐姐匿名网友 2018-12-26 17:30:19

很有参考价值

码姐姐匿名网友 2018-12-26 17:30:19

牛逼啊 我要没豆豆了

码姐姐匿名网友 2018-12-26 17:30:19

评价下混一分

码姐姐匿名网友 2018-12-26 17:30:19

挺不错的。

码姐姐匿名网友 2018-12-26 17:30:19

功能比较简单,还可以参考吧

码姐姐匿名网友 2018-12-26 17:30:19

很不错的。挺好用

码姐姐匿名网友 2018-12-26 17:30:19

很好的演示代码,帮大忙了

码姐姐匿名网友 2018-12-26 17:30:19

很有学习价值的文档,感谢

码姐姐匿名网友 2018-12-26 17:30:19

运行不起来呀,