Page 1 of 1

Weather Banner, but using ASP?

Posted: Fri 21 Apr 2023 1:12 pm
by GreenwoJ
Hi folks,

I keen on seeing current weather banners in forum and email signatures, but they all seem to use PHP. Before I attempt to write my own, does anyone have an old school ASP component that does this already?

Chat soon.

Re: Weather Banner, but using ASP?

Posted: Thu 25 Apr 2024 4:49 am
by grahamrodrigue
GreenwoJ wrote: Fri 21 Apr 2023 1:12 pm Hi folks,

I keen on seeing current weather banners in forum and email signatures, but they all seem to use PHP. Before I attempt to write my own, does anyone have an old school ASP component that does this already? Doglikesbest

Chat soon.
Hello,

Creating a weather banner using ASP (Active Server Pages) is definitely possible. While I couldn’t find a ready-made ASP component specifically for weather banners, you can use ASP.NET Core Web API to fetch current weather data from services like OpenWeather and display it on your forum or email signatures.

Here’s a high-level approach to creating a weather banner using ASP.NET:

Get an API Key: Sign up for an API key from a weather service provider like OpenWeather.
Create a Weather Controller: Use ASP.NET Core to create a controller that will handle the API calls to the weather service.
Fetch Weather Data: Make HTTP requests to the weather service API using the API key and retrieve the current weather data.
Render the Banner: Use the fetched data to render a weather banner dynamically on your forum or email signature.

Re: Weather Banner, but using ASP?

Posted: Thu 25 Apr 2024 7:10 am
by HansR
grahamrodrigue wrote: Thu 25 Apr 2024 4:49 am
GreenwoJ wrote: Fri 21 Apr 2023 1:12 pm Hi folks,

I keen on seeing current weather banners in forum and email signatures, but they all seem to use PHP. Before I attempt to write my own, does anyone have an old school ASP component that does this already?

Chat soon.
Hello,

Creating a weather banner using ASP (Active Server Pages) is definitely possible. While I couldn’t find a ready-made ASP component specifically for weather banners, you can use ASP.NET Core Web API to fetch current weather data from services like OpenWeather and display it on your forum or email signatures.

Here’s a high-level approach to creating a weather banner using ASP.NET:

Get an API Key: Sign up for an API key from a weather service provider like OpenWeather.
Create a Weather Controller: Use ASP.NET Core to create a controller that will handle the API calls to the weather service.
Fetch Weather Data: Make HTTP requests to the weather service API using the API key and retrieve the current weather data.
Render the Banner: Use the fetched data to render a weather banner dynamically on your forum or email signature.
I don't get this.
Why use something like OpenWeather (or any other service like that) if you ca use the CMX data.
This is a CMX forum isn't it? And the data on OpenWeather most likely comes from CMX and if not, what are you doing here?

You don't need any service - wanting your data - you just need CMX. It is already there filling up all the other services.
This is not an external services advertising forum. This is about CMX.