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 May 15th, 2008, 12:08 PM
Registered User
 
Join Date: May 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Class Designer and Object Test Bench

Hi -

Just bought the great new book "Professional ASP.NET 3.5 in C# and VB". I read about some great new features in the editor but can not seem to get to them.

I created a new Class Library project and added a new class with two methods in it. I then right clicked on the class and selected "View Class Diagram". This created a class diagram where the class can be visually designed. This all worked very well and I could add new methods and so on.

Now - here is the interesting part. Your are now supposed to be able to right click on the class box in the diagram and select "Refactor->Extract" to create and interface. You are also supposed to be able to create an on the fly test harness by right clicking the same class box in the diagram and selecting "Create Instance->YourClassName()". This part is really interesting to me - I can't tell you of all the test code I have had to write.

Anyway - neither of these options are available in the popup menu when I right click on the class in the diagram. I have gone through all the Options and Preferences in VS for the editors and projects and websites and can find nothing to turn on these options.

Any help or direction would be GREATLY appreciated.


Thanks,
Jim
 
Old May 15th, 2008, 04:03 PM
Registered User
 
Join Date: May 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If anyone is interested I found the solution here:http://forums.asp.net/p/1261671/2360527.aspx#2360527

Thanks,
Jim
 
Old January 21st, 2009, 05:23 PM
Registered User
 
Join Date: Jan 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Object Test Bench

I tried the solution by James and it does not work. Is anyone else having this problem? Any other ideas? It seems chapter 1 has some problems.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Designer to UI Designer jitesh82 BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 2 April 16th, 2011 01:04 AM
How to add Windows Forms with Class Designer? chobo2 C# 2008 aka C# 3.0 3 September 15th, 2008 11:00 AM
Getting the object name within a class Koeno VB.NET 5 July 15th, 2008 01:52 PM
how to install bench tool in unix mohan.lalapeta Linux 0 March 6th, 2007 02:46 AM
How can I re-use an object created in designer? ivj Visual Studio 2005 4 June 1st, 2006 02:39 PM





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