473,508 Members | 2,040 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

c# web server with persistent data

I am new to web services and want to expose a C# program
through web services (soap or otherwise) that will have a
service with cached data running on a server that clients
can make requests to without instanciating the (data)
classes locally. I see many examples of using web
services where the server really just handles requests to
point to XML serialized classes that have to be
instanciated locally on the client. This is no good for
me since I will be caching ~200megs of data into datasets
etc. which takes minutes to load. I need to attach the
client to an already running instance of the server. Can
anyone help?

Thanks,

Jeff.
Nov 13 '05 #1
1 4924
Try to use the Cache object provided by the
System.Web.HttpContext.Current.Cache.

U can cache your data there.
However, if u want to access your data from another object running on a
remote server , u can use
remoting. U can then create a remote object that will handle the data
management u want.
Expose it as a singleton, so as to be stateful, from your host but be
careful in the leaselife time expirations.
Then cofigure your web service app as a remoting client to the server u have
built.
However the memory amount u need is very big (200 MBs) and unless u can take
use of a big server I think that u should not
keep all this amount of data in memory, but rather keep them in the database
and try to fine tune your logic in loading
all these data.
If these data come as a result of a complex long time taking algorithm, try
to keep these results in the database by serializing
into it your pre processed datasets and then provide your clients with
these.

I hope it helps

"Jeff" <j.*******@comcast.net> wrote in message
news:06****************************@phx.gbl...
I am new to web services and want to expose a C# program
through web services (soap or otherwise) that will have a
service with cached data running on a server that clients
can make requests to without instanciating the (data)
classes locally. I see many examples of using web
services where the server really just handles requests to
point to XML serialized classes that have to be
instanciated locally on the client. This is no good for
me since I will be caching ~200megs of data into datasets
etc. which takes minutes to load. I need to attach the
client to an already running instance of the server. Can
anyone help?

Thanks,

Jeff.

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2909
by: Manjesh Gowda | last post by:
Hi all, I am maintaing a persistent HTTP connection using the "HTTP CONNECT" method , this works fine for many proxies like Squid, ISA , etc. But the iPlanet proxy disconnects the conneciton...
16
3288
by: Paul Rubin | last post by:
I've had this recurring half-baked desire for long enough that I thought I'd post about it, even though I don't have any concrete proposals and the whole idea is fraught with hazards. Basically...
7
5300
by: Sidd | last post by:
Hi, I tried finding and example of multithreaded client-serve program in python. Can any one please tell me how to write a multithreaded client-server programn in python such that 1.It can handle...
0
1853
by: Kepler | last post by:
I'm testing very basic FormsAuthentication and having trouble with non-persistent cookies. Once authenticated with a non-persistent cookie, if I leave the browser alone for 30 minutes,...
9
4702
by: gdonald | last post by:
Hi Wonder if anyone can help me. I am running an access 2000 application with the backend on a server running windows 2003 and a seperate front end on each users machine. When i designed it,...
6
3351
by: GD | last post by:
Hi All, I've got MySQL 5.0.21 running on Windows Server 2003, and php running on Apache on a Linux box (Fedora Core 4). Previously when the pages were running on an IIS server the connection...
21
4651
by: lesperancer | last post by:
I've got an access97 reporting mdb that pulls data (77,000 rows) from a sql server table into a local table to run reports if the local table is part of the reporting MDB, the insert statement...
10
6135
by: gary0gilbert | last post by:
An unusual spin to this recurring disk or network error in a Terminal Server environment. Access 2000, Terminal Server 2000, file server is windows 2000. All users have a separate copy of the...
5
2655
by: Trapulo | last post by:
Hello, I'm developing an asp.net application that is connected to a remote system using WCF (wshttp binding). So I want to use a local cache to manage data that I receive from remote service. ...
0
7226
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7125
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7328
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7049
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1561
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.