BleepingComputer.com: .Net framework

Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

.Net framework

#1 User is offline   xXAlphaXx 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 765
  • Joined: 15-November 07
  • Gender:Male
  • Location:North Carlona

Posted 22 October 2009 - 12:30 PM

Just starting too learn VB and the book tried to explain what the .Net framework really is. However, they made it seem like it does everything, but it does nothing...

Can some one clarify what it does?
If I am helping you and I do not respond within 24 hours, please send me a PM. :)

#2 User is offline   Billy O'Neal 

  • Bleepin Engineer
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Malware Response Instructor
  • Posts: 10,086
  • Joined: 17-January 08
  • Gender:Male
  • Location:Cleveland, Ohio

Posted 22 October 2009 - 12:33 PM

Your .NET programs are compiled into an intermediate code -- Microsoft Intermediate Language (later renamed Common Intermediate Language). The framework is able to execute that middle language to which your program is compiled.

For more info, see here:
http://en.wikipedia.org/wiki/Common_Language_Infrastructure

The framework provides the Common Language Runtime -> http://en.wikipedia.org/wiki/Common_Language_Runtime

Additionally, the framework comes with a bunch of built in libraries you can use -- crypto, internet access, etc, which are accessible to your Common Language Runtime programs.

Billy3

#3 User is offline   xXAlphaXx 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 765
  • Joined: 15-November 07
  • Gender:Male
  • Location:North Carlona

Posted 22 October 2009 - 12:43 PM

Hmm, not quite sure I get it.

So the .NET frameworks purpose is too process the code into lower level language on its way too basic binary?

If so, then whats the extra libraries like internet access for?

Don't think I'm getting it. =\
If I am helping you and I do not respond within 24 hours, please send me a PM. :)

#4 User is offline   Billy O'Neal 

  • Bleepin Engineer
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Malware Response Instructor
  • Posts: 10,086
  • Joined: 17-January 08
  • Gender:Male
  • Location:Cleveland, Ohio

Posted 22 October 2009 - 01:37 PM

View PostxXAlphaXx, on Oct 22 2009, 01:43 PM, said:

So the .NET frameworks purpose is too process the code into lower level language on its way too basic binary?

Yes. The .NET languages to not compile to machine executable code.

Quote

If so, then whats the extra libraries like internet access for?

They're just there to help the programmer. Much easier than writing everything yourself.

Billy3

#5 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,522
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 22 October 2009 - 01:40 PM

To put it another way,. the .net framework is the layer on which other applications run, whether it be C#, C++, Visual Basic, WPF, ASP, etc. The .net framework takes the different types of codes and compiles them into an app that runs on a Windows system. .Net manages libraries and resources necessary for applications to run. The framework includes libraries that programmers can leverage to write more compact code.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#6 User is offline   xXAlphaXx 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 765
  • Joined: 15-November 07
  • Gender:Male
  • Location:North Carlona

Posted 23 October 2009 - 11:33 AM

So .NET is more like a universal compiler?
If I am helping you and I do not respond within 24 hours, please send me a PM. :)

#7 User is offline   Billy O'Neal 

  • Bleepin Engineer
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Malware Response Instructor
  • Posts: 10,086
  • Joined: 17-January 08
  • Gender:Male
  • Location:Cleveland, Ohio

Posted 23 October 2009 - 12:00 PM

Nope. .NET is a Just-In-Time compiler for CIL. It's not universal -- C# and VB.NET compile down to CIL. .NET then executes it.

Billy3

#8 User is offline   xXAlphaXx 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 765
  • Joined: 15-November 07
  • Gender:Male
  • Location:North Carlona

Posted 23 October 2009 - 06:26 PM

Oooh now I'm sortah starting too get it.
If I am helping you and I do not respond within 24 hours, please send me a PM. :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users