CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2000
    Location
    Maryland
    Posts
    181

    Very confused about ASP .NET & VB .NET

    I am trying to ditch ColdFusion as my main web app builder. I am starting to look at the Visual Studio .NET framework (concentrating on ASP .NET and Visual Basic .NET). I am getting a little confused though and here is my question.

    Can I build a web app using only VB .Net (no ASP .NET at all) or only ASP .NET (no VB .NET at all)?
    If I can combine them (ASP .NET and VB .NET) can I do development in the Visual Studio .NET IDE? It looks like one has to choose one of them.


    I am asking because, I have not yet a chance to read deeper.

    Thanks

  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868
    ASP.NET isn't a language. It's what they call .NET generated internet applications. They can be written in any of the .NET languages. Yes you can do the development in the IDE. Once everything is installed (including IIS, which should be installed before .NET), then choose File... New... Project... Web Application.

  3. #3
    Join Date
    Feb 2000
    Location
    OH - USA
    Posts
    1,892
    Think of it this way...

    ASP.NET is an environment.

    VB.NET, C#, J# is a language.

    You can use any of the languages to make asp.net applications, services, etc..

    When you want to use vb.net to make desktop applications, you would inherit the Windows Form class. (dialog windows if you will)

    When you want to use vb.net to make asp.net pages, you would inherit the Web Form class (web pages).

    Can I build a web app using only VB .Net (no ASP .NET at all) or only ASP .NET (no VB .NET at all)?
    You will notice that when you go to create a new asp.net web application that it is located under the VB.NET (or other languages) root folder. So you use vb.net (or other language) to make an asp.net application, service, etc..

    If I can combine them (ASP .NET and VB .NET) can I do development in the Visual Studio .NET IDE? It looks like one has to choose one of them.
    Yes you can do it all under one roof in the Visual Studio .NET IDE. This is assuming you get the VS.NET Studio >= Professional version and not a single .NET Language IDE.

    If that's confusing, I agree. Maybe someone else can give some better examples.
    Good Luck,
    Craig - CRG IT Solutions - Microsoft Gold Partner

    -My posts after 08/2015 = .NET 4.x and Visual Studio 2015
    -My posts after 11/2011 = .NET 4.x and Visual Studio 2012
    -My posts after 02/2010 = .NET 4.0 and Visual Studio 2010
    -My posts after 12/2007 = .NET 3.5 and Visual Studio 2008
    -My posts after 04/2007 = .NET 3.0 and Visual Studio 2005
    -My posts before 04/2007 = .NET 1.1/2.0

    *I do not follow all threads, so if you have a secondary question, message me.

  4. #4
    Join Date
    Jun 2000
    Location
    Maryland
    Posts
    181
    Thanks folks. What confused me is what I found in the rextbook (ASP .NET Unleashed) that I bought. This book has a lot of HTML tags and other tags such as

    <Script Runat="Server">

    ...

    <asp:Panel ID="pn1Form1" Runat="Server">

    I did not see those kinds of tags during my first tutorial (building a web app) in Visual Studio .NET. All I saw was V/Basic code. Let me see how I can incorporate the sample code with such tags into apps developed in VS .NET.

  5. #5
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868
    How is works is the VB code generates HTLM that get sent to the client browser. Also, when in design view, you can either view the page your working on visually or as HTML... when in HTML mode you can add your own HTML if you want.

  6. #6
    Join Date
    Feb 2003
    Location
    Greece
    Posts
    533

    A related question

    Related to all this, do we need to have installed the whole VS.NET instead of the stand alone VB.NET ? Most of you are referencing to the entire languages suite and makes me wondering if I did a terrible mistake by buying only the VB.NET version.
    - Better live in the digital world -

  7. #7
    Join Date
    Jun 2003
    Location
    Malaysia (P.J)
    Posts
    410
    dtv,

    U can still develop ASP.NET apps without the help of the VS.NET "ASP" IDE. U gotta create a virtual directory manually and then a txt file with ".aspx" and code it
    Back after a long hibernation.

  8. #8
    Join Date
    Nov 2002
    Location
    Tampa, FL
    Posts
    50
    U can still develop ASP.NET apps without the help of the VS.NET "ASP" IDE.
    Though its MUCH easier, and productive to use some sort of IDE.

    Try Borlands C#Builder if you dont like Visual Studio.NET .

  9. #9
    Join Date
    Oct 2003
    Location
    Thorndale, PA
    Posts
    7
    I got started with ASP.NET using WebMatrix, which is available free from HERE Of course you it does not have code behind by default, although you can do it. And it does not have intellisense, which I miss from time to time. But I think it is a good starting place and less confusing than the VS IDE, which I have used for ASP.NET Server control development. Most of my companies intranet, which I wrote, was developed in WebMatrix.

    The price is right, as in free, and combine that with a free download of the .NET Framework SDK and you can be developing .aspx pages for free in no time.

    Greg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured