Last post Mar 10, 2015 05:25 AM by demoninside9
Mar 10, 2015 01:30 AM|demoninside9|LINK
One thing I want to know about web-services. If a web-service is having N numbers of methods, so the numbers of method does affect to the performance of web-service?
It is good idea or bad one to use N number of methods in a single service or we should create service for every individual task?
Mar 10, 2015 04:44 AM|AidyF|LINK
Having more web services with fewer methods will be worse for performance than fewer services with more methods. Just group your methods logically so everything to do with "Product" should be in a product service and so on. Or if you don't need too many
methods then you could just have one service that has all the methods you need.
Mar 10, 2015 05:17 AM|demoninside9|LINK
all the methods you need.
Thanks for replying. one more question; the question is how many (maximum) methods a web-service can have? Is there limit?
Mar 10, 2015 05:21 AM|AidyF|LINK
I doubt there is a limit, if there is it'll be thousands.
Mar 10, 2015 05:25 AM|demoninside9|LINK