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
What is scope of an application variable in asp.net?
What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
Describe the application event handlers in ASP.NET?
how to include timer or counting time to display next page in asp.net
What is asp net_sessionid?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
Explain diff between dataset and datareader?
Is it possible to apply themes to an asp.net application? If yes, then how?
What is the difference between CC and BCC?
What is a postback in asp net?
What is the maximum timeout we can set for Cookies?
What is mvc in angular?
Explain how do you deploy your asp.net application?
What are the benefits of Razor View?
What are the contents of cookie?