Difference between ASP.net and VB.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Limno
    New Member
    • Apr 2008
    • 92

    Difference between ASP.net and VB.net

    Difference between ASP.net and VB.net. Is it not the same... I feel that in ASP.net we can do our coding using this language VB,C#,etc. Am I right or not.....
    or Both are different. Explain me with some sample code for ASP.net and ASP.net(C#), ASP.net(VB). VB.NET
    Thanks in Advance.
    Last edited by Frinavale; Mar 9 '09, 02:54 PM. Reason: Moved to ASP.NET Answers from .NET
  • nukefusion
    Recognized Expert New Member
    • Mar 2008
    • 221

    #2
    You are fairly correct in your assumption. ASP.NET is the name for the framework; the set of classes that assist you in building websites and web applications. ASP.NET is included in the .NET framework.

    VB.NET is just one of the family of languages you can use to write programs that utilize the ASP.NET framework. You can also use C#, J#, C++, etc.

    As the ASP.NET framework is fairly large posting a random snippet of code that demonstrated the use of one small piece of the framework probably wouldn't help you much. If you'd like to learn more about the syntax of one of these particular languages that can be used when programming with ASP.NET, a search engine could help you out there.

    Comment

    • Limno
      New Member
      • Apr 2008
      • 92

      #3
      Thank u so much,

      So there is nothing like VB.NET. We can code in ASP.NET(VB).

      Regards,
      Limno

      Comment

      • nukefusion
        Recognized Expert New Member
        • Mar 2008
        • 221

        #4
        That's right, VB.NET is not a separate framework. You can program ASP.NET using VB.

        Comment

        • Limno
          New Member
          • Apr 2008
          • 92

          #5
          Thank u.............. ............... ....

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #6
            Limno,

            .NET is a framework that lets you use many different languages to develop applications. Some of these languages include VB.NET, C#, J#.... They all use the objects, controls, and tools provided by the .NET framework in order make your life easier as a developer.

            There are many different types of applications that you can develop using the .NET framework. You can develop web applications, windows desktop applications, web services, class libraries, installation applications... ..and much more. You can use whatever language you want to in order to implement these applications and they will all work together (that's the beauty of .NET).

            ASP.NET is part of the .NET Framework that lets you develop web applications. The code that is executed on the server can be any .NET code (VB.NET, C#, J#....anything) . You use HTML, ASP, and other ASP.NET controls to develop the web pages/forms for your web application....

            What I'm trying to get at here is that ASP.NET is a programming framework for building web-based applications. You can chose any .NET language to implement the server code for the web application. Therefore, there's not really a "difference " between ASP.NET and VB.NET because they work together to provide you with a powerful means to create dynamic web applications.

            Now, if you're asking about where to ask your question: the VB.NET forum or the ASP.NET forum...I would say: ask your ASP.NET question in the ASP.NET forum. The VB.NET forum is dedicated to helping people with developing windows desktop applications using VB.NET....the ASP.NET forum is dedicated to helping people with ASP.NET questions (regardless of whether or not they're using C# or VB.NET to do so).

            I hope this clarifies things.

            -Frinny

            Comment

            • Cybril
              New Member
              • Mar 2009
              • 1

              #7
              Thank you for that detailed response Frinny. I have just taught myself how to program in ASP.Net using both VB.Net and C# and I often wondered when I saw jobs asking for .Net coders if that was me - I guess the answer is yes (if there is no difference between the VB.Net used for web applications (ASP.Net) and the VB.Net version used for desktop applications).

              Comment

              • Frinavale
                Recognized Expert Expert
                • Oct 2006
                • 9749

                #8
                You'll discover, as you work in both environments, that there is a difference between the two.

                Comment

                Working...