Re: What is .Net?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Richard Grimes [MVP] (read)
Date: 10/12/04


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/


Relevant Pages

  • Re: Browse Folder
    ... yes it is on the server side. ... Technology: ASP.NET 2.0 ... Language: C#.NET 2.0 ... I am trying to browse folders through the following piece of code. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Function.
    ... Explanation of the Recent "Strange Craft" Sightings ... I worked with a lot of the technology that is clearly at work ... "language" and diagrams seen on the underside of each craft. ... My Experience with the CARET Program and Extra-terrestrial ...
    (sci.skeptic)
  • Re: There has to be a better way to develop web applications.
    ... one manager still feels VB is not a programmers language, ... learn every tom dick and harry language, standard, and platform so you can ... > the context being discussed all of the arguements are on technology and not ... > on how to use the technology to increase productivity and to provide value to ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Exchange03, Exchange2000, OL03
    ... The new server is not in the old domain. ... I am using a technology ... So with two names established we are able to refer to them ... One way for this failure to occur would be that the services installed after ...
    (microsoft.public.exchange.setup)
  • Re: OT: windoze woes and full rant mode is on
    ... effort to designing and building. ... facilities for cross browser testing for many years. ... I'm waiting on technology to produce better tools so I can ... If I embed an ActiveX control on my web server, ...
    (comp.lang.cobol)