c# - Communication between a Client -> WCF Service -> ASP.NET Webpage -
c# - Communication between a Client -> WCF Service -> ASP.NET Webpage -
i seek build client sends info wcf service. there asp.net webpage should recieve info , set them in textfields etc.
here method in client:
outlookpluginservice.bookingrequest breq = new outlookclient.outlookpluginservice.bookingrequest(); breq.subject = "this subject"; breq.numparticipants = 6; client.getbookingurl("1234", breq);
this method sends info wcf webservice , recieves asp.net url.
this wcf method:
public string getbookingurl(string guid, bookingrequest request,string token,string exiturl) { bookingrequest breq = new bookingrequest(); httpcontext current = httpcontext.current; string baseurl = current.request.url.scheme + "://" + current.request.url.authority + current.request.applicationpath.trimend('/') + '/' + "webpage/booking/bbooking.aspx"; homecoming baseurl; }
i can access info here dont know how transfer info asp.net webpage.
is possible solve problem sessions?
thanks in advance help/ideas
you have 2 options;
1) may utilize pooling, makes calls related service in predetermined time intervals fetch newly added data.
or
2) may utilize pull - force construction enables force info wcf service asp.net application. refer how implement push-pull web application in c# asp.net
c# asp.net wcf web-services visual-studio-2008
Comments
Post a Comment