So I only have VWD and therefore can not create a windows service. I found this articlehttp://www.codeproject.com/aspnet/aspnetservice.asp and wanted some feedback on whether this is really a reliable solution or if I'm going to have to fork over the cash and buy Visual Studio Pro. I set this up this past friday, it worked until about 9pm. Monday morning I had to restart IIS to get it going and now on tuesday morning its still working.
I believe you can produce console applications with the Express editions (not VWD, but C# or VB). You can create a console app that does what you want then schedule it using the Windows scheduler to run when you want. You may get a console popping up but it'll disappear as soon as it has run. Result is pretty much the same as using a Windows service. I have a feeling you can also create a Windows service using the .Net SDK, but you'll probably have to do some command line compilation and build the installer in code by hand - not sure though, never tried it myself.
Hi jhoop2002,
jhoop2002:
So I only have VWD and therefore can not create a windows service.
thats right, but with Visual C# or VB you can. There is no template to create a windows service in the express editions, but that's not really a problem. I now it![]()
jhoop2002:
I found this articlehttp://www.codeproject.com/aspnet/aspnetservice.asp and wanted some feedback on whether this is really a reliable solution or if I'm going to have to fork over the cash and buy Visual Studio Pro.
Very interested article, really. But this have nothing to do with the version of VS youre using. I think the real question is: will you use the ready coded solution from this article, or sit down and create a windows service from ground up. Yes, its a lot of work at the first time. But keep in mind, you learn a lot while doing this job.
Anyway, only my two cents.
Well, I'm a network admin thats had a programmers hat thrown on him, so I would much rather take the ready coded solution from the article. I guess i was just wondering if its reliable enough.
jhoop2002:
Well, I'm a network admin thats had a programmers hat thrown on him, so I would much rather take the ready coded solution from the article.
... self-explanatory.
jhoop2002:
I guess i was just wondering if its reliable enough.
but remeber, all the different jobs are hostet by the IIS, who's running as a service. So when IIS crashs, all the jobs are crashed also. A windows service is running in its own context and so a windows service is really more reliable.
If you think this solution is reliable enough for you, so go this way.
Sorry, double post.
Sorry, double post.
Sorry, double post.
0 comments:
Post a Comment