ASP.NET and basic terms used in it.
Asp.net - It stands for Active server pages. It is just a technology that run on server and used for web development.Basic Info before studying about ASP.net
.net - In it 45 + languages are supported
# Types of .net
2 Core 2.0
3 .net core
- Framework – Collections of tools, technologies and languages which are communicated on multiple platform. Framework is a platform or program or a software on which .net application runs.
- Core 2.0 – platform [ angular ]
- .net core – It is also a framework. It is license free. It is platform independent. Works on any operating system.
Full Forms and Its Basic meaning
- Asp.net – Active Server Pages
- Java- It uses jit (just in time )
- Jvm – Java virtual machine (support only java)
- Bcl – It stands for Base Class Library.Collection of standard classes or common classes which we can use in .net supportive language
- Dll – dynamic link library (for converting files to run in other projects)
- Clr – common language runtime – It is an environment which manage the execution of the code. It handles the memory management garbage collection or support multiple languages.It supports 45 to 90 languages.
- Garbage Collector (GC) – It destroy the object which are not used or which are ideal and allocate the memory to a new object.
Example-
Xyz x; object saved in stack memory
Xyz x1=new xyz(); object saved in heap memory
Object is destroyed forcefully in heap memory by destroyer or GC.
When memory is insufficient the GC will see which object is ideal and then destroy it.
ARCHITECHTURE OF FRAMEWORK
ASP.NET BCL WIN.APP
WEB APP
CLR
OS
Version of framework
Version
|
VS version in year
|
.net
framework 1.0
|
(2000)
testing version
|
.net
framework 1.1
|
(2003)
apr 2003 launched. Ist version
|
.net
framework 2.0
|
(2005)
|
.net
framework 3.0
|
For
window vista
|
.net
framework 3.5
|
(2008)
|
.net
framework 4.0
|
(2010)
|
.net
framework 4.5
|
(2012)
|
.net
framework 4.5.1
|
(2015)
|
.net
framework 4.6
|
(2017)
|
Language supported in framework
.net
framework 1.0
|
VB.NET,
C#.NET, J SCRIPT, VC#.NET (Support 19 languages)
|
.net
framework 2.0-3.5
|
J#.NET
|
.net
framework 4.0-4.6
|
F#.NET
|
Version of .net core [ All are Platform independent ]
- .net core 1.0,.net core 1.1,.net core 2.0,.net core 2.1,.net core 2.2
Versions of Asp.net
- ASP.NET 1.1
- ASP.NET 2.0
- ASP.NET 3.5
- ASP.NET 4.0
- ASP.NET 4.5
- ASP.NET 5.0
#server to client
Ftp – file transfer protocol
*Msil – Microsoft intermediated
language – Compile code be in form of .exe or .dll file extension.
*Jit - just in time – it is also a compiler used for
compiling msil and make native code.
#Types of JIT
- PRE-JIT
- ECNO-JIT
- NORMAL-JIT
#WEB SERVERS
- IIS (Internet Info Server)
- ASP.NET DEVELOPMENT SERVER
- KESTREL (Non-Microsoft OS)
* Asp.net Development servers
automatically install with VS
# How to Add web pages in VS-2017
Website> Add New item>
Webform
#Two extensions for every webpage
- .ASPX---GUI (Graphical User Interface)
- .ASPX.VB/CS------Code file
# Code Behind Technique – VS technique
#Markup language has Angular
Bracket < >
#IN-LINE CODE
- .ASPX---Code, GUI
- Html used for GUI
*Single class is inherited at a time in VB, C# also Java but can be multi level.
{} when these bracket are used , that is namespace
#Inherts System.Web.UI.Page
System- Name space , Web- Name space , UI- Name space , Page- Class
*Name space- Collection of classes. It may be nested
*System is the root name space of Microsoft
*Event Always fire and Methods is always called
#Protected Sub Page_Load
Page_Load is an event which automatically fires at page load
#Two Parameters in Asp.net
- One parameter is just to pass the reference
- Second parameter is to manage event data
* Method may be function or event
# ToolBox is used for to create GUI
-
Properties is to use for store and retrieve data
-
Properties maybe read only
-
Properties maybe write only
-
In properties , we can apply validations
-
Full control of developer on properties
Whereas
in variable there is no control of developer
#
Label
-
Submit
-
Button (Three buttons of submit in Vb.Net
-
Link Button
-
Push Button
-
Image Button
-
Protect Sub Page_Load
#Is Post back – It is read only
properties
- To Check the page request, - Gets
value that indicates whether page is being rendered for first time or loaded
again. If it is false then it means its first request. If it is True then it
means it next request.
No comments:
Post a Comment