开发者

communication foundation showing plain text / code behind

开发者 https://www.devze.com 2023-01-01 10:30 出处:网络
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)

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?


The .svc extension is probably not associated with the aspnet_isapi.dll filter (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll):

alt text http://www.chitech.net/blog/SilverSample1.3/Figure2.jpg

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号