468,456 Members | 1,739 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,456 developers. It's quick & easy.

Solution for specific web app functionality needed (scheduling, networking)

Hello,

My ASP.NET application must have additional functionality which isn't
typical for ordinary web use. It is:
- connecting to the other server using specified protocol (an option to
establish dialup connection also)
- scheduling some task to be done at the time (e.g. retrieve info from
other servers)

I've got already this "network interface module" implemented for normal
desktop application (c++) and it's imported to .net using managed c++
wrappers. But the question is if it will be ok if I insert this imported
module as a global object in HttpApplication derived class and use it
from this?

Scheduling - I'm thinking about creating my own scheduling main thread
that will be also the part of HttpApplication. Is it OK?

Maybe it would be better to implement this as separate service (Windows
Service) but I'think there would be problmes in communication
asp.net<->windows serivce and implementing this wold take longer.

Any suggestions would be greatfully appreciated.

Regards,
Mirek

Nov 18 '05 #1
3 1246
You are probably going to want to implement this as a separate service. When
the last open session of a web application dies (after the timeout), then
the application is torn down and ceases to exist until another user
connects.

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"mirek" <mi***@wp.pl> wrote in message
news:ea**************@TK2MSFTNGP12.phx.gbl...
Hello,

My ASP.NET application must have additional functionality which isn't
typical for ordinary web use. It is:
- connecting to the other server using specified protocol (an option to
establish dialup connection also)
- scheduling some task to be done at the time (e.g. retrieve info from
other servers)

I've got already this "network interface module" implemented for normal
desktop application (c++) and it's imported to .net using managed c++
wrappers. But the question is if it will be ok if I insert this imported
module as a global object in HttpApplication derived class and use it
from this?

Scheduling - I'm thinking about creating my own scheduling main thread
that will be also the part of HttpApplication. Is it OK?

Maybe it would be better to implement this as separate service (Windows
Service) but I'think there would be problmes in communication
asp.net<->windows serivce and implementing this wold take longer.

Any suggestions would be greatfully appreciated.

Regards,
Mirek

Nov 18 '05 #2
Chris Jackson wrote:
You are probably going to want to implement this as a separate service. When
the last open session of a web application dies (after the timeout), then
the application is torn down and ceases to exist until another user
connects.


Thanks, I didn't know about it (where can I find a detailed info about
it in MSDN?).
Do you suggest Windows Service? If yes, how to communicate with it from
ASP.NET? I've read about RemoteObjects and it should work but is there a
simpler method?

Regards,
Mirek

Nov 18 '05 #3
Here is a "getting started" article on .NET Remoting:

http://www.devx.com/dotnet/Article/7002
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"mirek" <mi***@wp.pl> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Chris Jackson wrote:
You are probably going to want to implement this as a separate service. When the last open session of a web application dies (after the timeout), then the application is torn down and ceases to exist until another user
connects.


Thanks, I didn't know about it (where can I find a detailed info about
it in MSDN?).
Do you suggest Windows Service? If yes, how to communicate with it from
ASP.NET? I've read about RemoteObjects and it should work but is there a
simpler method?

Regards,
Mirek

Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

34 posts views Thread by Kifah Abbad | last post: by
3 posts views Thread by Eric Caron | last post: by
1 post views Thread by Carl | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by subhajit12345 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.