Re: What is .Net?
From: Richard Grimes [MVP] (read)
Date: 10/12/04
- Next message: Jared: "What programming language"
- Previous message: Richard Grimes [MVP]: "Re: the word ".Net""
- In reply to: Peter: "What is .Net?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 12 Oct 2004 17:08:57 +0100
Peter wrote:
> I am new to .Net. I heard the names (VS.Net, ASP.NET, Framework.Net
> etc) for years. Somebody said .Net is server side technology.
No, there are some server side technologies, but .NET has client side
technologies too (for example Windows Forms).
> Today I went to Mircosoft VB.NET 2004 World Tour seminar. The
> speakers just taught about how to use VS.Net to build applications.
> It seems VS.Net is just like advance version of VB or VBA. Please
> correct me if I am wrong.
For me, the most important thing about .NET is security. It introduces a
whole new paradigm which assigns permission for what code can do based on
evidence which can be the source of the code or its identity. What's more,
the permissions are not just restricted to one piece of code - when a
permission demand is made a stack walk occurs so that all code in the stack
is checked to see if it has the required permission. It is a very powerful
facility.
.NET can do this because it *manages* the stack and the heap, and all access
to memory is bounds checked so .NET code is not subject to buffer overruns!
The next most important thing is that all .NET code is compiled to
*intermediate language*. It is this IL that is stored in DLLs, and it is
largely irrelevant which language (C#, VB.NET or managed C++) is used to
create the IL. The code is self describing with what is known as metadata.
This means that compilers can check the actual library to see what
parameters a method takes rather than forcing you to decide (as is the case
with VB's Declare or C++'s use of header files). This means that a library
produced by one language can be used by any other .NET language (assuming
that the library has followed .NET rules known as the CLS).
The next most important thing about .NET is the framework library. This is a
library that contains new functionality as well as wrappers for much of the
Win32 API. This means that any .NET code can call just about any Win32
without having to worry about writing 'plumbing' code like Declare
statements or COM.
> Nowadays, VB.NET or VS.NET (even Access
> VBA) are all web enabled. Do we still need ASP.NET or Java etc?
Web enabled? All this means in VS.NET is that you can access a web site to
store your web project. ASP.NET is the technology to write a HTTP based web
application, and it also has the facilities for writing a Web Service.
Richard
-- .NET training, development, consulting and mentoring my email evpuneqt@zicf.bet is encrypted with ROT13 (www.rot13.org) sign up for my free .NET newsletter at http://www.wd-mag.com/newsletters/
- Next message: Jared: "What programming language"
- Previous message: Richard Grimes [MVP]: "Re: the word ".Net""
- In reply to: Peter: "What is .Net?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|