AdRotator - Course ASP.NET 4 and Visual Studio 2010 - Lesson 22 | .net courses
In this video, we are going to talk about the AdRotator in ASP.Net. We use this control to display advertisements on our web sites.
You didn't like the quality of this content?
Would you like to comment what you didn't like?
Duration: 20 minutes
Summary: In this video, we are going to talk about the AdRotator in ASP.Net control. We use this control to display advertisements on our web sites. The ads could be coming from the database or an XML file. In this case we are using an XML file. There are two things that we need to do: (1) create the page with the AdRotator control on it (2) create the XML file that contains the actual ads. When creating the XML file, we need to add special keywords that ASP.NET can understand. Some of these keywords are: ImageUrl, Width, Height, NavigateUrl, AlternateText, Impressions, and Keyword. Most of these are self-explanatory, but keyword is used because you might need to display ads in different sections of the page. Every section can be associated with a keyword (the other alternative would be to create a separate XML file for every section). Impression means how often you would want a specific ad to show in comparison with the other ads. The higher the number, the more the ad will show. There is no specific boundary for the number. ASP.NET would know the percentage when it adds up all the impressions for a specific keyword (or the whole file if there is no keyword). And last but not least we drop the AdRotator controls on the page (one in the top and one in the bottom). For each control we specify the advertisement file and the keyword filter.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: ASP.NET and Visual Studio 2010
Keyword: AdRotator in ASP.Net, ASP.NET 4, Visual Studio 2010, AdRotator, AdvertisementFile, KeywordFilter, ImageUrl, Width, Height, NavigateUrl, AlternateText, Impressions, Keyword.
[+1 year ago] Answer it
Thanks for the warning. The problem was resolved.
[+1 year ago] Answer it
It doesn't seem resolved to me ... I can't see it at all. Other videos are fine.
[yesterday] Answer it
Hello David, can you please tell us where the video stops for you ?
[today] Answer it