ASP.net Intro
ASP.net Intro
Net
Classic ASP
ASP.NET Web Forms
ASP.NET MVC
ASP.NET Web Pages
ASP.NET API
ASP.NET Core
ASP.NET
ASP.NET was released in 2002 as a successor to Classic ASP.
ASP.NET pages have the extension .aspx and are normally written in C# (C
sharp).
ASP.NET 4.6 is the latest official version of ASP.NET.
ASP.NET 5 was expected to be an important redesign of ASP.NET.
However, the development of ASP.NET 5 was stopped in favor of ASP.NET
Core.
What is Asp.net
Asp.net is a web framework designed and developed by Microsoft. It is used to develop
dynamic responsive websites, web applications for PC, as well as mobile devices, and
web services. It provides fantastic integration of HTML, CSS and JavaScript. It was first
released in January 2002. It is built on the Common Language Runtime (CLR) and
allows programmers to write code using any supported .NET language.
ASP.NET is a part of Microsoft .NET Framework.
13
LNMI-Visual Programming-Introduction of .Net
14
LNMI-Visual Programming-Introduction of .Net
Below are the few more concepts that we need to know and understand as part of
this .Net framework.
3. Common Type System (CTS)
It describes set of data types that can be used in different .Net languages in
common. (i.e), CTS ensures that objects written in different .Net languages can
interact with each other.
For Communicating between programs written in any .NET complaint language,
the types have to be compatible on the basic level.
The common type system supports two general categories of types:
Value types:
Value types directly contain their data, and instances of value types are either
allocated on the stack or allocated inline in a structure. Value types can be built-in
(implemented by the runtime), user-defined, or enumerations.
Reference types:
Reference types store a reference to the value's memory address, and are allocated
on the heap. Reference types can be self-describing types, pointer types, or
interface types. The type of a reference type can be determined from values of self-
describing types. Self-describing types are further split into arrays and class types.
The class types are user-defined classes, boxed value types, and delegates.
4. Common Language Specification (CLS)
It is a sub set of CTS and it specifies a set of rules that needs to be adhered or
satisfied by all language compilers targeting CLR. It helps in cross language
inheritance and cross language debugging.
Common language specification Rules:
It describes the minimal and complete set of features to produce code that can be
hosted by CLR. It ensures that products of compilers will work properly in .NET
environment. Sample Rules:
a. Representation of text strings
b. Internal representation of enumerations
c. Definition of static members and this is a subset of the CTS which all
.NET languages are expected to support.
d. Microsoft has defined CLS which are nothing but guidelines that
language to follow so that it can communicate with other .NET
languages in a seamless manner.
5. Windows Forms : Windows Forms contain the graphical representation
of any window displayed in the application.
6. ADO.NET: ADO.NET provides a bridge between the front end controls
and the back end database. The ADO.NET objects encapsulate all the data
access operations and the controls interact with these objects to display
data, thus hiding the details of movement of data.
15
LNMI-Visual Programming-Introduction of .Net
16
LNMI-Visual Programming-Introduction of .Net
17