dcsimg
Results 1 to 8 of 8

Thread: What exactly does .NET do

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2018
    Posts
    1

    What exactly does .NET do

    I understand that if I want to use some certain apps. I need to install .NET framework. But what is this .NET. Why is it so powerful that is used in most of the today apps.

  2. #2
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    12,484

    Re: What exactly does .NET do

    Quote Originally Posted by barryalen1992 View Post
    I understand that if I want to use some certain apps. I need to install .NET framework. But what is this .NET. Why is it so powerful that is used in most of the today apps.
    It is basically a huge group of functions that are called by programs that use it. The list is extremely long. It can do many many many different things.

  3. #3
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    100,048

    Re: What exactly does .NET do

    .NET is a platform so it encompasses many components. One of those components is the .NET class library. Just as VB6 has libraries that are not part of your application but are installed once and used by many applications, so the .NET Framework includes numerous DLLs that contain types and members accessible to all .NET applications. For instance, all the controls (Buttons, TextBoxes, Labels, etc) that you might place on a form in a Windows Forms application are defined in the System.Windows.Forms.dll library.

    The .NET Framework also contains the JIT compiler. When you build a .NET project into an EXE, that EXE contains CIL code, which is something like Java bytecode. When you run the app, the JIT compiler actually processes the CIL and generates machine code as required. The Framework also includes other components and the .NET platform more besides, but those are the two main ones that application developers should be aware of.

    .NET is also the developer platform of choice for Microsoft these days. As such, developers looking to use Microsoft tools and technologies will tend to gravitate towards it, unless they feel that they have a reason not to. Such reasons might be that they need to low-level power that C++ offers or that they are already entrenched in VB6 development.

    Speaking of VB6, why is this question posted in the VB6 forum? There are a number of .NET-specific forums on this site. I have asked the mods to move this thread to .NET Architecture & Design.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    1,466

    Re: What exactly does .NET do

    What exactly does .NET do
    It's confusing people........
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    I say you're crazy not to!
    --------------------------------------------------------------------------------------------------
    For health reasons i try to avoid reading unformatted Code

  5. #5
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    100,048

    Re: What exactly does .NET do

    Quote Originally Posted by Zvoni View Post
    It's confusing people........
    A lot of things are confusing if you don't bother to learn about how they work.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    1,466

    Re: What exactly does .NET do

    Quote Originally Posted by jmcilhinney View Post
    A lot of things are confusing if you don't bother to learn about how they work.
    Not what i meant: The OP has questions about .NET, and posts it in VB6

    The most spoken language in the world is Mandarin (=Chinese), but i don't bother to learn it.....
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    I say you're crazy not to!
    --------------------------------------------------------------------------------------------------
    For health reasons i try to avoid reading unformatted Code

  7. #7
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    6,982

    Re: What exactly does .NET do

    Moved to the design and architecture section. Seems like the best fit available.
    You can depend upon the Americans to do the right thing. But only after they have exhausted every other possibility - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  8. #8
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    4,613

    Re: What exactly does .NET do

    I'm certainly no expert on this low-level stuff, but it's my understanding that .NET is a fundamentally different object instantiating architecture from COM. And I assume this is posted here because barryalen1992 is attempting to understand the core low-level differences between .NET and COM.

    There are many articles about these distinctions. However, in broad brushstrokes, as I understand it, when objects are instantiated with COM architecture (VB6, all of the VBAs, etc), the objects have an internal counter for how many external references (i.e., object variables) are using that object. And, when that internal count goes to zero, the object is uninstantiated.

    Now, in .NET, I don't know if there's an internal counter or not, but that's not how it works. Somehow (and I don't know the details of this), these instantiated objects do queries to see if anyone is still using them. And, if there's no reply to the query, after some period of time, they uninstantiate themselves. I know I've simplified too much, and I'm sure others will probably outline this in more details. Also, the approach taken by .NET is often called "managed" whereas the COM approach is called "unmanaged". I've got no idea why COM objects would be considered unmanaged, but that's the way Microsoft promoted things.

    Maybe That'll Help,
    Elroy
    Any software I post in these forums written by me is provided “AS IS” without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. Please understand that I’ve been programming since the mid-1970s and still have some of that code. My contemporary VB6 project is approaching 1,000 modules. In addition, I have a “VB6 random code folder” that is overflowing. I’ve been at this long enough to truly not know with absolute certainty from whence every single line of my code has come, with much of it coming from programmers under my employ who signed intellectual property transfers. I have not deliberately attempted to remove any licenses and/or attributions from any software. If someone finds that I have inadvertently done so, I sincerely apologize, and, upon notice and reasonable proof, will re-attach those licenses and/or attributions. To all, peace and happiness.

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width