Last post Sep 13, 2010 10:06 AM by ersharadjain
Sep 10, 2010 11:40 AM|ersharadjain|LINK
I wanna embed the windows service in the web application. I have seen few posts in the web. where they generate separate exe for the windows service and use it as an installable.
The same process i tried doing it but it threw an OS error in my server which is windows 2000 and didnt supported the executable.
However the website of mine runs fine in the same server. Thus i was thinking if i cd embed the same code in the web application.
Also, in my case the website of mine takes job for simulation. These jobs are taken for simulation execution and nearly takes 12hrs for completion and if they are not completed within twelve hours then they are supplied extra twelve hours to complete the
The simulation executables are a series of executable and bat files.
The results of the simulation gets updated in the tables of MySql and hence are displayed to the user.
Please let me know as how shd i go abt it.
Windows Service in Web Application
Sep 10, 2010 04:51 PM|toas1|LINK
there are other ways to solve this kinda problem then to fire up a service from within your web application. Having a service doing your jobs is a good approach but i suggest you install it on a separeate machine and setup a comunication channel off some
kind between your web application and your service.
Sep 13, 2010 10:06 AM|ersharadjain|LINK
I guess maintaining a communication between service and the web applicaion wd b little difficult.
Thus, is there any way where I cd actually write a piece of C sharp code which actually doesnt utilizes the page load function and gets triggered automatically based on the certain events from a given page, in a manner that the process runs in the background.
I donno what i wanted is an actual procedure or not, but I do believe that by doing so I can minimize my efforts.
Thanks and Best Regards,