Click here to Skip to main content
15,884,298 members
Articles / Web Development / ASP.NET

Building a Better ASP.NET 1.1 BasePage Framework

Rate me:
Please Sign up or sign in to vote.
4.52/5 (27 votes)
5 Dec 2005CPOL35 min read 125K   2.1K   156  
This is a journey on how to build a better Base page. The result of this will be a reusable framework that you can use to create as many Base pages as you like (on many different sites) and still have something that will keep the designers on your team happy.
using System;

namespace BasePageFramework.Attributes
{
	public class SmartSessionVariableNameAttribute : System.Attribute
	{
		private string _sessionVariableName = string.Empty;
		
		public SmartSessionVariableNameAttribute(string sessionVarName)
		{
			this._sessionVariableName = sessionVarName;
		}
		
		public string VarName
		{
			get{return _sessionVariableName;}
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Priority Courier Experts
United States United States
software developer for about 25 years now.

Comments and Discussions