Does the Svc file work without code?
1 answer
The service class is compiled into one of the reference assemblies. The FirstWcfService.Service1
service FirstWcfService.Service1
, as defined in the svc file:
Service="FirstWcfService.Service1"
CodeBehind is only relevant for toolkits (Visual Studio). It does not matter at runtime when the system will only see what types are declared and used.
+7