communication foundation showing plain text / code behind

Posted by Michel on Stack Overflow See other posts from Stack Overflow or by Michel
Published on 2010-05-25T09:55:23Z Indexed on 2010/05/25 10:11 UTC
Read the original article Hit count: 190

Filed under:
|

Hi,

i have a wcf service which runs perfectly on my dev machine (vs2010, target 3.5) but once deployed, it shows me the code behind of the service (actually the plain text of the .svc file) and not the normal service page:

<%@ ServiceHost Language="C#" Debug="true" Service="SilverlightPoc.Web.FinanceData" CodeBehind="FinanceData.svc.cs" %>

Anyone any idea why the .svc file is rendered as plain text and not as wcf service?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wcf