By default a .SVC file contains Debug=”true”, I was wondering if this is ignored if you compile for release or is it still compiled with debug symbols?
Ex.
<%@ ServiceHost Language="C#" Debug="true" Service="WebPages.Interfaces.example" CodeBehind="example.svc.cs" Factory="System.ServiceModel.Activation.WebServiceHostFactory" %>
Debug=trueattribute in@ServiceHostdirective only apply, if you are writing your service as inline code in .svc file, or implementing service in “App_Code” folder. (It won’t apply if already compiled into assembly and placed it into \bin directory.)