.NET Answers

ASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest.
Subscribe

Intellisense Everywhere in VB 9 (and a small bug)

November 23, 2007 By: Dave Category: none

One of the features the CSharp guys have had for quite a while is Intellisense everywhere.  Want to create a private variable?  Just start typing private and hit the tab key as soon as the word is highlighted.  This, combined with code snippets have made coding in CSharp a bit faster than coding in VB.

What about the VB guys?

Sorry.  All the VB guys got was the ability to see methods an properties hanging off of their objects.  They have had to type out  the whole word for things like public, private, dim and class. 

Until now.  Watch the following video to see the new Intellisense for VB 2008 in action.

Technorati Tags: ,,

  

del.icio.us Tags: ,,

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Simple Properties in C# 3.5

November 22, 2007 By: Dave Category: none

It’s such a little thing.  But, how much of our CSharp code looks something like this:

    private string _propertyName;     

    public string PropertyName
    {
        get { return _propertyName; }
        set { _propertyName = value; }
    }

(more…)

Multi-Targeting

November 21, 2007 By: Dave Category: none

One of the big new features that have been advertised with Visual Studio 2008 is this thing called Multi-Targeting.  This lets you write code for .NET 2.0 (or 3.0) even though 2008 is written to work with .NET 3.5.  So, the theory is, you can still work on existing projects targeted for .NET 2.0.  Does this work?  Watch the video to find out.

del.icio.us Tags: ,

  

Technorati Tags: ,

Visual Studio 2008 first looks.

November 19, 2007 By: Dave Category: none

And I am talking FIRST looks.

I just got this thing installed and the first windows that comes up when I load VS 2008 is this:

clip_image001

Nice, I won’t have to reset my settings.  While we’re at this screen, those of you who are thinking any but the first option are the options you want to use.  Let me just say right off the bat here, you want “General Development Settings.”

Why, because you want to get all of the IDE available to you.  If you pick one of the others, the IDE will act like one of those environments ONLY.  It will take you maybe a week of steady development to learn the new keystrokes.  So, just do it.

Next, I went to the help system to see what’s new and cool.

clip_image001[11]

Hmmm, guess I have some learning to do.

I’ll be back later with what’s new and cool.

Technorati Tags:

  

del.icio.us Tags:

How to take an ASP.NET application off line . . .

November 07, 2007 By: Dave Category: none

. . . without turning off IIS

Why would you want to do this?

Well, you might have more than one application running under a specific IIS server instance.  Or, maybe you don’t have access to IIS so you can turn it off.  But, you still want to take the application off line so that you can perform maintenance on it.

(more…)