Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Professional ASP.NET 4.5 in C# and VB by Jason N. Gaylord, Christian Wenz, Pranav Rastogi, Todd Miranda, Scott Hanselman; ISBN: 978-1-1183-1182-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 28th, 2013, 10:04 AM
Registered User
Points: 15, Level: 1
Points: 15, Level: 1 Points: 15, Level: 1 Points: 15, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Build Providers

I was having a play with the book's C# download code relating to build providers pages 87-93, chapter 3.

I have it all working fine however one thing is puzzling me. When I create my own solution and add a custom build provider in a class library, as described in the book, I find I need to add a reference to the class library. Now that is what I would expect, and it all works fine when I do so. What is a mystery to me is that the book's download code appears not to need this reference to work.

Furthermore, when a new class library is added to the book's download code and defines a new build provider, then a reference is needed for that new build provider to work while the original car build provider continues to works happily without one. I wonder if someone can tell me how the CarBuildProvider is being referenced and how that technique can be similarly applied to a new build provider class library.

Thank you.
Reply With Quote
  #2 (permalink)  
Old September 1st, 2013, 05:06 PM
Authorized User
Points: 175, Level: 3
Points: 175, Level: 3 Points: 175, Level: 3 Points: 175, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2013
Location: St.Petersburg, Russia
Posts: 36
Thanks: 1
Thanked 4 Times in 4 Posts

May be I did not get your question completely, but it looks like it is in web.config:

   <add extension=".car" type="CarBuildProvider.Car"/>
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Providers arun_babu_a BOOK: Beginning Visual C# 2010 1 November 1st, 2011 11:55 PM
Microsoft Access Providers to Replace the Built-In SQL Server Providers turben_1 ASP.NET 2.0 Basics 1 March 14th, 2010 05:57 AM
Providers!!! dpkbahuguna Beginning VB 6 0 July 2nd, 2007 07:17 AM
Personalization Providers AGS BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 December 3rd, 2005 08:44 AM
Custom Providers bmains ASP.NET 2.0 Basics 1 September 15th, 2004 12:30 PM

All times are GMT -4. The time now is 08:21 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.