Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Im working on a web project with a group. The thing is that they are putting all the functions on a webservice. The webservice is on the same machine of the project, but they say they could use the same webservice for diferent projects on diferent servers. The strange thing is that these function are sometimes too simple, and they use it all the time on every page. I think its completly unnecessary to call a webservice function everytime if you can put all this functions in a class within the project. Wouldnt that be a lot faster? Even if the webservice is on the same machine?

I guess they misundertood the idea behind webservices, right?

 

Thanks.

  • Administrators
Posted

If the webservice is going to be located on a remote machine then every method call will involve a network round trip - this most definately will incur performance overheads.

What kind of functionality is going into this webservice and does it require access to server side resources? If not it may be more sensible to put some of these functions into a DLL that can be shared between the applications.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

Most of the functions doesnt need to access the server, they are most logical functions.

Another question is: If the webservice is on the same machine of the application, will it work on the same speed of a dll?

 

Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...