I think I got the web.config right but I'd want to know how to add the service reference or the web service itself on the aspx page so my script could access it.
here's what I did but it doesn't work:
<%@ ServiceHost Language=C# Service="WebService" CodeBehind="http://urlToMyService.svc"%>
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>
<asp:ServiceReference
Path="http://urlToMyService.svc"/>
</Services>
</asp:ScriptManager>
I think I need to add the <%@ ServiceHost %>
and <asp:ScriptManager>
but I'd like a clearer example on every parameters I need to include.