• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Project 10. Creating a Rotating Ad Syste... > Serving Rotating Banner Ads

Serving Rotating Banner Ads

ASP.NET’s server controls are revolutionary in the sense that you have a lot of functionality built into what have historically been considered client-side tools. Now, buttons and text boxes can execute server-side code through events. This makes development quite a bit easier as you no longer have to deal with repetitive issues, such as controlling the flow of code depending on whether you want different code to run based on a user’s action. Many have compared the new thought process with JavaScript or Windows forms because you must now think in terms of events.

One of these much-touted controls is the ad rotator control. By using a simple XML data source, deployment of this control couldn’t be easier. You begin by creating a new XML document to serve as the ad data store. The definitions in this file dictate which banner ads get shown.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint