SlideShare a Scribd company logo
1 of 22
The Evolution of Web Development


• Standards such as HTML (Hypertext Markup
  Language) and XML (Extensible Markup Language)
  were created
• Need to develop languages and programming tools
  that could integrate with the Web
The Early Web Development World

• Separate, tiny applications that are executed by
  server-side calls - CGI (Command Gateway Interface)

• Scripts that are interpreted by a server-side
  resource: Classic ASP (Active Server Pages)
What’s Wrong with Classic ASP

 Classic ASP is a solid tool for developing web
  applications using Microsoft technologies
• Length Code
• No IDE (integrated development environment) for
  developers
• ASP Code is interpreted.
ASP.NET
 Some of the differences between ASP.NET and earlier
  web development platforms.

• ASP.NET features a completely object-oriented programming
    model, event driven, control-based architecture that encourages
    code encapsulation and code reuse.
•    ASP.NET gives you the ability to code in any supported .NET
    language (including Visual Basic, C#, J#, and many other
    languages that have third-party compilers).
• ASP.NET is dedicated to high performance.
Seven Important Facts About ASP.NET
 Fact 1: ASP.NET Is Integrated with the .NET Framework
 Fact 2: ASP.NET Is Compiled, Not Interpreted
 Fact 3: ASP.NET Is Multilanguage
 Fact 4: ASP.NET Is Hosted by the Common Language
  Runtime
 Fact 5: ASP.NET Is Object-Oriented
 Fact 6: ASP.NET Is Multidevice and Multibrowser
 Fact 7: ASP.NET Is Easy to Deploy and Configure
Seven Important Facts About ASP.NET cont.
  Fact 1: ASP.NET Is Integrated with the .NET
  Framework

   • .NET Framework provides massive
    collection of functionality and grouped into
    a logical, hierarchical container called a
    namespace.
   • .NET gives the tools/functionality available
    in .NET framework to web developers.
 Fact 2: ASP.NET Is Compiled, Not Interpreted.
  • ASP.NET applications are always compiled

  • ASP.NET applications actually go through two
    stages of compilation.
  • First stage, the C# code you write is compiled
    into an intermediate language called Microsoft
    Intermediate Language (MSIL), or just IL.
  • The second level of compilation happens just
    before the page is actually executed.
 Fact 3: ASP.NET Is Multilanguage
  • Supports multiple languages for writing
   server side code.
  • the code is compiled into IL
 Fact 4: ASP.NET Is Hosted by the Common
  Language Runtime
 Benefits of CLR:
• Automatic memory management and garbage
  collection
• Extensible metadata(assembly)
• Structured error handling
• Multithreading
 Fact 5: ASP.NET Is Object-Oriented.


  • ASP.NET is truly object-oriented.

  • Web Developer can also exploit all the
   conventions of an OOP
 Fact 6: ASP.NET Is Multidevice and
 Multibrowser.

  • Greatest challenge faced by web
   developers is developing application,
   which can run with all browsers
  • ASP.NET addresses this problem in a
   remarkably intelligent way.
 Fact 7: ASP.NET Is Easy to Deploy and
 Configure.

  • Deployment is easy.

  • Distributing the components your
   application uses is just as easy.
  • Configuration is made easy. (web.config file)
HTML & Web Controls in ASP.Net
 Two schools of thoughts when ASP.NET is developed
       HTML Controls
       Server Side Controls (Web Controls)
 render their interface from dozens of distinct HTML elements
    while still providing a simple object-based interface to the
    programmer.
    Using this model, developers could work with programmable
    menus, calendars, data lists, validators, and so on.
 ASP.NET web controls, which provide a higher level of
    abstraction and more functionality.
 ASP.NET web control tags always start with the prefix
  asp:
 For example, the following snippet creates a text box
  and a check box:

 <asp:TextBox id="myASPText" Text="Hello ASP.NET
 TextBox" runat="server" />
 <asp:CheckBox id="myASPCheck" Text="My
 CheckBox"       runat="server" />

 Again, you can interact with these controls in your
 code, as follows:

 myASPText.Text = "New text";
 myASPCheck.Text = "Check me!“;
 The ASP.NET family of web controls includes
 complex rendered controls (such as the Calendar
 and TreeView).
 Also provides streamlined controls (such as
  TextBox, Label, and Button), which map closely to
  existing HTML tags.
 Web controls are easy to learn
 They’re a natural fit for Windows developers
  moving to the world of the Web, because many of
 the property names are similar to the
 corresponding Windows controls.
Toolbox Tabs for an ASP.NET Project
 Standard: This tab includes the rich web server controls that are
  the heart of ASP.NET’s web form model.

 Data: These components allow you to connect to a database.

 Validation: These controls allow you to verify an associated
  input control against user-defined rules.

 Navigation: These controls are designed to display site maps
  and allow the user to navigate from one page to another.

 Login: These controls provide prebuilt security solutions, such
  as login boxes and a wizard for creating users.

 WebParts: This set of controls supports web parts, an ASP.NET
  model for building componentized, highly configurable web
  portals.
The Code Model
 Visual Studio supports two models for coding
 web pages
 Inline Code:
   This model is the closest to traditional ASP
   All the code and HTML markup is stored in
   a single .aspx file.
   Handy model because it keeps everything in
   one neat package.
   Popular for coding simple web pages.
Inline Code Example
 <%@ Page Language="C#" %>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN”
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <script runat="server">
 protected void Button1_Click(object sender, EventArgs e)
 {
 Label1.Text = "Current time: " + DateTime.Now.ToLongTimeString();
 }
 </script>
 <html xmlns="http://www.w3.org/1999/xhtml" >
 <head runat="server">
 <title>Test Page</title>
 </head>
 <body>
 <form id="form1" runat="server">
 <div>
 <asp:Label ID="Label1" runat="server" Text="Click Me!" />
 <br /><br /><br />
 <asp:Button ID="Button1" runat="server" OnClick="Button1_Click” Text="Button" />>
 </body></div></form</html>
 Code-behind:
   Separates each ASP.NET web page into two files
   an .aspx markup file with the HTML and
   control tags, and
   .cs code file with the source code for the page
   provides better organization
   Separating the user interface from
   programmatic logic, keenly important when
   building complex pages.
How Code-Behind Files Are Connected to Pages
Every .aspx page starts with a Page directive.
 This Page directive specifies:
   language for the page,
   also tells ASP.NET where to find the
    associated code

 <%@ Page Language="C#"
  AutoEventWireup="true"
  CodeFile="TestFormCodeBehind.aspx.cs”
  Inherits="TestFormCodeBehind"%>

More Related Content

What's hot

REST API testing with SpecFlow
REST API testing with SpecFlowREST API testing with SpecFlow
REST API testing with SpecFlowAiste Stikliute
 
Jetpack Compose beginner.pdf
Jetpack Compose beginner.pdfJetpack Compose beginner.pdf
Jetpack Compose beginner.pdfAayushmaAgrawal
 
PHP complete reference with database concepts for beginners
PHP complete reference with database concepts for beginnersPHP complete reference with database concepts for beginners
PHP complete reference with database concepts for beginnersMohammed Mushtaq Ahmed
 
Introduction to Robot Framework (external)
Introduction to Robot Framework (external)Introduction to Robot Framework (external)
Introduction to Robot Framework (external)Zhe Li
 
Web Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User ExperienceWeb Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User ExperienceChromeInfo Technologies
 
Pros & cons of svelte
Pros & cons of sveltePros & cons of svelte
Pros & cons of svelteElenorWisozk
 
Implicit and Explicit waits in Selenium WebDriwer, how to.
Implicit and Explicit waits in Selenium WebDriwer, how to.Implicit and Explicit waits in Selenium WebDriwer, how to.
Implicit and Explicit waits in Selenium WebDriwer, how to.Yaroslav Pernerovsky
 
Design Pattern For C# Part 1
Design Pattern For C# Part 1Design Pattern For C# Part 1
Design Pattern For C# Part 1Shahzad
 
Modern Web Development
Modern Web DevelopmentModern Web Development
Modern Web DevelopmentRobert Nyman
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual TestingDirecti Group
 
Bootstrap 3
Bootstrap 3Bootstrap 3
Bootstrap 3Lanh Le
 

What's hot (20)

Vue JS Intro
Vue JS IntroVue JS Intro
Vue JS Intro
 
REST API testing with SpecFlow
REST API testing with SpecFlowREST API testing with SpecFlow
REST API testing with SpecFlow
 
Python in Test automation
Python in Test automationPython in Test automation
Python in Test automation
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 
Syntax
SyntaxSyntax
Syntax
 
Jetpack Compose beginner.pdf
Jetpack Compose beginner.pdfJetpack Compose beginner.pdf
Jetpack Compose beginner.pdf
 
PHP complete reference with database concepts for beginners
PHP complete reference with database concepts for beginnersPHP complete reference with database concepts for beginners
PHP complete reference with database concepts for beginners
 
Introduction to Robot Framework (external)
Introduction to Robot Framework (external)Introduction to Robot Framework (external)
Introduction to Robot Framework (external)
 
Web Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User ExperienceWeb Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User Experience
 
Pros & cons of svelte
Pros & cons of sveltePros & cons of svelte
Pros & cons of svelte
 
Implicit and Explicit waits in Selenium WebDriwer, how to.
Implicit and Explicit waits in Selenium WebDriwer, how to.Implicit and Explicit waits in Selenium WebDriwer, how to.
Implicit and Explicit waits in Selenium WebDriwer, how to.
 
Css
CssCss
Css
 
Design Pattern For C# Part 1
Design Pattern For C# Part 1Design Pattern For C# Part 1
Design Pattern For C# Part 1
 
Laravel Tutorial PPT
Laravel Tutorial PPTLaravel Tutorial PPT
Laravel Tutorial PPT
 
Maven Introduction
Maven IntroductionMaven Introduction
Maven Introduction
 
Angular js PPT
Angular js PPTAngular js PPT
Angular js PPT
 
Svelte JS introduction
Svelte JS introductionSvelte JS introduction
Svelte JS introduction
 
Modern Web Development
Modern Web DevelopmentModern Web Development
Modern Web Development
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
Bootstrap 3
Bootstrap 3Bootstrap 3
Bootstrap 3
 

Viewers also liked

Active Server Page(ASP)
Active Server Page(ASP)Active Server Page(ASP)
Active Server Page(ASP)Keshab Nath
 
Active server pages
Active server pagesActive server pages
Active server pagesmcatahir947
 
Cloud Computing Fundamentals
Cloud Computing FundamentalsCloud Computing Fundamentals
Cloud Computing FundamentalsSonia Nagpal
 
Register transfer language
Register  transfer languageRegister  transfer language
Register transfer languagehamza munir
 
Fundamentals of Cloud Computing
Fundamentals of Cloud ComputingFundamentals of Cloud Computing
Fundamentals of Cloud ComputingSouvik Pal
 
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide showThe complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide showSubhas Malik
 
Everything You Need to Know about Diagnostics and Debugging on Microsoft Inte...
Everything You Need to Know about Diagnostics and Debugging on Microsoft Inte...Everything You Need to Know about Diagnostics and Debugging on Microsoft Inte...
Everything You Need to Know about Diagnostics and Debugging on Microsoft Inte...goodfriday
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer languageSanjeev Patel
 
Register transfer and micro operation
Register transfer and micro operationRegister transfer and micro operation
Register transfer and micro operationKamal Acharya
 
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devicesRajesh Sadhukha
 

Viewers also liked (15)

Active Server Page(ASP)
Active Server Page(ASP)Active Server Page(ASP)
Active Server Page(ASP)
 
Introduction ASP
Introduction ASPIntroduction ASP
Introduction ASP
 
Active server pages
Active server pagesActive server pages
Active server pages
 
Asp objects
Asp objectsAsp objects
Asp objects
 
ASP
ASPASP
ASP
 
Cloud Computing Fundamentals
Cloud Computing FundamentalsCloud Computing Fundamentals
Cloud Computing Fundamentals
 
Ch4
Ch4Ch4
Ch4
 
Register transfer language
Register  transfer languageRegister  transfer language
Register transfer language
 
Fundamentals of Cloud Computing
Fundamentals of Cloud ComputingFundamentals of Cloud Computing
Fundamentals of Cloud Computing
 
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide showThe complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
 
Everything You Need to Know about Diagnostics and Debugging on Microsoft Inte...
Everything You Need to Know about Diagnostics and Debugging on Microsoft Inte...Everything You Need to Know about Diagnostics and Debugging on Microsoft Inte...
Everything You Need to Know about Diagnostics and Debugging on Microsoft Inte...
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
 
Register transfer and micro operation
Register transfer and micro operationRegister transfer and micro operation
Register transfer and micro operation
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devices
 

Similar to Introduction to asp

introasp_net-7364068.ppt
introasp_net-7364068.pptintroasp_net-7364068.ppt
introasp_net-7364068.pptIQM123
 
introasp_net-6563550.ppt
introasp_net-6563550.pptintroasp_net-6563550.ppt
introasp_net-6563550.pptIQM123
 
Web development concepts using microsoft technologies
Web development concepts using microsoft technologiesWeb development concepts using microsoft technologies
Web development concepts using microsoft technologiesHosam Kamel
 
Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architectureIblesoft
 
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.pptintroaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.pptAvijitChaudhuri3
 
introaspnet.ppt
introaspnet.pptintroaspnet.ppt
introaspnet.pptasmachehbi
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.netshan km
 
introaspnet-3030384.ppt
introaspnet-3030384.pptintroaspnet-3030384.ppt
introaspnet-3030384.pptIQM123
 
introaspnet-5856912.ppt
introaspnet-5856912.pptintroaspnet-5856912.ppt
introaspnet-5856912.pptIQM123
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.netSHADAB ALI
 
Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1asim78
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NETRajkumarsoy
 
Asp.net server controls
Asp.net server controlsAsp.net server controls
Asp.net server controlsRaed Aldahdooh
 

Similar to Introduction to asp (20)

Asp.netrole
Asp.netroleAsp.netrole
Asp.netrole
 
introasp_net-7364068.ppt
introasp_net-7364068.pptintroasp_net-7364068.ppt
introasp_net-7364068.ppt
 
introasp_net-6563550.ppt
introasp_net-6563550.pptintroasp_net-6563550.ppt
introasp_net-6563550.ppt
 
Introaspnet
IntroaspnetIntroaspnet
Introaspnet
 
Aspintro
AspintroAspintro
Aspintro
 
Web development concepts using microsoft technologies
Web development concepts using microsoft technologiesWeb development concepts using microsoft technologies
Web development concepts using microsoft technologies
 
Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architecture
 
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.pptintroaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
 
introaspnet.ppt
introaspnet.pptintroaspnet.ppt
introaspnet.ppt
 
introaspnet.ppt
introaspnet.pptintroaspnet.ppt
introaspnet.ppt
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 
introaspnet-3030384.ppt
introaspnet-3030384.pptintroaspnet-3030384.ppt
introaspnet-3030384.ppt
 
introaspnet-5856912.ppt
introaspnet-5856912.pptintroaspnet-5856912.ppt
introaspnet-5856912.ppt
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Asp.net
Asp.netAsp.net
Asp.net
 
As pnet
As pnetAs pnet
As pnet
 
Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
 
Asp.net server controls
Asp.net server controlsAsp.net server controls
Asp.net server controls
 

More from Madhuri Kavade

More from Madhuri Kavade (6)

Ch 7 data binding
Ch 7 data bindingCh 7 data binding
Ch 7 data binding
 
Ch06 ado.net fundamentals
Ch06 ado.net fundamentalsCh06 ado.net fundamentals
Ch06 ado.net fundamentals
 
Ch05 state management
Ch05 state managementCh05 state management
Ch05 state management
 
Ch 04 asp.net application
Ch 04 asp.net application Ch 04 asp.net application
Ch 04 asp.net application
 
Ch3 server controls
Ch3 server controlsCh3 server controls
Ch3 server controls
 
Web forms in ASP.net
Web forms in ASP.netWeb forms in ASP.net
Web forms in ASP.net
 

Recently uploaded

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
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
 
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
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 

Recently uploaded (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
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
 
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...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 

Introduction to asp

  • 1.
  • 2. The Evolution of Web Development • Standards such as HTML (Hypertext Markup Language) and XML (Extensible Markup Language) were created • Need to develop languages and programming tools that could integrate with the Web
  • 3. The Early Web Development World • Separate, tiny applications that are executed by server-side calls - CGI (Command Gateway Interface) • Scripts that are interpreted by a server-side resource: Classic ASP (Active Server Pages)
  • 4. What’s Wrong with Classic ASP  Classic ASP is a solid tool for developing web applications using Microsoft technologies • Length Code • No IDE (integrated development environment) for developers • ASP Code is interpreted.
  • 5. ASP.NET  Some of the differences between ASP.NET and earlier web development platforms. • ASP.NET features a completely object-oriented programming model, event driven, control-based architecture that encourages code encapsulation and code reuse. • ASP.NET gives you the ability to code in any supported .NET language (including Visual Basic, C#, J#, and many other languages that have third-party compilers). • ASP.NET is dedicated to high performance.
  • 6. Seven Important Facts About ASP.NET  Fact 1: ASP.NET Is Integrated with the .NET Framework  Fact 2: ASP.NET Is Compiled, Not Interpreted  Fact 3: ASP.NET Is Multilanguage  Fact 4: ASP.NET Is Hosted by the Common Language Runtime  Fact 5: ASP.NET Is Object-Oriented  Fact 6: ASP.NET Is Multidevice and Multibrowser  Fact 7: ASP.NET Is Easy to Deploy and Configure
  • 7. Seven Important Facts About ASP.NET cont.  Fact 1: ASP.NET Is Integrated with the .NET Framework • .NET Framework provides massive collection of functionality and grouped into a logical, hierarchical container called a namespace. • .NET gives the tools/functionality available in .NET framework to web developers.
  • 8.  Fact 2: ASP.NET Is Compiled, Not Interpreted. • ASP.NET applications are always compiled • ASP.NET applications actually go through two stages of compilation. • First stage, the C# code you write is compiled into an intermediate language called Microsoft Intermediate Language (MSIL), or just IL. • The second level of compilation happens just before the page is actually executed.
  • 9.
  • 10.  Fact 3: ASP.NET Is Multilanguage • Supports multiple languages for writing server side code. • the code is compiled into IL
  • 11.  Fact 4: ASP.NET Is Hosted by the Common Language Runtime  Benefits of CLR: • Automatic memory management and garbage collection • Extensible metadata(assembly) • Structured error handling • Multithreading
  • 12.  Fact 5: ASP.NET Is Object-Oriented. • ASP.NET is truly object-oriented. • Web Developer can also exploit all the conventions of an OOP
  • 13.  Fact 6: ASP.NET Is Multidevice and Multibrowser. • Greatest challenge faced by web developers is developing application, which can run with all browsers • ASP.NET addresses this problem in a remarkably intelligent way.
  • 14.  Fact 7: ASP.NET Is Easy to Deploy and Configure. • Deployment is easy. • Distributing the components your application uses is just as easy. • Configuration is made easy. (web.config file)
  • 15. HTML & Web Controls in ASP.Net  Two schools of thoughts when ASP.NET is developed  HTML Controls  Server Side Controls (Web Controls)  render their interface from dozens of distinct HTML elements while still providing a simple object-based interface to the programmer.  Using this model, developers could work with programmable menus, calendars, data lists, validators, and so on.  ASP.NET web controls, which provide a higher level of abstraction and more functionality.
  • 16.  ASP.NET web control tags always start with the prefix asp:  For example, the following snippet creates a text box and a check box:  <asp:TextBox id="myASPText" Text="Hello ASP.NET TextBox" runat="server" />  <asp:CheckBox id="myASPCheck" Text="My CheckBox" runat="server" />  Again, you can interact with these controls in your code, as follows:  myASPText.Text = "New text";  myASPCheck.Text = "Check me!“;
  • 17.  The ASP.NET family of web controls includes complex rendered controls (such as the Calendar and TreeView).  Also provides streamlined controls (such as TextBox, Label, and Button), which map closely to existing HTML tags.  Web controls are easy to learn  They’re a natural fit for Windows developers moving to the world of the Web, because many of the property names are similar to the corresponding Windows controls.
  • 18. Toolbox Tabs for an ASP.NET Project  Standard: This tab includes the rich web server controls that are the heart of ASP.NET’s web form model.  Data: These components allow you to connect to a database.  Validation: These controls allow you to verify an associated input control against user-defined rules.  Navigation: These controls are designed to display site maps and allow the user to navigate from one page to another.  Login: These controls provide prebuilt security solutions, such as login boxes and a wizard for creating users.  WebParts: This set of controls supports web parts, an ASP.NET model for building componentized, highly configurable web portals.
  • 19. The Code Model  Visual Studio supports two models for coding web pages  Inline Code:  This model is the closest to traditional ASP  All the code and HTML markup is stored in a single .aspx file.  Handy model because it keeps everything in one neat package.  Popular for coding simple web pages.
  • 20. Inline Code Example  <%@ Page Language="C#" %>  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN” "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">  <script runat="server">  protected void Button1_Click(object sender, EventArgs e)  {  Label1.Text = "Current time: " + DateTime.Now.ToLongTimeString();  }  </script>  <html xmlns="http://www.w3.org/1999/xhtml" >  <head runat="server">  <title>Test Page</title>  </head>  <body>  <form id="form1" runat="server">  <div>  <asp:Label ID="Label1" runat="server" Text="Click Me!" />  <br /><br /><br />  <asp:Button ID="Button1" runat="server" OnClick="Button1_Click” Text="Button" />>  </body></div></form</html>
  • 21.  Code-behind:  Separates each ASP.NET web page into two files  an .aspx markup file with the HTML and control tags, and  .cs code file with the source code for the page  provides better organization  Separating the user interface from programmatic logic, keenly important when building complex pages.
  • 22. How Code-Behind Files Are Connected to Pages Every .aspx page starts with a Page directive.  This Page directive specifies:  language for the page,  also tells ASP.NET where to find the associated code  <%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestFormCodeBehind.aspx.cs” Inherits="TestFormCodeBehind"%>