I have some web service , I have there asmx file with the web service’s functions.
Now I need also to open there an worker thread but I don’t see there any entry point like main or something like this .
Any ideas ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Web service doesn’t have any main. Web service is hosted in web server and it is instantiated when a client send a request to call one of its web methods – each request is processed in separate thread out of the box. I also don’t think that custom worker thread in the environment where you don’t have full control over application domain recycling (unless you turn everything off in IIS) is a good idea.