Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2005

Tip: Looking for answers? Try searching our database.

Services in .Net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ken Allen - 06 Jul 2005 14:01 GMT
I have developed a couple of services using C#/.Net, and they work quite
well. But recently I have attempted something new and it is not working
so well.

I noticed that one of the capabilities was to host multiple services
from within the same assemnbly/executable. Since this seemed to fit in
with a new set of related services that I wanted to write, I thought I
would experiment with this. I created the project and got it working (in
 console mode) with one service, and then added three more. Once I had
that working in debug/console mode, I tried it as an actual service.

Even though I added a project installer and an installer for each
service, when I install the service assembly, it notes that all of the
services are successfully installed, but none of them are started! I
have to go into the service manager and start them manually, at which
point they seem to work. Any ideas what I may be doing wrong?

Also, is there any way to have an installed service direct its output to
 a console window? I have not developed services prior to .Net, but
some friends tell me that they have seen older (pre-.Net C++) services
producing output in MFS and console windows. Another person told me that
they have services written in VB6 that have forms displayed as well.

-ken
Ken Allen - 06 Jul 2005 14:06 GMT
> I have developed a couple of services using C#/.Net, and they work quite
> well. But recently I have attempted something new and it is not working
[quoted text clipped - 20 lines]
>
> -ken

One other thing - Even if I start the service(s) manually, I cannot find
a way to attach to them from Visual Studio in order to debug the running
service(s). None of the names of the services show up in the list!

-Ken

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.