In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "WCF service control program case analysis", the content of the article is simple and clear, easy to learn and understand, now please follow the editor's train of thought slowly in depth, together to study and learn "WCF service control program case analysis"!
In this example, a simple Web service and console client are created that are stored on the Web server. We used the default VS template for the WCF service project, which means you don't need to add any code, but use an operation GetData () defined in this default template.
◆ defines WCF service contract
◆ self-storage WCF service
Try it: a simple WCF service and client
(1) create a new WCF service application project Ch45Ex01 under the directory C:BegVCSharp\ Chapter35
(2) add a console application Ch45Ex01Client to the solution.
(3) Click Build Solution option on the Build menu.
(4) right-click Ch45Ex01Client in Solution Explorer and select the Add Service Reference option.
(5) in the Add Service Reference dialog box, click Discover.
(6) start developing the Web server. After loading the information for the WCF service, expand the reference and view its details, as shown in figure 35-2 (the reader's port number may be different from that in this figure).
(7) Click the OK button to add a service reference.
(8) modify the code in Pragram.cs in the Ch45Ex01Client application, as follows:
Thank you for your reading, the above is the content of "WCF service control program case analysis". After the study of this article, I believe you have a deeper understanding of the WCF service control program case analysis, and the specific use needs to be verified by practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.