View Single Post
  #1 (permalink)  
Old December 5th, 2011, 08:31 AM
peterkao87 peterkao87 is offline
Registered User
Points: 39, Level: 1
Points: 39, Level: 1 Points: 39, Level: 1 Points: 39, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default 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
Reply With Quote