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 diff. Between abstract class and an interface?
When should I use server transfer and response redirect?
What is route in web api?
if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....
Whats the difference between abstract factory pattern and factory pattern?
What is the difference between debug and release?
What is the difference between abstract class vs interface? Can give me the real time examples?
What is the state management in asp.net?
How can you apply a theme to your asp.net application?
What is new asp.net core?
Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?
Is viewstate enabled by default?
What is the part of url?
What is the size of Get method and how much data it can store?
What are sessions in asp net?