p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning SharePoint 2010 Development (http://p2p.wrox.com/forumdisplay.php?f=583)
-   -   Chapter 10, p382, Custom WCF Service, step 8 (http://p2p.wrox.com/showthread.php?t=85910)

peterkao87 December 5th, 2011 08:31 AM

Chapter 10, p382, Custom WCF Service, step 8
 
Hi, I have a question to edit the tag <system.serviceModel> in a web.config. Based on the book, I copy the code from the Visual Stadio project, then paste them in the one in the IIS. The issues are listed as below:

1. The code from the download source totatly mismatches with the code in the book.
2. I use the SharePointFoundation, and I do not use the root site. When I open the window explorer, it shows a root folder only like
c:\inetpub\wwwroot\wss\VirtualDirectories\80
in this folder, there is a web.config.
3. If I open the IIS manger, I can see the web.config in the subsite level, but I can not edit it.
4. In the code in the book, I copy as below:
<client>
<endpoint address=”http://demo2010a.contoso.com:1122/Service1.svc”
...
Why the element name is called "client".
Please advise. Thanks.
Peter


All times are GMT -4. The time now is 05:26 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.