?
Solved

About build provider

Posted on 2011-09-23
3
Medium Priority
?
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month8 days, 1 hour left to enroll

765 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