如何更快地使用Web服务进行开放式winform

如何更快地使用Web服务进行开放式winform

本文介绍了如何更快地使用Web服务进行开放式winform的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。



我正在维护一个拥有许多客户端的系统,以便在服务器上使用Web服务。我们的程序是winform应用程序,其中一些Web服务对象以多种形式声明,因为我们在服务器上处理了重要的操作。每个winform程序都包含一个主窗体和数十个子窗体,其中Web服务对象被声明为窗体级对象。



问题是当Web服务对象是不仅声明,而且在表格开头初始化,表格的开头将是如此缓慢。如何批准创建胜利表格的表现?

Hello.

I am maintaining a system with many clients to use web services on a server. Our programs are winform applications with some web service objects declared in many forms because we made the important operations to be processed on the server. Each winform program contains a main form and tens of child forms with web service objects declared as form-level objects in them.

The problem is when the web service objects are not only declared, but also initialized at the opening of the form, the opening of the form will be so slow. How can I approve the performance the win form creation?

推荐答案


这篇关于如何更快地使用Web服务进行开放式winform的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 22:04