<%@ ServiceHost Language="C#" Debug="true" Service="FirstWcfService.Service1"%>
Im hosting my service at WAS using SVC file:
But as you can see it doesnt have CodeBehind Attrbiute as it should. and its working.
How is that ?
http://msdn.microsoft.com/en-us/library/aa967286.aspx
The service class is compiled into one of the referenced assemblies. The service used is FirstWcfService.Service1
as defined in the svc file:
Service="FirstWcfService.Service1"
CodeBehind only matters to the tooling (Visual Studio). It doesn't matter at runtime, where the system will only look at what types are declared and used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With