Solved

About build provider

Posted on 2011-09-23
3
285 Views
Last Modified: 2012-05-12
Hi I am not quite sure about the purpose and meaning of "build provider". Please use the plain language to explain it. Please don't just provide a msdn link, it is not helpful.

My understanding is that build provider is just for intellisense convenience. Right?
0
Comment
Question by:zhshqzyc
  • 2
3 Comments
 
LVL 13

Expert Comment

by:khairil
ID: 36589332
Hi,

In simple words. Build Provider builds code from given XML or other files. Like example you have metadata of a table name Customers and fields define to customer attributte like Name, Age, and also operation that can be done to the table like INSERT, SELECT, UPDATE and DELETE statement. The description of all this is written by VS in plain XML file.

Build Provider than read this file and create code that represent structure of Customer table as properties and operation as method. The code is usually a class in case of database table.  So then you can create instance of Customer class, defined all parameters and call method to save it.

Since in this case Build Provider create a class, Intellisence of VS will pick up that class information and list all the properties and method of the instances of the class when we do programming.

In other words Intellisense not really related to Build Provider. Intellisense just helper for US to reduce typing when creating instances of class build by Build Provider.

Build Provider not just of describing table stucture to class like ORM but also use by compiler to generate code from VS project files.

In most of the time, you should not worry how Build Provider works. Just concentrate on defining the structure of your class, Build Provider will generate code for you and Intellisense will make your life easier.

I hope I have simplified desribing what Build Provider is, in a plain words like you need.

0
 

Author Comment

by:zhshqzyc
ID: 36589748
Thank you so much for so many input. The question what I am confused is that do I need to create my own build provider dll then add it to the web site and modify the web.config file?
0
 
LVL 13

Accepted Solution

by:
khairil earned 250 total points
ID: 36591135
No. You do not need to. MS have use the Build Provider when you build an application.

Personally,I do not think that there is a need for build provider to read web.config, it is handle by .net framework already. Can still can change the web.config to your need but make sure you not broken it.

What you need to concern is create your web application -> take build for the menu & test it. If all OK then take publish command to push your web application to the web server. That all you need, of course it will be different for database project, you need to have database in place before publishing it.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Make an ajax call ithat alters url and updates a listview in asp.net 1 35
Message not shown 5 50
Web site error 3 41
Moving code from one TFS branch to another 3 25
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question