in Education by
I am currently developing a WCF service in a windows form application. There would be a simple GUI screen with 2 buttons, "Start" and "Stop". Whenever I attempt to start the service, the UI of the application would temporary hangs until it loads finish. Is it possible to add a loading effect to it? And how can I do that. Still pretty new in this area. Would welcome any comments! Is there any good tutorials out there that teaches how can I enhance this issue? I have read the MSDN blog tutorial from Rick Rainey Making asynchronous service calls from a WinForm client but it is not really that of a good tutorial. Just to clarify, my WCF service is a publish subscribe framework and I think I do not need to be able to call the operations asynchronously. All I want to know is how do I initiate the connection asynchronously. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Is it possible to add a loading effect to it? And how can I do that. For this you can use duplex service contract. Also, since your application is a subscription application you might want to look into pushing data to your application from the WCF service. Here's a nice example and although it's for Silverlight I think it might be useful to you: http://weblogs.asp.net/dwahlin/archive/2008/06/16/pushing-data-to-a-silverlight-client-with-wcf-duplex-service-part-i.aspx

Related questions

0 votes
    I have a simple WCF service that I'm exposing using a .svc. The service has some related DataContract ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    Which of the following can be defined as a family of activities for enhancing security by identifying objectives and ... of the options (3)Dynamic Analysis (4)Static Analysis...
asked May 19, 2021 in Technology by JackTerrance
0 votes
    I have a WCF service which is called in 4 different places in my system. It returns approx 500 ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 18, 2022 in Education by JackTerrance
0 votes
    Im calling a locally hosted wcf service from silverlight and I get the exception below. Iv created a ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 22, 2022 in Education by JackTerrance
0 votes
    Im calling a locally hosted wcf service from silverlight and I get the exception below. Iv created a ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 19, 2022 in Education by JackTerrance
0 votes
    What are the differences between ASP.NET Web Service and WCF?...
asked Jul 26, 2021 in Technology by JackTerrance
0 votes
    How to host a WCF service in IIS?...
asked Jul 26, 2021 in Technology by JackTerrance
0 votes
    What are the main components of WCF Service?...
asked Jul 26, 2021 in Technology by JackTerrance
0 votes
    How many ways we can host a WCF service?...
asked Jul 26, 2021 in Technology by JackTerrance
0 votes
    What is REST and how to create a WCF RESTful Service ?...
asked Apr 2, 2021 in Education by JackTerrance
0 votes
    What is a Service Proxy in WCF?...
asked Apr 2, 2021 in Education by JackTerrance
0 votes
    How do we host a WCF service in IIS?...
asked Apr 2, 2021 in Education by JackTerrance
0 votes
    What are the main components of WCF Service?...
asked Apr 2, 2021 in Education by JackTerrance
0 votes
    What are the possible ways of hosting a WCF service?...
asked Apr 2, 2021 in Education by JackTerrance
...