Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <configuration>
- <system.webServer>
- <security>
- <requestFiltering>
- <hiddenSegments>
- <add segment="App_Code"/>
- </hiddenSegments>
- </requestFiltering>
- </security>
- </system.webServer>
- </configuration>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <title></title>
- </head>
- <body>
- @WeatherFunc.Hola()
- </br>
- </br>
- @WeatherFunc.GetCoordinatesAndXML("98052")
- </br>
- </br>
- @WeatherFunc.GetCoordinates("98052")
- </br>
- </br>
- @WeatherFunc.GetWeatherAndXML("47.6801,-122.121")
- </br>
- </br>
- @{
- var temp = WeatherFunc.GetWeather("98052");
- }
- <ol>
- <li>Zip code: @temp.Zip</li>
- <li>High: @temp.MaxTemp</li>
- <li>Low: @temp.MinTemp</li>
- <li>Forecast: @temp.Forecast</li>
- <li>Longitude: @temp.Longitude</li>
- <li>Latitude: @temp.Latitude</li>
- </ol>
- </body>
- </html>
Add Comment
Please, Sign In to add comment