473,785 Members | 2,307 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1422
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******** ******@TK2MSFTN GP12.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******** ********@TK2MSF TNGP11.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
2268
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 referencing of one project within another. I would like to develop the solution using a modular approach such that the solution will be made up of several smaller projects being referenced by a main application project. Some of these smaller
34
2809
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: 4500003ca92e00002001c96a0a0a0a0b0a0a0a0a08007ca40100cfb76162636465666768696a6b6c6d6e6f7071727374757677616263646566676869 (please go to bottom for code)
3
650
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 order to run this tool. I am logged on as a domain admin on the server. Anyone know the specific
3
4592
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 guarantee a response with in 24 hours anyone remember what information that is? I have an msdn case #: SRX050106605709 Thank you for any help anyone can give,
0
2193
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 there is a button "abc" on toolbar "A" in outlook mail composing window 2) and there is a button "xyz" on toolbar "X" in the same mail composing window 3) on click of button "abc", I would like to generate click of button "xyz" first 4) and then...
1
1363
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 there any (free) custom controls available for this? Tx in advance Carl
0
1199
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 strong VC funding. Job Qualifications:
0
1632
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
2512
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 networking website with a databse. thank you.
0
9489
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10162
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7509
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
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 we have to send another system
3
2893
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.