ASP.NET ~ Endpoints using 'UriTemplate' cannot be used with 'System.ServiceModel.Description.WebScriptEnablingBehavior'.

總之.........拿掉web.config一個東西就好了

張搞弄的~~~我也不知道為什麼XD

open web.config

<behavior name="DataAspNetAjaxBehavior">
<enableWebScript/>
</behavior>

to

<behavior name="DataAspNetAjaxBehavior" />

reference
http://blogs.msdn.com/b/justinjsmith/archive/2008/02/15/enablewebscript-uritemplate-and-http-methods.aspx

沒有留言: