Create and store in a file of chosen format the information on the weather for at least three cities, for 14 consecutive days:
temperature
clouds
wind (speed and directon)
Create a XML Web Service at the address: http://localhost/task6/DLS/DLService.asmx
methods:
GetForecastInfo
returns the information on stored data
cities for which there is a forecast
the start and end dates of the evaluated period
GetForecast
returns the weather forecast for a given date
cities names
the forecast for a given day for all these cities
make sure that the exceptional situations (e.g. there is no data for this day) are properly handled
the numbers and types of parameters as well as the type of the result are arbitrary
use the data stored locally
Create an ASP.NET application which contains a page at the address: http://localhost/task6/DLT/DLTest.aspx
the page contains:
a dropdown box with options: "by date range" and "by town"
if the "by date range" option is selected
an edit control (or calendar control) for giving the date
a table (with a appropriate description) showing the weather forecasts for each town altogether, for the date provided
if the "by town" option is selected
an edit control (or calendar control) for giving start date
a dropdown box containing options: 3 days, 5 days, one week
a dropdown box containing a name of the town
a table (with a appropriate description) showing the weather forecast for the selected town, for the period starting with the start date, and ending up after the given period
weather statistics: average temperature, average wind speed
a button for refreshing the table
as the data source, use the functions from the created service
CAUTION: if the addresses of the Web Site and Web Service are different than these provided above,
only the "potential usability" of the code will be marked