Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9
This is the forum to discuss the Wrox book Professional ASP.NET 3.5: In C# and VB by Bill Evjen, Scott Hanselman, Devin Rader; ISBN: 9780470187579
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 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 Display Modes
  #1 (permalink)  
Old February 1st, 2011, 10:58 PM
dlaub1
Guest
 
Posts: n/a
Default How to instantiate dynamic class - Chapter 1

The book example for chapter one has an example of creating a dynamic car (CarBuildProvider.car)/EvjenCar. The download code does not show an example of actually instantiating EvjenCar and I can see no magic way to do this - the compiler complains (correctly?) that the type doesn't exist. Can anyone help?
  #2 (permalink)  
Old February 2nd, 2011, 06:06 PM
dlaub1
Guest
 
Posts: n/a
Default Workaround/Solution

By moving the CarProvider code out of the App_Code dir and into a separate Class library project - and then moving the created dll in the Bin directory, all is well.
 


Thread Tools
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
Instantiate a view Class dotnetDeveloper ASP.NET 3.5 Basics 0 July 29th, 2010 09:00 PM
dynamic compilation of class based on xsd vhrao .NET Framework 3.5 0 July 7th, 2008 03:53 PM
SQL in C# class vs. Dynamic Stored Procedure holf BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 October 26th, 2006 06:45 PM
dynamic class/object access tonyedmo C++ Programming 2 April 16th, 2005 03:07 PM
How to create a class instance dynamic??? ffbalota C# 0 September 21st, 2003 04:49 PM



All times are GMT -4. The time now is 06:31 PM.


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