How do you install windows service?

Answer Posted / n.v.s.prasad

I Think,For Installing Windoes Service
i)First Create new Project and in Right Side Expand Visual
C# and select windoes service.
ii)Give name to your service.
iii)Write Your code IN OnStart Event.
iv)Add New Project To Your Solution and select 'setup'
project which is in other project templates
v)and set Project output type to primary output which is in
FileSystem(Service Setup).
vi)Right click Your service Setup in solution Explorer And
click install then your service is install in your system
vii)Go to controlpanel And click Administrtivetools(make
sure u have login as a Administrator (or) you are part of
Administrative Group) and then click services.
viii)Go to your service name and right click it and click
start then your service will run

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about Multi-Language integration?

597


Where do we store our connection string in asp.net application?

524


How do you secure your connection string information?

516


Define web.config in .net?

637


Define page fragment caching?

517






Explain the overview of asp.net?

558


If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?

520


What do you mean by serialize?

547


What is viewstate in asp net with example?

525


What is the difference between web.config and machine.config in ASP.NET?

594


1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5

1757


What is synchronous and Asynchronous post back ?

637


How do you handle server controls?

655


How is session id generated?

453


How does asp.net page work?

523