Practical - 01
AIM: Introduction of DotNet Framework and Designing of HTML pages.
DotNet:
DotNet is a framework by which one can do different types of work or we can say that it is a collection of different type of classes. It is used develop web based application, windows based application and console based application.
- Console based Applications are those applications that run on DOS (Disk Operating System). It does not have any graphical interface by which user can interact with system.
- Windows based Applications are the application that installed on a particular system and only from that system we can use that application. It has graphical interface to interact. Ex: MS Word, Calculator etc.
- Web based Applications are the application that installed on a web server and all the users connected with that server can access that application through web browser. Ex: facebook, IRCTC, etc
ASP.NET
What is ASP.Net?
- ASP.Net is a web application framework developed by Microsoft to build dynamic data driven web applications.
- ASP.Net is a subset of .NET Framework.
- ASP stands for Active server Pages.
What are the other technologies can be used to build web applications?
What are the advantages of web applications?
- Web applications just need to be installed only on the web server, where as desktop applications need to be installed on every computer, where you want to access them.
(For example, if we have an organization of 50,000 employee, and all want Microsoft office in their computers than we have to install Microsoft Office in all 50,000 systems which is very complicated and time consuming task, on the other hand in web application we need to install the application in web server only and all the other systems can access the application through the web browser in computer.
- Maintenance, support and patches are easier to provide.
- Only a browser is required on the client machine to access a web application.
- Cross Platform
How Web Application Work (or Architecture of Web Application)?
Web Architecture
Figure 1: Architecture of Web Application.
As shown in above figure, there are some client systems and a web server where we have installed our web applications. IIS is used to host Microsoft web application. If any client want to access the web application, it request for a web application with the help of web browser installed in client system. The HTTP protocol takes that request and passes it to the IIS server through internet. IIS server takes that request and passes it to the desired web application, where request is processed and an HTML output is generated which than pass to IIS and IIS pass the output to the requested client.
- Web application works on client server architecture.
- On client all we need is browser that can understand HTML.
- On the server side, the web application runs under Microsoft Internet Information Services (IIS)
HTML (Hyper text Mark-up Language)
It is a hyper text mark up language to develop web pages. HTML is the language interpreted by a browser. It is not a case sensitive language.
Basic Structure of HTML
<html>
<head>
<title>
Title Content
</title>
</head>
<body>
Body Content
</body>
</html>
HTML Headings
Headings are defined with the <h1> to <h6> tags.
Underline, Bold & Italic Tag
- <u> is for underline.
- <i> is for italic.
- <b> is used to bold the content
Font, Colour & Size
<font color =”--” face = “--” size =””> Text </font>
Image
<img src = “” height = “” width =””/>
Marquee
<marquee direction=””></marquee>
List
<ol type=””>
<li></li>
</ol>
Linking
<a href =””></a>
Prepared By
Piyush Garg,
Asst. Professor,
Department of CSE, CIST
E-mail: piyushgarg1985@yahoo.com