473,387 Members | 1,859 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,387 software developers and data experts.

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 1394
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tim | last post by:
Dear All, I have been working with VB.NET for the last 5 months or so as a solo developer for a small business. I have already started developing the application but have hit a snag with the...
34
by: Kifah Abbad | last post by:
Hi guys, i found a proggie, to convert packets captured (by libpcap) to hex format...to pass them to dnet-application. Now the proggie shows results as following:...
3
by: Eric Caron | last post by:
Hi, I'm trying to install the client side scripts on a server, but I always get the following error: An error has occurred (0x80070005). You must have administrative rights on this machine in...
3
by: Jeff Young | last post by:
I am looking for documentation and sample code to create an outlook like calendar. I need to display 3 views(daily, weakly and monthly). Also msdn told me if I display certain information they...
0
by: effone | last post by:
I have two addins installed in my Outlook 2003, both have their specific functionality, I would like to integrate the functionality of both thru global mouse hooks, here is my senerio 1) Lets say...
1
by: Carl | last post by:
Hello, I'm new to asp.net, previously I've been programming in VB6. I'm looking for the functionality of a "scrollable viewport". Can this be done with the standard controls in asp.net? Or are...
0
by: RigasMinho | last post by:
Description Company Description: Our client company is looking for very talented PHP engineers who can program without using any external tools. The company is a social networking company with...
0
by: RobG | last post by:
On Jun 20, 11:44 am, Jonas Smith <jonas.sm...@yahoo.comwrote: Try the iPhone dev group: <URL: http://groups.google.com.au/group/iphonewebdev > --
3
by: mfaisalwarraich | last post by:
hi everybody, what is the best solution to develop a social networking website like, myspace or orkut? What framework should be used? Which is the easiest and fastest way to build a social...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.