窗体设计器提供了设计时服务和一个供开发人员设计窗体的工具。
A forms designer provides design-time services and a facility for developers to design forms.
另外,因为设计时基础结构是在我前面讨论的服务模式之上生成的,所以调试服务可能会成为一个问题。
Additionally, because the design-time infrastructure is built on top of the service pattern I discussed earlier, debugging services can be a problem.
该过程的最后一步是将服务实现挂钩到设计时环境中—在讨论完如何实现设计器宿主之后,我将演示如何进行挂钩。
The final step in the process is to hook the service implementation into the design-time environment, which I'll demonstrate how to do after I discuss how to implement the designer host.
图8显示了实现更为主动的服务计时器将如何提高服务器的服务速率和吞吐量。
Figure 8 shows how implementing a more aggressive service timer improves the service rate and throughput of the server.
服务的设计时策略用于定义和管理服务设计和注册的服务验证和适应性策略。
Design-time policies for services define and manage service validation and conformance policies for service design and registration.
由于是计量服务,SaaS允许出租一个应用程序,并计时收费。
As a metered service, SaaS allows you to lease an application and pay only for the time used.
这种方法将多次比较Web服务处理开销,因为它可以消除网络延时和计时造成的开销。
This approach does a great job of comparing web services processing overhead, because it eliminates the impact of network latencies and overhead from timing results.
例如,您可能在调用内部设计时程序集的行中得到NullReferenceException,而您无法调试该错误,因此您只能纳闷哪个服务在哪个地方失败了。
For example, you may get a NullReferenceException on a line that calls the internal design-time assemblies, which you can't debug, so you're left wondering which service failed where.
所以在设计时请考虑如何处理异步的服务器响应。
Consider at design time how you will deal with asynchronous server responses.
例如,KKEY _ TRB可能是不必要的,因为您的代码并不使用计时器服务。
For example, KKEY_TRB might be unnecessary because your code does not use timer services.
此治理流程可在设计时驱动更好的服务和重用需求。
This governance process drives better requirements to services and reuse at design time.
采用这种方式配置的计时器尽可能等待服务作出响应。
Timers configured in this manner give the service every opportunity to respond.
通常,在设计时,特定的服务使用者会有特定的要求。
Usually, you have specific requirements from specific service consumers at design time.
事实上,主动计时器的一个后果是,可能会终止服务请求并让事务失败,而在其他情况下提供更多的时间就可能会完成这些事务。
In fact, one consequence of the aggressive timer is that it might abort a service request and fail a transaction that otherwise would have completed given more time.
主动型服务调用计时器设置为服务合理的预期响应时间,并对传输延迟予以一定的考虑。
An aggressive service-invocation timer is set to the reasonable expected response time of the service, with some consideration for transient delays.
此问题的解决方案是在同步调用的服务上实现主动调用计时器。
The solution to this problem is to implement aggressive invocation timers on synchronously invoked services.
这要跟SOA治理的需求保持一致;事实上,要想执行标准化的服务,就需要设计时的治理。
This should concur with the need for SOA governance; in fact design-time governance is needed to enforce standardized services.
在实践中,很多计时器都比服务的平均响应时间长得多。
In practice, many timers are set far longer than the average response time of the service.
图7和图 8 中的队列理论模型以量化方式说明了主动计时器可如何提高应用服务器的服务速率(或吞吐量)。
The queuing theory models in Figures 7 and 8 illustrate quantitatively how aggressive timers increase the service rate (or throughput) of the application server.
设计时和运行时都支持服务版本控制吗?
Is service versioning supported both at design time and run time?
设计时的映射结果通常为联合视图,与关系数据库视图类似,可以随后在联合服务器上进行部署或创建。
The result of mapping in design time are typically federated views, similar to relational database views, which then can be deployed or created on the federation server.
模型中的计算结果说明了图8 中的主动计时器可极大地提高应用服务器的总体服务速率和吞吐量。
The model's calculations demonstrate how the aggressive timer in Figure 8 results in a significant improvement of the overall service rate and throughput of the application server.
可以通过结合使用计时器和HTTP实现提供轻量的服务,从而自动地提供文件内容,在修改文件内容时更新返回的数据。
You can combine this with the HTTP implementation to provide a lightweight service to serve up the contents of a file, updating the data returned as the file content is modified.
至于服务注册,设计时和运行时的注册查询是设计问题的一个例子。
Design time versus runtime registry lookup is an example design issue regarding service registries.
新的企业服务仓库,它可在设计时和运行时被使用。
A new Enterprise Services Repository which can be used both at design time and run time.
元数据集中方便了服务发现,因此它关系到其他模式,为了实现模式应用一致性,在设计时就应考虑它。
Metadata Centralization facilitates discovery and therefore relates to other patterns that rely on design-time awareness in order to be consistently applied.
此类反模式是技术先驱在作为SOA活动的一部分对服务进行标识和设计时遇到的反模式。
These are antipatterns encountered while practitioners work on identifying and designing services as part of a SOA initiative.
现在对于Web服务提供者,可以通过他们提供的服务界面来使用这种收入方法,但是这一点必须在设计时就被考虑进去。
Now it is possible for Web services providers to address this revenue method via the service interface they provide, but that is a business consideration that must be made at design time.
最后,我们启动了一个计时器处理程序(如清单6所示)来处理以下场景:Web服务客户机回调处理程序一直没有被调用,这将导致一个超时。
Finally, we start a timer handler, as shown in Listing 6, to handle the scenario where the Web service client callback handler is never called, which will result in a timeout.
短期解决方案2:在服务器调用上实现主动计时器。
Short-term solution 2: implementing aggressive timers on service invocations.
应用推荐