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

How to use a custom expression builder to provide declarative, strongly-typed references to types and members

Rate me:
Please Sign up or sign in to vote.
4.95/5 (18 votes)
3 Feb 2009CPOL8 min read 58.5K   451   40  
This article provides an example of how to implement and use a custom expression builder to extend compile-time support in your ASP.NET pages.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomExpressionBuilderSample", "CustomExpressionBuilderSample\CustomExpressionBuilderSample.csproj", "{7FF2AF64-22BE-4AA0-AB94-F53E20153FC4}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{7FF2AF64-22BE-4AA0-AB94-F53E20153FC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{7FF2AF64-22BE-4AA0-AB94-F53E20153FC4}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{7FF2AF64-22BE-4AA0-AB94-F53E20153FC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{7FF2AF64-22BE-4AA0-AB94-F53E20153FC4}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

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) Octet Finance
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions