ASP.NET Ad Server Management Control
http://www.csharpfriends.com
World's Greatest C# Community    
Home Articles C# Forums Books C# Syntax C# Spec C# Jobs free Source Code Advertise About
 

Control Panel

[ Sign In / register ]
Points   
Notes 
My Forums
My Tutorials
My Profile

Resources

Learn
 Articles
 QuickStarts
 C# Spec
 Whitepapers
 Tools
 Class Browser
 C# Code Generator
 Links
 Misc Rss Feeds
 Code Highlight
 411 Directory
 FREE magazines
 freevb.net

Reviews
  ASP.NET Hosting

Source Code
 Get Version 1.0



C# Consulting
AspDotNetStoreFront
Chapter:   Server Controls
Current Lesson:
ASP.NET Ad Server Management Control
[Latest Content]
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ALL
[prev. Lesson]  Include files [next Lesson]  Application Object
ASP.NET Ad Server Management Control
  by: Salman Ahmed

Ad Rotator: So you want to learn about ad rotation eh?  ASP.NET has a built in banner management system, albiet a fairly simple version.  Banner Management Software can get fairly complex depending on your websites requirements, but for starters the built in ASP.NET Banner Management will suffice until you out grow its limitations.

With .Net's built in controls you can now have your very own banner rotation application without writing any complex code.


<%@ Page language="c#"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <html> <head> <title>adRotator</title> </head> <body> <asp:AdRotator ID="adBannerTop" target="_blank" AdvertisementFile="Banner.xml" Runat="server" /> </body> </html>


The banner rotation control uses a xml based file that contains your banners image and hyperlink information. Below is a sample of what your xml file can look like. We will get into the details of your options in a later tutorial.

<?xml version="1.0" encoding="utf-8" ?>
<Advertisements>
<Ad>
<ImageUrl>images/orcsweb_468x60.gif</ImageUrl>
<NavigateUrl>www.csharpfriends.com</NavigateUrl>
<AlternateText>Try us!</AlternateText>
<Keyword>asp</Keyword>
<Impressions>5</Impressions>
</Ad>
</Advertisements>

Possible Improvements

With most commercial grade banner management software, you will want to expand the built in capability of ad serving with the following features:

- banner uploading
- advertiser information
- campaign management
- reporting
- statistic tracking e.g. impressions, clickthroughs, clickthrough details
etc.

If your looking for a more advanced, professional ad serving software package, I have developed my very own http://www.idealadserver.com .

Happy Programming!


Topic Index Keywords

ASP.NET Ad Management

ASP.NET Ad Server

DotNet Ad Server

DotNet Ad Management

.NET Banner Management


1 


Build Your Own ASP.NET Website Using C# & VB.NET

Chapter:  Server Controls
Current Lesson:
ASP.NET Ad Server Management Control
[Latest Content]
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ALL
[prev. Lesson]  Include files [next Lesson]  Application Object


Today's Top Movers
vulpes 6800
MadHatter 2220
jal 867
Jeff1203 857
muster 791

Yesterday Top Movers
shakti sin.. 9
MadHatter 3
C#fanatic 2
Al_Pennywo.. 2
sksandz 1

Monthly Leaders
vulpes 6800
MadHatter 2260
jal 867
Jeff1203 857
muster 791

Top Members
mosessaur 18457
Rincewind 7074
stanleytan 6995
vulpes 6800
Gsuttie 6046

Great Offers
.net hosting
Go To My Pc
Remote Pc Control
zonealarm
spam blocker
web hosting directory
ad server   C#
snadtech GoToMyPc

Top of Page

Advertise | About | Link To Us | Privacy Notice Copyright © 2003 - 2005 CSharpFriends.com  All Rights Reserved  Visual C# Developer Center