Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 September 17th, 2007, 03:26 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 143
Thanks: 0
Thanked 1 Time in 1 Post
Default BizObject class - Intellisense?

Hey guys,

Just wondered if any of you get proper IntelliSence while working with the BizObject in the BLL?

Whenever I type BizObject, and hit my . key, all that pops up is Equals and Referenceequals. Just curious to see if that's normal, or whether I missed anything anywhere?

Cheers,

Peter

http://entropia-online.blogspot.com/
__________________
http://entropia-online.blogspot.com/
 
Old September 18th, 2007, 12:47 PM
rav rav is offline
Authorized User
 
Join Date: Feb 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I do get intellisence after the . key. Make sure you have the references system.data, and system.web included and also include the following namespaces in starting of your BizObject class
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.Caching;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Security.Principal;
using MB.TheBeerHouse.DAL;

and write code inside
namespace MB.TheBeerHouse.BAL
{
    public abstract class BizObject
    {
     ........
    }
}

rav

 
Old September 19th, 2007, 01:56 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 143
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Rav,

Hmm, weird. Mine looks the same (Except for the BAL typo bit ;))

http://entropia-online.blogspot.com/
 
Old September 19th, 2007, 02:24 PM
rav rav is offline
Authorized User
 
Join Date: Feb 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Peter:
Do you get intellisence when you included the namespace in BizObject class? I mean when you write using System. and MB. then do you get intellisence? you should get intellisence here otherwise include references in your project to System.dll, .data, .web etc..

Do you have HttpContext, IDictionaryEnumerator, IPrincipal, BizObject ect. turned blue in your class? If they are blue then you should get intellisence.

Check if the intellisence window is checked on your visual studio setting.
rav







Similar Threads
Thread Thread Starter Forum Replies Last Post
Thoughts on BizObject hpox BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 7 June 9th, 2007 07:47 AM
Why is Cache Property used in BizObject ? Scott663 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 March 8th, 2007 10:47 PM
Intellisense for UserControl RNedel ASP.NET 1.0 and 1.1 Basics 6 June 15th, 2004 04:47 AM
Can you give me an example of BizObject content ? dwfresh BOOK: ASP.NET Website Programming Problem-Design-Solution 0 December 19th, 2003 04:10 AM
Purpose of BizObject in Core? SBurton BOOK: ASP.NET Website Programming Problem-Design-Solution 1 August 6th, 2003 07:36 PM





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