使用asp.net C#MVC显示用户在我们网站上输入的任何城市的天气信息的代码。 [英] Code for displaying weather information of any city entered by user on our website using asp.net C# MVC.

查看:73
本文介绍了使用asp.net C#MVC显示用户在我们网站上输入的任何城市的天气信息的代码。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用asp.net C#MVC显示用户在我们网站上输入的任何城市的天气信息的代码。

Code for displaying weather information of any city entered by user on our website using asp.net C# MVC.

推荐答案

看看这里:http://openweathermap.org/api [ ^ ]。



干杯!
Have a look here: http://openweathermap.org/api[^].

Cheers!


Manfred的解决方案解决了问题的第一部分。关于从Asp.net mvc消费它的第二部分,它与你从Asp.net webforms中消费的方式相同。如果您是Asp.net MVC的新手,请参考以下文章: [ ^ ]
The solution from Manfred solves the first part of the problem. The second part about consuming it from Asp.net mvc, it is same as how you consume from Asp.net webforms. Just in case you are new to Asp.net MVC, please refer this article : An Absolute Beginner's Tutorial on ASP.NET MVC for Web Forms Developers[^]


这篇关于使用asp.net C#MVC显示用户在我们网站上输入的任何城市的天气信息的代码。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆