SlideShare a Scribd company logo
1 of 34
1
FIRST PAGES OF HTML –ASP-ASP.NET
LAB WORK GUIDE
A Programme Under the compumitra Series
"This web design tutorial has taught me more than a College
Course."
-Pete Kessler
2
OUTLINE
First HTML Page (Using HTML)
First ASP Page (Using ASP)
First ASP.NET Page (Using VB)
First ASP.NET Page (Using C#)
3
My First html page
4
Go to Start button, Open
Start menu, select
Notepad From
accessories
If you are unable to find
the notepad program
here try the method
explained on the next
slide.
First HTML Page: Creation in Notepad
5
Go to start button.
Open run window.
Type Notepad
and click OK.
Open the notepad program
using the Run Method.
First HTML Page: Creation in Notepad Method 2
6
Type the code given here
In the notepad program and
save the file as hello.html in the
path
C:learner<student id>hello
The path given here is
for your guidance. With
the permission of
system administrator
You may choose other
path of your choice.
First HTML Page: Code Typing
7
Open the source code file created
by you by entering the full path in
the address bar
- OR -
just double click on the filename
in windows explorer.
An HTML file can also be
opened directly in the
browser as it is required to
be interpreted by the
browser. No server level
conversion of code is
required.
First HTML Page: HTML Execution
8
Try changing the code by replacing <h1> with <h4>
and see the effect.
IS THE TEXT SIZE NOW DIFFERENT AS
COMPARED TO <h1> TAG.
Try writing the tags in Upper case such as <HTML>,
<H1> etc.
IS HTML CASE SENSITIVE.
Try creating a junk tag of yourself for e.g. add <h9>
somewhere in the body.
DOES HTML IGNORE JUNK TAGS.
First HTML Page: Modification Trials
9
My First ASP page
10
Type this code in the
notepad and save this file
as hello.asp in the path
c:learner<student id>hello
First ASP Page: Typing in Notepad
11
First ASP Page: Preparation to Publish-1
 An active page is required to be published before execution.
 The server converts the active page content to finally
prepare the HTML stream that is sent as response towards
the browser.
 The ideal webserver program to run an ASP page is IIS
(Internet information server) that usually comes along with
many releases of Windows XP and other variations.
12
Right click on the
<student id> folder
and the click on web
sharing.
First ASP Page: Publish As Webshare - 1
13
Click on share this
folder and then click
ok
First ASP Page: Publish As Webshare -2
14
Now your folder is
shared then click on
ok
First ASP Page: Publish As Webshare - 3
15
Click on start button
Go to settings
And then click on
control panel
First ASP Page: Opening IIS for settings - 1
16
Click on
administrative
tools
First ASP Page: Opening IIS for settings -2
17
Now click internet
information
services (IIS)
NOTE: If you don’t find IIS here then ask your administrator to install
it on your machine.
First ASP Page: Opening IIS for settings -3
18
Right click on Default
Web Site and make it
a public website from
Permissions Wizard
from all task
First ASP Page: Opening IIS for settings -4
19
From Default Web Site
select student virtual
directory and inherit all
security settings from
permission wizard
First ASP Page: Opening IIS for settings -5
20
Open the source code file (student) by
entering the path localhost<student
id>hellohello.asp
in address bar and then click on go
First ASP Page: Execution
21
Try changing the code by adding <h1> </h1> around
the response.write text.
SEE IF HTML TAGS ARE INTERPRETED.
Try writing the function response.write in Upper case
such as RESPONSE.WRITE.
IS ASP CASE SENSITIVE.
Try changing code as follows.
A = “Hello”
response.write(A+“Great World”)
YOU JUST LEARNED VARIABLE FILLING AND
STRING CONCATENATION.
First ASP Page: Modification Trials
22
My First ASP.NET page
Using "VB"
23
Create an ASP. net file
Write this code on the
notepad and save this file
as hello.aspx in the path
c:learner<student id>hello
24
Run the source file
Open the source code file (student) by
entering the path localhost<student
id>hellohello.aspx
in address bar and then click on go
25
Try changing the code by adding <h1> </h1>
around the “Hello World!” text.
SEE IF HTML TAGS ARE INTERPRETED.
Try adding the following code as follows.
HelloWorld.ToolTip = "My Tool Tip"
YOU JUST LEARNED USING ADDITIONAL
PROPERTIES OF AN OBJECT BASED ON
AVAILABLE CLASSES.
First ASP.NET Page: Modification Trials
26
Change <%@ Page Language="VB" %> line to
<%@ Page Language="C#" %>
Watch the compiler error output as
BC30037:Character is not valid.
 Semicolon from Expression
Watch the error
CS1002: ; expected.
Try to correct it by putting the ';'.
First ASP.NET Page: Error Trials
27
My First ASP.NET page
Using "C#"
28
Create an ASP. net file
Write this code on the notepad
and save this file as
helloCS.aspx in the path
c:learner<student id>hello
<%@ Page Language="C#" %>
<%HelloWorld.Text= "Hello World!";%>
<html>
<head>
<title>ASP.NET Hello World</title>
</head>
<body bgcolor=cyan>
<p><asp:label id="HelloWorld"
runat="server"/></p>
</body>
</html>
Write 'C#' instead of 'VB'
Add ';' end of expression
29
Run the source file
Open the source code file (student) by
entering the path localhost<student
id>hellohelloCS.aspx
in address bar and then click on go
localhost<student id>hellohelloCS.aspx
30
Try changing the code by adding <h1> </h1>
around the “Hello World!” text.
SEE IF HTML TAGS ARE INTERPRETED.
Try adding the following code as follows.
HelloWorld.ToolTip = "My Tool Tip";
YOU JUST LEARNED USING ADDITIONAL
PROPERTIES OF AN OBJECT BASED ON
AVAILABLE CLASSES.
First ASP.NET Page: Modification Trials
31
Change <%@ Page Language="C#" %> line to
<%@ Page Language="VB" %>
Watch the compiler error output as
BC30037:Character is not valid.
Remove Semicolon from Expression
Watch the error
CS1002: ; expected.
Try to correct it by putting the ';'.
First ASP.NET Page: Error Trials
32
First Page of HTML, Asp.net : Learning Summary Review
Creation of HTML page on Notepad.
Use of different HTML Tags.
Creation of ASP Page on Notepad.
Publishing of web page.
Use of Asp Functions.
Creation of Asp.net file on Notepad.
33
First page of HTML, Asp.net: Bibliography
www.ncsu.edu/it/edu/html_trng/basic_comm
ands.html
www.w3schools.com/html/html_primary.asp
www.asp101.com
www.dotnetfunda.com
www.w3schools.com/ASPNET/default.asp
34
Ask and guide me at
sunmitraeducation@gmail.com
Share this information with as
many people as possible.
Keep visiting www.sunmitra.com
for programme updates.

More Related Content

What's hot

Using c panel with godaddy
Using c panel with godaddyUsing c panel with godaddy
Using c panel with godaddyJohn Wojewoda
 
Rapid Development With CakePHP
Rapid Development With CakePHPRapid Development With CakePHP
Rapid Development With CakePHPEdureka!
 
Introduction To The OpenSocial API
Introduction To The OpenSocial APIIntroduction To The OpenSocial API
Introduction To The OpenSocial APIChristopher St. John
 
Essential Javascript -- A Javascript &lt;b>Tutorial&lt;/b>
Essential Javascript -- A Javascript &lt;b>Tutorial&lt;/b>Essential Javascript -- A Javascript &lt;b>Tutorial&lt;/b>
Essential Javascript -- A Javascript &lt;b>Tutorial&lt;/b>tutorialsruby
 
php tutorial - By Bally Chohan
php tutorial - By Bally Chohanphp tutorial - By Bally Chohan
php tutorial - By Bally Chohanballychohanuk
 
Start a Blog: Module 6
Start a Blog: Module 6Start a Blog: Module 6
Start a Blog: Module 6Merri Dennis
 
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development  Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development Edureka!
 
Joomla 15 Quickstart
Joomla 15 QuickstartJoomla 15 Quickstart
Joomla 15 QuickstartAmyStephen
 
Cara Membuat Website Menggunakan CMS Wordpress & XAMPP
Cara Membuat Website Menggunakan CMS Wordpress & XAMPPCara Membuat Website Menggunakan CMS Wordpress & XAMPP
Cara Membuat Website Menggunakan CMS Wordpress & XAMPPMuhammad Iqbal
 
Setting up ftp for mp
Setting up ftp for mpSetting up ftp for mp
Setting up ftp for mphccit
 
iWeb NJECC June 28, 2011 DAndrea
iWeb NJECC June 28, 2011 DAndreaiWeb NJECC June 28, 2011 DAndrea
iWeb NJECC June 28, 2011 DAndreaD'Andrea
 
4 internet programming
4 internet programming4 internet programming
4 internet programmingsoner_kavlak
 
Learning Joomla! In 30 Days
Learning Joomla! In 30 DaysLearning Joomla! In 30 Days
Learning Joomla! In 30 Daysanxiouslanguage
 
Step by step how to create database with phpmyadmin
Step by step how to create database with phpmyadminStep by step how to create database with phpmyadmin
Step by step how to create database with phpmyadminFathimah Azkiya
 

What's hot (20)

Using c panel with godaddy
Using c panel with godaddyUsing c panel with godaddy
Using c panel with godaddy
 
Rapid Development With CakePHP
Rapid Development With CakePHPRapid Development With CakePHP
Rapid Development With CakePHP
 
Introduction To The OpenSocial API
Introduction To The OpenSocial APIIntroduction To The OpenSocial API
Introduction To The OpenSocial API
 
Essential Javascript -- A Javascript &lt;b>Tutorial&lt;/b>
Essential Javascript -- A Javascript &lt;b>Tutorial&lt;/b>Essential Javascript -- A Javascript &lt;b>Tutorial&lt;/b>
Essential Javascript -- A Javascript &lt;b>Tutorial&lt;/b>
 
Web Design Guide
Web Design Guide Web Design Guide
Web Design Guide
 
php tutorial - By Bally Chohan
php tutorial - By Bally Chohanphp tutorial - By Bally Chohan
php tutorial - By Bally Chohan
 
Start a Blog: Module 6
Start a Blog: Module 6Start a Blog: Module 6
Start a Blog: Module 6
 
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development  Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
 
Joomla 15 Quickstart
Joomla 15 QuickstartJoomla 15 Quickstart
Joomla 15 Quickstart
 
Cara Membuat Website Menggunakan CMS Wordpress & XAMPP
Cara Membuat Website Menggunakan CMS Wordpress & XAMPPCara Membuat Website Menggunakan CMS Wordpress & XAMPP
Cara Membuat Website Menggunakan CMS Wordpress & XAMPP
 
Cpanel Guide
Cpanel GuideCpanel Guide
Cpanel Guide
 
Developing a website
Developing a websiteDeveloping a website
Developing a website
 
Setting up ftp for mp
Setting up ftp for mpSetting up ftp for mp
Setting up ftp for mp
 
iWeb NJECC June 28, 2011 DAndrea
iWeb NJECC June 28, 2011 DAndreaiWeb NJECC June 28, 2011 DAndrea
iWeb NJECC June 28, 2011 DAndrea
 
4 internet programming
4 internet programming4 internet programming
4 internet programming
 
Beginners WordPress JALC Lesson 2
Beginners WordPress JALC Lesson 2Beginners WordPress JALC Lesson 2
Beginners WordPress JALC Lesson 2
 
lect9
lect9lect9
lect9
 
Unit 2.2 Part 1
Unit 2.2 Part 1Unit 2.2 Part 1
Unit 2.2 Part 1
 
Learning Joomla! In 30 Days
Learning Joomla! In 30 DaysLearning Joomla! In 30 Days
Learning Joomla! In 30 Days
 
Step by step how to create database with phpmyadmin
Step by step how to create database with phpmyadminStep by step how to create database with phpmyadmin
Step by step how to create database with phpmyadmin
 

Similar to First Pages HTML ASP-ASP.NET

JavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScriptJavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScriptLaurence Svekis ✔
 
JavaScript Core fundamentals - Learn JavaScript Here
JavaScript Core fundamentals - Learn JavaScript HereJavaScript Core fundamentals - Learn JavaScript Here
JavaScript Core fundamentals - Learn JavaScript HereLaurence Svekis ✔
 
Build and deploy Python Django project
Build and deploy Python Django projectBuild and deploy Python Django project
Build and deploy Python Django projectXiaoqi Zhao
 
Editing Wordpress in Dreamweaver
Editing Wordpress in DreamweaverEditing Wordpress in Dreamweaver
Editing Wordpress in DreamweaverGarin Kilpatrick
 
Asp.Net 2.0 Presentation
Asp.Net 2.0 PresentationAsp.Net 2.0 Presentation
Asp.Net 2.0 Presentationsasidhar
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Boxguest34a3a419
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows BoxJayanta Dash
 
Introduction to Node js for beginners + game project
Introduction to Node js for beginners + game projectIntroduction to Node js for beginners + game project
Introduction to Node js for beginners + game projectLaurence Svekis ✔
 
Tips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net EffectivelyTips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net Effectivelyweili_at_slideshare
 
1 Creating web pages in Word (Web Assignment 1) .docx
1  Creating web pages in Word  (Web Assignment 1)  .docx1  Creating web pages in Word  (Web Assignment 1)  .docx
1 Creating web pages in Word (Web Assignment 1) .docxhoney725342
 
SYSTEMS DESIGN / CAPSTONE PROJECT
SYSTEMS DESIGN / CAPSTONE PROJECTSYSTEMS DESIGN / CAPSTONE PROJECT
SYSTEMS DESIGN / CAPSTONE PROJECTSanjay Saluth
 
Installation of Drupal on Windows XP
Installation of Drupal on Windows XPInstallation of Drupal on Windows XP
Installation of Drupal on Windows XPRupesh Kumar
 

Similar to First Pages HTML ASP-ASP.NET (20)

Asp.net w3schools
Asp.net w3schoolsAsp.net w3schools
Asp.net w3schools
 
JavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScriptJavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScript
 
Introduction to asp
Introduction to aspIntroduction to asp
Introduction to asp
 
JavaScript Core fundamentals - Learn JavaScript Here
JavaScript Core fundamentals - Learn JavaScript HereJavaScript Core fundamentals - Learn JavaScript Here
JavaScript Core fundamentals - Learn JavaScript Here
 
ASP
ASPASP
ASP
 
C# with Renas
C# with RenasC# with Renas
C# with Renas
 
Walkthrough asp.net
Walkthrough asp.netWalkthrough asp.net
Walkthrough asp.net
 
Build and deploy Python Django project
Build and deploy Python Django projectBuild and deploy Python Django project
Build and deploy Python Django project
 
Creating web form
Creating web formCreating web form
Creating web form
 
Creating web form
Creating web formCreating web form
Creating web form
 
Editing Wordpress in Dreamweaver
Editing Wordpress in DreamweaverEditing Wordpress in Dreamweaver
Editing Wordpress in Dreamweaver
 
Asp.Net 2.0 Presentation
Asp.Net 2.0 PresentationAsp.Net 2.0 Presentation
Asp.Net 2.0 Presentation
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 
Introduction to Node js for beginners + game project
Introduction to Node js for beginners + game projectIntroduction to Node js for beginners + game project
Introduction to Node js for beginners + game project
 
Tips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net EffectivelyTips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net Effectively
 
1 Creating web pages in Word (Web Assignment 1) .docx
1  Creating web pages in Word  (Web Assignment 1)  .docx1  Creating web pages in Word  (Web Assignment 1)  .docx
1 Creating web pages in Word (Web Assignment 1) .docx
 
Master page
Master pageMaster page
Master page
 
SYSTEMS DESIGN / CAPSTONE PROJECT
SYSTEMS DESIGN / CAPSTONE PROJECTSYSTEMS DESIGN / CAPSTONE PROJECT
SYSTEMS DESIGN / CAPSTONE PROJECT
 
Installation of Drupal on Windows XP
Installation of Drupal on Windows XPInstallation of Drupal on Windows XP
Installation of Drupal on Windows XP
 

More from sunmitraeducation

More from sunmitraeducation (20)

Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
Installing JDK and first java program
Installing JDK and first java programInstalling JDK and first java program
Installing JDK and first java program
 
Project1 VB
Project1 VBProject1 VB
Project1 VB
 
Project1 CS
Project1 CSProject1 CS
Project1 CS
 
Grid Vew Control VB
Grid Vew Control VBGrid Vew Control VB
Grid Vew Control VB
 
Grid View Control CS
Grid View Control CSGrid View Control CS
Grid View Control CS
 
Ms Access
Ms AccessMs Access
Ms Access
 
Database Basics Theory
Database Basics TheoryDatabase Basics Theory
Database Basics Theory
 
Visual Web Developer and Web Controls VB set 3
Visual Web Developer and Web Controls VB set 3Visual Web Developer and Web Controls VB set 3
Visual Web Developer and Web Controls VB set 3
 
Visual Web Developer and Web Controls CS set 3
Visual Web Developer and Web Controls CS set 3Visual Web Developer and Web Controls CS set 3
Visual Web Developer and Web Controls CS set 3
 
Progamming Primer Polymorphism (Method Overloading) VB
Progamming Primer Polymorphism (Method Overloading) VBProgamming Primer Polymorphism (Method Overloading) VB
Progamming Primer Polymorphism (Method Overloading) VB
 
Programming Primer EncapsulationVB
Programming Primer EncapsulationVBProgramming Primer EncapsulationVB
Programming Primer EncapsulationVB
 
Programming Primer Encapsulation CS
Programming Primer Encapsulation CSProgramming Primer Encapsulation CS
Programming Primer Encapsulation CS
 
Programming Primer Inheritance VB
Programming Primer Inheritance VBProgramming Primer Inheritance VB
Programming Primer Inheritance VB
 
Programming Primer Inheritance CS
Programming Primer Inheritance CSProgramming Primer Inheritance CS
Programming Primer Inheritance CS
 
ProgrammingPrimerAndOOPS
ProgrammingPrimerAndOOPSProgrammingPrimerAndOOPS
ProgrammingPrimerAndOOPS
 
Web Server Controls VB Set 1
Web Server Controls VB Set 1Web Server Controls VB Set 1
Web Server Controls VB Set 1
 
Web Server Controls CS Set
Web Server Controls CS Set Web Server Controls CS Set
Web Server Controls CS Set
 
Web Controls Set-1
Web Controls Set-1Web Controls Set-1
Web Controls Set-1
 
Understanding IDEs
Understanding IDEsUnderstanding IDEs
Understanding IDEs
 

Recently uploaded

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 

First Pages HTML ASP-ASP.NET

  • 1. 1 FIRST PAGES OF HTML –ASP-ASP.NET LAB WORK GUIDE A Programme Under the compumitra Series "This web design tutorial has taught me more than a College Course." -Pete Kessler
  • 2. 2 OUTLINE First HTML Page (Using HTML) First ASP Page (Using ASP) First ASP.NET Page (Using VB) First ASP.NET Page (Using C#)
  • 4. 4 Go to Start button, Open Start menu, select Notepad From accessories If you are unable to find the notepad program here try the method explained on the next slide. First HTML Page: Creation in Notepad
  • 5. 5 Go to start button. Open run window. Type Notepad and click OK. Open the notepad program using the Run Method. First HTML Page: Creation in Notepad Method 2
  • 6. 6 Type the code given here In the notepad program and save the file as hello.html in the path C:learner<student id>hello The path given here is for your guidance. With the permission of system administrator You may choose other path of your choice. First HTML Page: Code Typing
  • 7. 7 Open the source code file created by you by entering the full path in the address bar - OR - just double click on the filename in windows explorer. An HTML file can also be opened directly in the browser as it is required to be interpreted by the browser. No server level conversion of code is required. First HTML Page: HTML Execution
  • 8. 8 Try changing the code by replacing <h1> with <h4> and see the effect. IS THE TEXT SIZE NOW DIFFERENT AS COMPARED TO <h1> TAG. Try writing the tags in Upper case such as <HTML>, <H1> etc. IS HTML CASE SENSITIVE. Try creating a junk tag of yourself for e.g. add <h9> somewhere in the body. DOES HTML IGNORE JUNK TAGS. First HTML Page: Modification Trials
  • 10. 10 Type this code in the notepad and save this file as hello.asp in the path c:learner<student id>hello First ASP Page: Typing in Notepad
  • 11. 11 First ASP Page: Preparation to Publish-1  An active page is required to be published before execution.  The server converts the active page content to finally prepare the HTML stream that is sent as response towards the browser.  The ideal webserver program to run an ASP page is IIS (Internet information server) that usually comes along with many releases of Windows XP and other variations.
  • 12. 12 Right click on the <student id> folder and the click on web sharing. First ASP Page: Publish As Webshare - 1
  • 13. 13 Click on share this folder and then click ok First ASP Page: Publish As Webshare -2
  • 14. 14 Now your folder is shared then click on ok First ASP Page: Publish As Webshare - 3
  • 15. 15 Click on start button Go to settings And then click on control panel First ASP Page: Opening IIS for settings - 1
  • 16. 16 Click on administrative tools First ASP Page: Opening IIS for settings -2
  • 17. 17 Now click internet information services (IIS) NOTE: If you don’t find IIS here then ask your administrator to install it on your machine. First ASP Page: Opening IIS for settings -3
  • 18. 18 Right click on Default Web Site and make it a public website from Permissions Wizard from all task First ASP Page: Opening IIS for settings -4
  • 19. 19 From Default Web Site select student virtual directory and inherit all security settings from permission wizard First ASP Page: Opening IIS for settings -5
  • 20. 20 Open the source code file (student) by entering the path localhost<student id>hellohello.asp in address bar and then click on go First ASP Page: Execution
  • 21. 21 Try changing the code by adding <h1> </h1> around the response.write text. SEE IF HTML TAGS ARE INTERPRETED. Try writing the function response.write in Upper case such as RESPONSE.WRITE. IS ASP CASE SENSITIVE. Try changing code as follows. A = “Hello” response.write(A+“Great World”) YOU JUST LEARNED VARIABLE FILLING AND STRING CONCATENATION. First ASP Page: Modification Trials
  • 22. 22 My First ASP.NET page Using "VB"
  • 23. 23 Create an ASP. net file Write this code on the notepad and save this file as hello.aspx in the path c:learner<student id>hello
  • 24. 24 Run the source file Open the source code file (student) by entering the path localhost<student id>hellohello.aspx in address bar and then click on go
  • 25. 25 Try changing the code by adding <h1> </h1> around the “Hello World!” text. SEE IF HTML TAGS ARE INTERPRETED. Try adding the following code as follows. HelloWorld.ToolTip = "My Tool Tip" YOU JUST LEARNED USING ADDITIONAL PROPERTIES OF AN OBJECT BASED ON AVAILABLE CLASSES. First ASP.NET Page: Modification Trials
  • 26. 26 Change <%@ Page Language="VB" %> line to <%@ Page Language="C#" %> Watch the compiler error output as BC30037:Character is not valid.  Semicolon from Expression Watch the error CS1002: ; expected. Try to correct it by putting the ';'. First ASP.NET Page: Error Trials
  • 27. 27 My First ASP.NET page Using "C#"
  • 28. 28 Create an ASP. net file Write this code on the notepad and save this file as helloCS.aspx in the path c:learner<student id>hello <%@ Page Language="C#" %> <%HelloWorld.Text= "Hello World!";%> <html> <head> <title>ASP.NET Hello World</title> </head> <body bgcolor=cyan> <p><asp:label id="HelloWorld" runat="server"/></p> </body> </html> Write 'C#' instead of 'VB' Add ';' end of expression
  • 29. 29 Run the source file Open the source code file (student) by entering the path localhost<student id>hellohelloCS.aspx in address bar and then click on go localhost<student id>hellohelloCS.aspx
  • 30. 30 Try changing the code by adding <h1> </h1> around the “Hello World!” text. SEE IF HTML TAGS ARE INTERPRETED. Try adding the following code as follows. HelloWorld.ToolTip = "My Tool Tip"; YOU JUST LEARNED USING ADDITIONAL PROPERTIES OF AN OBJECT BASED ON AVAILABLE CLASSES. First ASP.NET Page: Modification Trials
  • 31. 31 Change <%@ Page Language="C#" %> line to <%@ Page Language="VB" %> Watch the compiler error output as BC30037:Character is not valid. Remove Semicolon from Expression Watch the error CS1002: ; expected. Try to correct it by putting the ';'. First ASP.NET Page: Error Trials
  • 32. 32 First Page of HTML, Asp.net : Learning Summary Review Creation of HTML page on Notepad. Use of different HTML Tags. Creation of ASP Page on Notepad. Publishing of web page. Use of Asp Functions. Creation of Asp.net file on Notepad.
  • 33. 33 First page of HTML, Asp.net: Bibliography www.ncsu.edu/it/edu/html_trng/basic_comm ands.html www.w3schools.com/html/html_primary.asp www.asp101.com www.dotnetfunda.com www.w3schools.com/ASPNET/default.asp
  • 34. 34 Ask and guide me at sunmitraeducation@gmail.com Share this information with as many people as possible. Keep visiting www.sunmitra.com for programme updates.