I’m developing a Desktop application. I have a button that upon click calls some webservices.
Problem is when there is no connection or on a slow connection the interface becomes unresponsive and it seems as if the application crashed.
Wonder what are the techniques to get around this
You need to investigate multi-threading.
By creating a thread and performing the processing on that you’ll keep the UI responsive.
See this MSDN article for a starting point.