Re: Workaround with Remoting in CF

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: casey chesnut (casey_at_braSPAMins-N-braSPAMwn.com)
Date: 05/04/04


Date: Tue, 4 May 2004 11:40:42 -0500

web services are typically stateless,
but you can certainly make one stateful.

if you just want to keep a Hashtable around between requests,
then make it static:
static Hashtable ht = new Hashtable();
else you can store it in the Application Cache.
as long as the WS app does not restart,
then your Hashtable will remain in memory.

alot more complicated, but if you want remoting over WS,
then you would want to tweak this:
http://www.codeproject.com/cs/webservices/remotingoverinternet.asp

casey
http://www.brains-N-brawn.com

"Diego F." <diegofr@NOterra.es> wrote in message
news:OPTlZ3cMEHA.624@TK2MSFTNGP11.phx.gbl...
>I know that CF doesn't support .NET Remoting but, does Web Services support
> that?
>
> I need a hash table in memory and clients accesing to it. In Windows Forms
> it can be solved with remoting and singleton mode, but my clients are
> Pocket
> PCs. The problem with WS is that I can't have the table in memory. Could I
> have a kind of service (Windows forms), the web service and the mobile
> clients? The idea is that the clients send objects to the WS and it sends
> them to the service via remoting. Is that possible?
>
> If not, how could I have a table in memory?
>
> Regards,
>
> Diego F.
>
>



Relevant Pages

  • Re: Disadvantages/Cons of web services?
    ... example) or add something you need to change all the clients. ... into XML, which is not always true with remoting. ... >>is if to use WSE or plain IIS web services. ...
    (microsoft.public.dotnet.framework.webservices)
  • Workaround with Remoting in CF
    ... I know that CF doesn't support .NET Remoting but, does Web Services support ... I need a hash table in memory and clients accesing to it. ... The problem with WS is that I can't have the table in memory. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Common Component Deployment Options
    ... The physical deployment of a component is highly dependent on the type ... provides common services and functionality to all clients, ... most cases id suggest using Web Services over .Net Remoting. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Remoting vs Web Services
    ... very important issues.Basically,our clients will be used as POS terminals..we ... Remoting does have a lot of issue and should not be ... > used without careful consideration, but banning them outright from consideration is not a good idea. ... >> go with Web Services. ...
    (microsoft.public.dotnet.distributed_apps)
  • RE: Process Memory Limitation & IIS
    ... distribute the heavy processing components in to separate process/application ... all Web Services are part of single Application Domain. ... To over come the 4GB limitation, we are planning to isolate the heave ... 1.Isolate the heavy processing components which use more memory using .NET ...
    (microsoft.public.dotnet.framework.webservices)