Skip to main content
Published: July 30 2008, 11:49:00 AMUpdated: September 13 2021, 3:45:45 AM

Why is the .NET SDK slow in executing an API call for the first time?

Summary 

An application that test uses .NET SDK may take longer than expected to make the first call when compared to subsequent calls. This delay is not a function of the SDK, but because of the underlying .NET framework.  The delay occurs for the first time because the Web service proxy uses a serialization assembly, and the serialization assembly is compiled dynamically at runtime. The additional time on the first call occurs because of the compilation of the serialization assembly.  You can find more information on the issue and fix from this Microsoft knowledge base article:
FIX: Web service clients regenerate serialization assemblies every time that the application runs

 

Test update.
 


Additional Info

eBay SDK for .NET

 

How well did this answer your question?
Answers others found helpful