Hello,
I would like to develop a:
- Windows Service for doing specific Tasks
- Web Service as a communication gateway between the Windows Service and a ASP.NET Website
- ASP.NET Website
The scenario:
A user clicks a button on a ASP.NET website to get some forecast. The button invokes a web service method i.e. GetForecast(). Now the web method calls a task method on the Windows Service. Finally the windows service returns a result object to the web service method, which passes the result to the website.
My questions:
1. Should I add two projects (Windows Service and Web Service) into one VS solution and reference the Web Service to the Windows Service? VS 2008 doesn't allow this :(
2. If both projects are in one solution, does the installed Windows Service enables automatically the Web Service, or do I have to publish it by myself?
3. Could I also invoke methods in a async fashion? (long running operations)
4. Is there any other way I could go to control my app with Web Services? Does my solution makes sense?
Kind Regards,
Jakub
I would like to develop a:
- Windows Service for doing specific Tasks
- Web Service as a communication gateway between the Windows Service and a ASP.NET Website
- ASP.NET Website
The scenario:
A user clicks a button on a ASP.NET website to get some forecast. The button invokes a web service method i.e. GetForecast(). Now the web method calls a task method on the Windows Service. Finally the windows service returns a result object to the web service method, which passes the result to the website.
My questions:
1. Should I add two projects (Windows Service and Web Service) into one VS solution and reference the Web Service to the Windows Service? VS 2008 doesn't allow this :(
2. If both projects are in one solution, does the installed Windows Service enables automatically the Web Service, or do I have to publish it by myself?
3. Could I also invoke methods in a async fashion? (long running operations)
4. Is there any other way I could go to control my app with Web Services? Does my solution makes sense?
Kind Regards,
Jakub