Creating a Custom BuildProvider in ASP.NET 2.0
page 2 of 6
by Bilal Haidar
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 51467/ 142

BuildProviders in ASP.NET 2.0

ASP.NET 2.0 Web Applications use the BuildPrrovider objects to generate source code for the different file types that exist in the application.  What happens is for each file type a different BuildProvider is built and the different properties, methods, fields, etc. for each file type is accessible within the Visual Studio 2005 IDE.

ASP.NET 2.0 includes a set of built-in BuildProviders, for example:




With the use of the above providers, you as a developer are able, while working inside the Visual Studio 2005, to access the different properties, methods, etc. at design time in the code-behind or code-inline of a Web Form or UserControl.

Have you ever asked yourself how does Visual Studio, when you add a usercontrol into a page, know all the properties and methods of that usercontrol? Well, BuildProviders are used to do all the work for you! Moreover, BuildProviders are used by the “aspnet_compile.exe” utility to generate the pre-compiled version of a web application as said in this blog post: ASP.NET 2.0 BuildProviders.

For more information on BuildProviders check the MSDN Documentation at: BuildProvider Class.

View Entire Article

User Comments

Title: DAL build provider   
Name: deepak nalwaysa
Date: 2010-12-13 11:38:11 PM
very nicce aticle and i read alwas article
Title: DAL Build Providers   
Name: Thomsen
Date: 2009-11-17 2:59:36 AM
Here an example of how you can create DAL with ASP.NET Build Providers:



Title: Excellent   
Name: shahfein Khan
Date: 2008-09-01 10:26:46 AM
each and every point is covered very neatly.
Title: About BuildProvide   
Name: Mike Klok
Date: 2008-06-18 5:00:18 AM
Hi very good article
Title: About BuildProvide   
Name: tonyduan
Date: 2008-04-20 11:30:29 PM
Your writing is very very pretty.
i have a question,where can find the cs file be generated,and can i place the class in a cs file i appointed?
Title: About BuildProvide   
Name: manish
Date: 2007-01-23 6:04:50 AM
Hi, This is very good article.

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2023  |  Page Processed at 2023-03-26 5:52:21 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search