When you create a web-centric WCF service, you will find your project contains a specific file with a
*.svc file extension. This particular file is required for any WCF service hosted by IIS; it describes
I N T R O D U C I N G W I N D O W S C O M M U N I C AT I O N F O U N D AT I O N
the name and location of the service implementation within the install point. Because we have
changed the names of our starter files and WCF types, we must now update the contents of the
Service.svc file as so:
<%@ ServiceHost Language="C#" Debug="true"
Service="AutoLotService" CodeBehind="~/App_Code/AutoLotService.cs" %>
Do'stlaringiz bilan baham: