Connecting Tech Pros Worldwide Forums | Help | Site Map

Comunication: Web Services, Windows Service, ASP.NET Website

Newbie
 
Join Date: Jun 2009
Posts: 1
#1: Jun 16 '09
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

Reply

Tags
asp.net, web services, windows service