Please publish your control at http://www.CodePlex.Com
That way you readily publish:
The control
Sample code
Documentation
Also it helps if you make clear what licence you are publishing your code under. I recommend LGPL.
Click "Mark as Answer" on the post that helped you.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
OK, I have removed download from my site and I will publish it to codeplex today.
Good idea! If your control suddenly becomes very popular then, Codeplex can handle all the traffic and it will not count against any monthly download limit on your site.
Have you decided on a licence yet?
When you publish it, please specify which version of Visual Studio you used and which version of the framework you targetted.
Click "Mark as Answer" on the post that helped you.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
A thought for the future; I suggest you provide code in both VB.NET and C#.
Click "Mark as Answer" on the post that helped you.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
For future releases, I would suggest that you use Zip instead of RAR to pack up the files as Windows XP and above can unpack it without additional software being installed.
Click "Mark as Answer" on the post that helped you.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
ManicStudio
Member
30 Points
29 Posts
ASP.net Weather Control
Jan 21, 2010 11:09 AM|LINK
Hi,
I have crated simple asp.net weather control that shows current weather conditions for given location. You can see examples here:
To use this control follow these steps:
http://manicweather.codeplex.com/
http://manicweather.codeplex.com/
http://xoap.weather.com/search/search?where=new york
Here is a sample code:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="Manic.Services.Test.CurrentConditions" %> <%@ Register Assembly="Manic.Services.Weather" Namespace="Manic.Services.Weather.Controls" TagPrefix="manic" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Test</title> </head> <body> <form id="frmMain" runat="server"> <div class="weather-frame"> <manic:CurrentConditions ID="mcc1" runat="server" Location="USNY0996" PartnerID="XXX" Key="XXX" Units="Metric" IconFolder="../Icons" MoonIconType="Gif" CssClass="weather-box" /> </div> </form> </body> </html>Here is a sample css:
/*Weather container*/ .weather-frame { border: solid 1px #999; width: 230px; overflow: hidden; } /*Weather control*/ .weather-box { width: 220px; background-color: #FFF !important; padding: 5px; font-family: Verdana, Sans-Serif; font-size: 11px; } .weather-location { background-color: #F0F0F0; padding: 0.25em; font-weight: bold; text-align: center; } .weather-icon { float: left; text-align: center; width: 110px; } .weather-icon img { width: 93px; height: 93px; } .weather-main-content { float: left; text-align: center; width: 110px; padding: 15px 0; } .weather-temperature { text-align: center; font-size: 2.5em; } .weather-description { text-align: center; font-weight: bold; } .weather-detail-content { } .weather-detail-label { text-align: left; width: 50%; } .weather-detail-data { text-align: right; width: 50%; } .weather-detail-data-row td { background-color: #F9F9F9; padding: 0.25em; line-height: 1.5em; } .weather-detail-data-altrow td { background-color: #F3F3F3; padding: 0.25em; line-height: 1.5em; } .weather-separator { clear: both; } .weather-presure-icon { vertical-align: middle; } .weather-uvindex-icon { vertical-align: middle; } .weather-moon { float: left; margin-top: 5px; padding: 2px; border: solid 1px #CCC; background-color: #F6F6F6; width: 152px; } .weather-moon-icon { } .weather-moon-icon img { width: 52px; height: 52px; } .weather-moon-data { padding: 5px; } .weather-channel { float: right; margin-top: 5px; padding: 3px; width: 52px; } .weather-updatetime { background-color: #F3F3F3; padding: 0.25em; font-size: 0.8em; margin-top: 5px; text-align: center; } .weather-error { background-color: #FF0000; padding: 5px; color: #FFF; }custom control weather service
marking
Member
45 Points
81 Posts
Re: ASP.net Weather Control
Jan 21, 2010 02:43 PM|LINK
Location="USNYXXXX"
ManicStudio
Member
30 Points
29 Posts
Re: ASP.net Weather Control
Jan 21, 2010 03:49 PM|LINK
I have added new control to library for forecast. You can see example here:
http://services.4ants.ba/weather/samples/forecast/
Here is the sample code:
Length property refers to number of days to show. Default is 3.
Here is the sample css:
http://services.4ants.ba/weather/samples/app_themes/standard/style.css
TATWORTH
All-Star
72415 Points
14017 Posts
MVP
Re: ASP.net Weather Control
Jan 24, 2010 09:24 AM|LINK
Please publish your control at http://www.CodePlex.Com
That way you readily publish:
Also it helps if you make clear what licence you are publishing your code under. I recommend LGPL.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
ManicStudio
Member
30 Points
29 Posts
Re: ASP.net Weather Control
Jan 24, 2010 10:27 AM|LINK
OK, I have removed download from my site and I will publish it to codeplex today.
TATWORTH
All-Star
72415 Points
14017 Posts
MVP
Re: ASP.net Weather Control
Jan 24, 2010 10:43 AM|LINK
Good idea! If your control suddenly becomes very popular then, Codeplex can handle all the traffic and it will not count against any monthly download limit on your site.
Have you decided on a licence yet?
When you publish it, please specify which version of Visual Studio you used and which version of the framework you targetted.
Have a look at my flagship project http://commondata.codeplex.com, for some of the detail that can be shown.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
TATWORTH
All-Star
72415 Points
14017 Posts
MVP
Re: ASP.net Weather Control
Jan 24, 2010 11:25 AM|LINK
A thought for the future; I suggest you provide code in both VB.NET and C#.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
ManicStudio
Member
30 Points
29 Posts
Re: ASP.net Weather Control
Jan 24, 2010 12:00 PM|LINK
Ok, here it is:
http://manicweather.codeplex.com/
I will polish my source code in the future releases. Please test my control and report any problems that you encounter.
TATWORTH
All-Star
72415 Points
14017 Posts
MVP
Re: ASP.net Weather Control
Jan 24, 2010 12:49 PM|LINK
Excellent!
For future releases, I would suggest that you use Zip instead of RAR to pack up the files as Windows XP and above can unpack it without additional software being installed.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
ManicStudio
Member
30 Points
29 Posts
Re: ASP.net Weather Control
Jan 24, 2010 01:44 PM|LINK
I will. Thanks.