Internet technology:
Internet technology is based on following things
1. HTML
2. client side scripting
3. webserver
4. server side scripting
HTML:
it stands for Hyper text markup language. Browser can display info to user with the help of HTML.
Client side scripting [java script]:
The logic executed by browser is called client side scripting. This will reduce burden on web server.
Web server:
Web server is software to manage WebPages, this provides security to WebPages.
Server side scripting:
The logic executed with in web server system is called “server side scripting”. There are different technologies to achieve server side scripting.
Ex: ASP.NET, PHP, JSP.
ASP.NET is very advanced scripting on server.
About HTML:
1.html is a presentation language
2.html is given by w3c (w3c->wwwc->world wide web consortium). W3c is a group which provides all the standards to internet, html is not case sensitive.
3.html provides 2 things they are
1.Tags
2.Entities
Tags: tag will apply formatting to info[text]. Tags are different types they are
Heading tags:
<h1>text</h1>
…….
<h6>……</h6>
Font tag:
<font size=”1to 7” color= “…”>
Text
</font>
Superscript tag:
a<sup>2</sup> ->a^2
subscript tag:
H<sub>2</sub>o ->H2o
Marquee tag: This can be used to scroll text image
Syntax:
Marquee direction=”left [default]
Right
Up
Down”
Scrollamount =”number” text
</marquee>
Xy->xyz(->number of pixels jump)
Scroll amount will specify number of pixels jump to scroll text default is 6 pixels.
Entities:
This can be used to display special charcters
&Reg->R
©->c
Structure of webpage:
<html>
<head>
<meta….>
<script…>
<link…>
</head>
<body>
…..
</body>
</html>
Head tag will contain information required for internal purpose
Ex:meta tag can be used to instruct browser for refreshing webpage at regular interval. Body tag will contain information to be displayed to user.
Creating aboutus webpage to display peers profile:
Go to notepad:
<html>
<body>
<marquee direction =”right” scrollamount=”4”>
<font size=”6” color=”red”>
Peers introduces OLT
</font>
</marquee>
<br>(new line)
<h2>
Peers<sup>®:</sup>
Is established in the year 1966,it provides training, consultancy,…
</h2>
</body>
</html>
Save as aboutus.html[e:\aspnet131]
Goto IE[internet explorer]
Path:
E:\aspnet 131 \aboutus.html
Note: browser is a software with collection of services [like html interpreter, xml parser, scripting language interpreters]
Once webpage is placed with in internet domain[xyz.com…]. it will be accessible to all the users throughout world.
Visual C#.Net 4.0:
VC# .Net is the product of Microsoft corporation. Microsoft introduced .Net technologies in 1999.
.Net is collection of languages.
.Net contains VC#.Net, VC++.Net, VF#.Net, VJ#.Net and also a specification called as ASP.Net etc…
All the .Net programming languages and ASP.NET works on a common platform called as .Net framework
.NET framework main objectives
1.supports platform independent
2.language independent
3.supports language interoperability integration
4.supports pure oops concepts.
5.supports to develop stand-alone applications
6.client-server technologies, 3-tier& N-tier architectutes and web applications(asp.net), supports to develop background processes with help of windows services
7.supports to develop distributed program with the help .Net remoting supports to develop database programming with the help of ADO.net(active data objects multithreaded programming and LINQ concepts etc. WPF programming for developing animations windows presentation foundation).
Machine language(Native code)
The copied Test.exe file into Linux does not works, EXE file contains the code in the format of machine language it is also called native code. Machine language instruction set varies(changes) from OS to OS. This behavior is called as platform dependent.
Platform independent:
As .DLL and >EXE files works in any operating system with the help of CLR, Hence .Net is called as platform independent
.EXE ….EXE cutable
.DLL….Dynamic link library
CLR… common language runtime
CLR software is used to convert BYTE code into machine language(native code). NET exe and dll files contains the code in the format of bytecode. This bytecode is also called as MSIL (Microsoft intermediate language). .Net is platform independent but CLR software is platform dependent.
Either.NET is pure platform independent or not ?
.Net is partially platform independent. As of now there is no CLR software introduced for DOS and win95. .Net applications are not executable in DOS and win95 operating system.
Language independent:
As application logic in .NET can be developed with the help of any .NET framework compatiable languages, Hence .NET is called as languages independent. Microsoft planning to support 40 languages into .Net Framework out of which as of now 23 languages are introduced and also one specification is introduced.
Ex:VC#.Net, VFC#.Net, VJ#.Net, VB.Net,VC++.Net(Managed C++), PHP.Net, Phython.Net, smallTalk.Net, cobol.Net, Perl.Net, Jscript.Net….etc. And a specification called as ASP.Net.
1.C#.Net is case sensitive
2.VB.Net is not case sensitive
3.ASP.Net case sensitive depends on integrated language.