windows services

  • Thread starter Thread starter cs
  • Start date Start date
C

cs

I noticed there is some .net services on my winxp. One or two mention the
CLR. Does that mean that my .net apps/services wont run before those
services start?
I need to run my service as early on as possible, it doesnt even need to be
a service if there is a way to run .net apps before that, anyone knows what
or where?
 
cs,

What services are you talking about? I don't notice any services that
are started up on my machine as a result of .NET. Can you elaborate?
 
on the registry, under services
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
there is .NET CLR Data and .NET CLR Networking and .NETFramework
there is also a couple for ASP.NET
What I dont know is if those are services or what, and if my c# service can
run before them? regardless of that I need to know whats the earliest I can
run a .net app, whether its a service or not.



Nicholas Paldino said:
cs,

What services are you talking about? I don't notice any services that
are started up on my machine as a result of .NET. Can you elaborate?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

cs said:
I noticed there is some .net services on my winxp. One or two mention the
CLR. Does that mean that my .net apps/services wont run before those
services start?
I need to run my service as early on as possible, it doesnt even need to be
a service if there is a way to run .net apps before that, anyone knows what
or where?
 
cs,

If you look, those are not services, but performance counters. You
shouldn't have to worry about them. If you look at the services section
under computer management, you will notice that those do not appear.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

cs said:
on the registry, under services
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
there is .NET CLR Data and .NET CLR Networking and .NETFramework
there is also a couple for ASP.NET
What I dont know is if those are services or what, and if my c# service can
run before them? regardless of that I need to know whats the earliest I can
run a .net app, whether its a service or not.



message news:[email protected]...
cs,

What services are you talking about? I don't notice any services that
are started up on my machine as a result of .NET. Can you elaborate?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

cs said:
I noticed there is some .net services on my winxp. One or two mention the
CLR. Does that mean that my .net apps/services wont run before those
services start?
I need to run my service as early on as possible, it doesnt even need
to
be
a service if there is a way to run .net apps before that, anyone knows what
or where?
 
thanks thats very useful information (shows how little I know about
services)
I still have the issue that my service is not running early enough. But from
what you said I am guessing my service could be the first one to run if it
had to, as in there is no such .net service that it must wait for?

Nicholas Paldino said:
cs,

If you look, those are not services, but performance counters. You
shouldn't have to worry about them. If you look at the services section
under computer management, you will notice that those do not appear.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

cs said:
on the registry, under services
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
there is .NET CLR Data and .NET CLR Networking and .NETFramework
there is also a couple for ASP.NET
What I dont know is if those are services or what, and if my c# service can
run before them? regardless of that I need to know whats the earliest I can
run a .net app, whether its a service or not.



message news:[email protected]...
cs,

What services are you talking about? I don't notice any services that
are started up on my machine as a result of .NET. Can you elaborate?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

I noticed there is some .net services on my winxp. One or two
mention
the
CLR. Does that mean that my .net apps/services wont run before those
services start?
I need to run my service as early on as possible, it doesnt even
need
 
cs,

No, you are right, there is no .NET service it has to wait for.
However, depending on the components in your application, you might have to
wait for other services. For example, if you are accessing a SQL server
database on the same machine, then you need to make sure that the SQL server
service starts up first.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

cs said:
thanks thats very useful information (shows how little I know about
services)
I still have the issue that my service is not running early enough. But from
what you said I am guessing my service could be the first one to run if it
had to, as in there is no such .net service that it must wait for?

message news:%[email protected]...
cs,

If you look, those are not services, but performance counters. You
shouldn't have to worry about them. If you look at the services section
under computer management, you will notice that those do not appear.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

cs said:
on the registry, under services
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
there is .NET CLR Data and .NET CLR Networking and .NETFramework
there is also a couple for ASP.NET
What I dont know is if those are services or what, and if my c#
service
can
run before them? regardless of that I need to know whats the earliest
I
can
run a .net app, whether its a service or not.



"Nicholas Paldino [.NET/C# MVP]" <[email protected]>
wrote
in
message cs,

What services are you talking about? I don't notice any
services
that
are started up on my machine as a result of .NET. Can you elaborate?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

I noticed there is some .net services on my winxp. One or two mention
the
CLR. Does that mean that my .net apps/services wont run before those
services start?
I need to run my service as early on as possible, it doesnt even
need
to
be
a service if there is a way to run .net apps before that, anyone knows
what
or where?
 
yeah, the only thing my app is doing is modifying a registry key but this
has to be done before the key is read and that key appears to be read way
way early on the chain, maybe even before the services are run.


Nicholas Paldino said:
cs,

No, you are right, there is no .NET service it has to wait for.
However, depending on the components in your application, you might have to
wait for other services. For example, if you are accessing a SQL server
database on the same machine, then you need to make sure that the SQL server
service starts up first.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

cs said:
thanks thats very useful information (shows how little I know about
services)
I still have the issue that my service is not running early enough. But from
what you said I am guessing my service could be the first one to run if it
had to, as in there is no such .net service that it must wait for?

message news:%[email protected]...
cs,

If you look, those are not services, but performance counters. You
shouldn't have to worry about them. If you look at the services section
under computer management, you will notice that those do not appear.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

on the registry, under services
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
there is .NET CLR Data and .NET CLR Networking and .NETFramework
there is also a couple for ASP.NET
What I dont know is if those are services or what, and if my c# service
can
run before them? regardless of that I need to know whats the
earliest
I
can
run a .net app, whether its a service or not.



in
message cs,

What services are you talking about? I don't notice any services
that
are started up on my machine as a result of .NET. Can you elaborate?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

I noticed there is some .net services on my winxp. One or two mention
the
CLR. Does that mean that my .net apps/services wont run before those
services start?
I need to run my service as early on as possible, it doesnt even need
to
be
a service if there is a way to run .net apps before that, anyone knows
what
or where?
 
Back
Top