Question Windows Service, Web Site and Remoting... A Good Idea?

UncleRonin

Well-known member
Joined
Feb 28, 2006
Messages
230
Location
South Africa
Programming Experience
5-10
I have a Windows Service that contains information I want to use within my Web Site. Now, what is the best way to get information from the Service?

I was originally going to use a flat file and then the Site backend would continuously just read the file and process the information (this information is updated once every second).

Then I remembered back in varsity a couple of years ago one of my lecturers mentioned Remoting (I'm behind in the times I know!). So I figured that instead of using a flat file I would give remoting a shot and use that instead.

Is this a good idea or a bad one?

I would think that while the flat file option is still very fast it is a bit of a waste considering that while my Service modifies it once every second the Site has to read it once every second too and that file is actually unnecessary when compared with Remoting.

The Site and Service run on the same computer.

Seeing as I have NO experience with Remoting other than this one small tutorial I've done I definitely wanna make sure I do the right thing here.
 
Back
Top