The .svc page only show the text value of the .svc file

Your IIS needs to link the .svc extension to the aspnet_isapi.dll. You can this by right click on your v-root from IIS manager. on the virtual directory tab, click on the Configuration button, and you will see the mappings tab, look for the entry with

 .svc with excutable path map to aspnet_isapi.dll on your framework directory