Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

About build provider

Posted on 2011-09-23
3
Medium Priority
?
293 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

604 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