c# - Use WCF web service from client and server -
i'm trying make use of web services in asp.net application i'm developing; have service running call form client side run ajax queries against database textboxes updated. works treat. using asp.net scriptmanager not jquery ajax or other third party tools.
i need make use of logic in web service elsewhere in application - if page uses client gets posted server (if drop-down changed) lot of calculated values need changed. seems silly duplicate code in code-behind - there way can access existing service calculations?
i've had @ other questions, talk lot soap, rest, endpoints , bindings, , don't understand word of it! general advice or pointer in right direction great.
the simplest solution might factor out pertinent code in web service class library. can reference new class library web server , call methods during post-back.
Comments
Post a Comment