Re: Web service invoking for a server / client app

Tech-Archive recommends: Fix windows errors by optimizing your registry



Jack,

Well, you seem to have a problem. You don't want to place code in your
web service methods themselves, because you want a centralized server to
handle it. At the same time, you don't want to make a call from the web
service to your centralized server.

You have to make a decision to use one or the other.

What you could do is have your service expose methods/objects through
remoting, and then use a cross-process channel on the same machine to access
the service. It should be pretty fast in that case.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Jack" <jack@xxxxxxxxxxx> wrote in message
news:u3Dod0VCGHA.3812@xxxxxxxxxxxxxxxxxxxxxxx
>I want to design a server which performs some business related user
>authentiation, and would like to let the clients invoke it through
>webservice, so my first thinking is using IIS as the web server to host
>webservice, but then how does it interact with my server. Another invoking
>from IIS to my server ? no way, it should be damn slow. The problem is I
>want my server to control many authentiation information, so I don't want
>them to be sparsed put into "every" webservice functions the client will
>invoke, instead a centralized server to do the logic. Can anyone give me
>some solutions for this scenario ?
>
>
>


.



Relevant Pages

  • Re: To CS or not to CS?
    ... You move to a C/S architecture for table sizes>2GB, ... You'll also move more and more off to stored procedures on the server. ... They execute on that centralized server box. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: To CS or not to CS?
    ... I don't think c/s is in the cards for this app. ... > Imagine your server with several hundred users calling stored procs all at ... They execute on that centralized server box. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: My New Computer
    ... myself, and learn how to access his server, just to make it easy to ... there are bandwidth issues to consider. ... Also, a centralized server becomes a target - it houses the music, and ... BitTorrent is a better sharing ...
    (rec.music.gdead)
  • Sending data to a central server with local caching
    ... I have several embedded devices that need to send event logs to a ... centralized server, which may be disconnected from time to time, so ... I understand that the usual case for this behavior is a mail transfer ...
    (comp.arch.embedded)
  • Re: Permission Errors
    ... that means the webservice will running under the impersonate idenitity. ... a domain account so that it can be validated on the win2k server machine. ... |>webservice failed with permission error when perform the file accessing ...
    (microsoft.public.dotnet.general)