Wrox Programmer Forums
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 1st, 2011, 11:58 PM
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?
Old February 2nd, 2011, 07:06 PM
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.

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

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.