It has been a while since I am thinking to share some WCF service optimization techniques which we can easily implement as part of Service framework and service client side. This article talks about few following important points Client side Service CachingDynamic binding of ServiceObject cachingService instance managementEasy mapping Business objects in XMLThere is nothing new in this article other than I a using c# list objects to cache services and objects from service. This includes an XML file which I believe easy to map objects and its types to create Objects at run time using factory pattern. The UML high level design picture shows well about all explained in this article. I am sure we can do some more optimization in this project, but for time being i just want to present few areas where we can improve performance of Service Communication. What is the main time consuming process in WCF Service call?One of the main time consuming process in any service call or any call to the outside application boundary is initiating and opening the connection across the channel, that is what we say connection pooling. In WCF service call we can easily achieve with caching service channels at client side. This article gives you with channel caching and object caching to improve speed. Read more: Codeproject
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment