473,322 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

ASP as Windows Service that control by ASP and share Datatable?

I wonder what the best way to run Service, and be able to Interact
with him, and show the DataTable from Service. the first way is: build
Service project, and Interact with him by remoting, and use with
serialized ability to share DataTable. or build ASP app, and start new
thread from Application_Start that become as Service. then we have
ability to share DataTable between the Web thread, and Service thread.
this second way is possible?
the Application_Start is triger when first request come? or when IIS
startup? or have another way to force to start the Web App when the
windows boot?

May 8 '07 #1
3 1028
Hello mt******@yahoo.com,
I wonder what the best way to run Service, and be able to Interact
with him, and show the DataTable from Service. the first way is: build
Service project, and Interact with him by remoting, and use with
serialized ability to share DataTable.
good way
or build ASP app, and start new
thread from Application_Start that become as Service. then we have
ability to share DataTable between the Web thread, and Service thread.
this second way is possible?
The first is more natural
What's wrong with the first approach?
the Application_Start is triger when first request come? or when IIS
startup?
When the first request comes
or have another way to force to start the Web App when the
windows boot?
no, by standard means

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
May 8 '07 #2
The first is more natural
What's wrong with the first approach?
I Read somewhere thet serialized of DataTable have poor performance?
And also I see many App and appliance that gives control over his
Service by WebPages. So according your answer, if I want to do that. i
need to:
+build Service
+build remoting
+use with this remoting for ASP application.

So I wonder why not have shorted way to build Service withoute GUI,
but it's share ASP application that give GUI by browser, like many
appliance.
May 8 '07 #3
Hello mt******@yahoo.com,
I Read somewhere thet serialized of DataTable have poor performance?
yep, and for the asp.net it's fat for memory consuming.
But as I understand this is not the issue on the current moment
And also I see many App and appliance that gives control over his
Service by WebPages. So according your answer, if I want to do that. i
need to:
+build Service
I think it's your case
+build remoting
+use with this remoting for ASP application.
i'd recomed to avoid remoting
So I wonder why not have shorted way to build Service withoute GUI,
but it's share ASP application that give GUI by browser, like many
appliance.
GUI from the service?
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
May 9 '07 #4

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

Similar topics

3
by: Bonj | last post by:
I need to write a windows service, and the only way it can access a shared drive on a file server on the network is if the installer is put in "User" mode - "LocalService", "LocalSystem" and...
3
by: Steve Amey | last post by:
Hi all Is it possible to retrieve data from a Windows Service? Let's say I have a service that contains code in the OnStart method that creates a DataSet, from a client application I'm using a...
0
by: savajx1 | last post by:
I am loading signed assemblies from a network share. The assemblies are NOT INSTALLED in the GAC as they are part of an enterprise distributed application implemented as a windows service that...
2
by: shalskedar | last post by:
I 've created Report in Ms access which contains subform.The field value in the report is retrieved from the subform.When this report is exported,it shows the error as The expression you entered has...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.