KEMBAR78
Asp.net and .Net Framework ppt presentation | PPTX
ASP .NET AND .NET
Framework 4.5
lpu
AgendaIntro to
.NET
What is
.NET and
Important
components
Compilation
Model
Incremental
.NET
Framework
Stack
CLR Versions
and
Side By side
Execution
ASP.NET
lpu
lpu
lpu
lpu
lpu
lpu
OS
CLR
Executed by CLR
Executed by OS
OS
Classic CompilationVs. .NET Compilation
Machine Code
JIT
Assembly [CIL]
C# Compiler
C# Source Code
Machine Code
C Compiler
C Source Code
Using FCL
Classes
FCL
Assemblies
lpu
Assembly
Manifest
Type
Metadata
Resources
CIL
Assembly
Meta Information
lpu
Platform Independence
Machine Code
JIT
Assembly Loader
Assembly / PE (exe / dll)
Meta
Information
CIL Code
C# Compiler
C# Source Code
(Uses ref of dlls from FCL)
Development Platform
Production Platform
.NET Framework
CLR
FCL
Assembly / PE
FCL Class Ref
lpu
Language Independence
VB.NET Code
VB.NET
Compiler
C# Code
C# Compiler
CIL
JIT
Native Code
F# / C++.NET/
Any CLS
compatible
Lang
Compiler
FCLCLR
CLR GCCASCLSJIT CTS
FCL
CLR 1.1
FCL 1.1
CLR 2.0
FCL 2.0
CLR 4.0
FCL 4.0
CLR 4.5
FCL 4.5
FCL 3.0
FCL 3.5
CLR 1.0
FCL 1.0
CLRVersions
Side By Side ExecutionAllows multiple versions of
the Framework to be installed on a single system
2002 20052003 2010 2012
ASP.NET
• Asp.net is an open-source server-sideWeb application framework designed for Web
development to produce dynamic Web pages. It was developed by Microsoft to allow
programmers to build dynamic web sites, web applications and web services.
• first released in January 2002 with version 1.0 of the .NET Framework.
• 1)Web forms
2)MVC
ASP Architecture
IIS (asp.net_isapi.dll)
(Internet Information Server)
Client
Server
Request:
http://www.msn.com/default.aspx
Response:
<html>…</html>
Network HTTP
TCP/IP
PC/Mac/Unix
+ Browser (IE, FireFox)
Web Forms
• Web Forms are pages that users request using their browser.These pages can be written using a
combination of HTML, client-script, server controls, and server code. An ASP.NET Web Forms
page presents information to the user in any browser or client device.
• The ASP.NET Web Form is separated into two logical areas:
• The template (designing code).
• A collection of code behind the Web Form .
Codebehind model
• Microsoft recommends dealing with dynamic program code by using the codebehind model, which places
this code in a separate file or in a specially designated script tag.
• Codebehind files typically have names like MyPage.aspx.cs while the page file is MyPage.aspx.
Directives
• A directive is a special instruction on how ASP.NET should process the page.
• The Most Common directive is <%@ Page %> which can specify many attributes used by the A
SP.NET page parser and compiler.
• Example:
<%@ Page Language="C#" AutoEventWireup=“True" CodeFile="Default.aspx.cs"
Inherits="Default" %>
• When AutoEventWireup is true, ASP.NET automatically treats a method of name Page_eventName as
an event handler
WEB SERVER CONTROLS
• TextBox
• Button
• Radio Button/Radio Button List
• CheckBox/ CheckBox List
• HyperLink/Link Button
• Fileupload Control
• Dropdown List/List Box
VALIDATIONS
Validations is a Process of checking the user input forVarious checks before
the form is submitted to the server.
• CompareValidator
• Required FieldValidator
• RangeValidations
• Validation Summary
• Regular ExpressionValidator
Master Page
WEB SERVICES
• Web services can be defined as a piece of code that runs on a web server and provides data to the requesting clients.
Characteristic's ofWeb Services :
1) It’s a logic and does not contain UI.
2) Web services are hosted on webserver.
3) Web services transfer data in the form of XML/JSON
4) They are Platform Independent
5) Web services interact with the Database.
6) Web services are normally in the form of classes and public methods.
SOAP : SOAP means Simple Object Access Protocol which is used to invoke a web service hosted on the network
SESSIONS
• USER 1----------> ------SESSION 1----->
• USER 2----------> ------SESSION 2----->
• ! !
• USER N---------> ------SESSION N----->
WEB SERVER
APPLICATION
COOKIES
• Cookies are used to store small piece of information on the client side.
• Gmail, Hotmail and other websites they use cookies for the purpose of signing in and
maintaining certain information
ASPVS ASP.NET
ASP ASP.NET
ASP is interpreted. ASP.NET is compiled.
ASP has Mixed HTML and coding logic . Asp.net html and coding part are separated by code
behind files.
ASP.NET purely object oriented. ASP is partially object oriented.
For ASP No in-built support for XML ASP.NET full XML Support for easy data exchange
ASP has no inbuilt facility forValidation of controls ASP has inbuilt facility forValidation of controls
Asp.net and .Net Framework ppt presentation

Asp.net and .Net Framework ppt presentation

  • 1.
    ASP .NET AND.NET Framework 4.5 lpu
  • 2.
    AgendaIntro to .NET What is .NETand Important components Compilation Model Incremental .NET Framework Stack CLR Versions and Side By side Execution ASP.NET
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
    OS CLR Executed by CLR Executedby OS OS Classic CompilationVs. .NET Compilation Machine Code JIT Assembly [CIL] C# Compiler C# Source Code Machine Code C Compiler C Source Code Using FCL Classes FCL Assemblies lpu
  • 11.
  • 12.
    Platform Independence Machine Code JIT AssemblyLoader Assembly / PE (exe / dll) Meta Information CIL Code C# Compiler C# Source Code (Uses ref of dlls from FCL) Development Platform Production Platform .NET Framework CLR FCL Assembly / PE FCL Class Ref lpu
  • 13.
    Language Independence VB.NET Code VB.NET Compiler C#Code C# Compiler CIL JIT Native Code F# / C++.NET/ Any CLS compatible Lang Compiler FCLCLR
  • 15.
  • 16.
    CLR 1.1 FCL 1.1 CLR2.0 FCL 2.0 CLR 4.0 FCL 4.0 CLR 4.5 FCL 4.5 FCL 3.0 FCL 3.5 CLR 1.0 FCL 1.0 CLRVersions Side By Side ExecutionAllows multiple versions of the Framework to be installed on a single system 2002 20052003 2010 2012
  • 17.
    ASP.NET • Asp.net isan open-source server-sideWeb application framework designed for Web development to produce dynamic Web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. • first released in January 2002 with version 1.0 of the .NET Framework. • 1)Web forms 2)MVC
  • 18.
    ASP Architecture IIS (asp.net_isapi.dll) (InternetInformation Server) Client Server Request: http://www.msn.com/default.aspx Response: <html>…</html> Network HTTP TCP/IP PC/Mac/Unix + Browser (IE, FireFox)
  • 19.
    Web Forms • WebForms are pages that users request using their browser.These pages can be written using a combination of HTML, client-script, server controls, and server code. An ASP.NET Web Forms page presents information to the user in any browser or client device. • The ASP.NET Web Form is separated into two logical areas: • The template (designing code). • A collection of code behind the Web Form .
  • 20.
    Codebehind model • Microsoftrecommends dealing with dynamic program code by using the codebehind model, which places this code in a separate file or in a specially designated script tag. • Codebehind files typically have names like MyPage.aspx.cs while the page file is MyPage.aspx.
  • 21.
    Directives • A directiveis a special instruction on how ASP.NET should process the page. • The Most Common directive is <%@ Page %> which can specify many attributes used by the A SP.NET page parser and compiler. • Example: <%@ Page Language="C#" AutoEventWireup=“True" CodeFile="Default.aspx.cs" Inherits="Default" %> • When AutoEventWireup is true, ASP.NET automatically treats a method of name Page_eventName as an event handler
  • 22.
    WEB SERVER CONTROLS •TextBox • Button • Radio Button/Radio Button List • CheckBox/ CheckBox List • HyperLink/Link Button • Fileupload Control • Dropdown List/List Box
  • 23.
    VALIDATIONS Validations is aProcess of checking the user input forVarious checks before the form is submitted to the server. • CompareValidator • Required FieldValidator • RangeValidations • Validation Summary • Regular ExpressionValidator
  • 24.
  • 25.
    WEB SERVICES • Webservices can be defined as a piece of code that runs on a web server and provides data to the requesting clients. Characteristic's ofWeb Services : 1) It’s a logic and does not contain UI. 2) Web services are hosted on webserver. 3) Web services transfer data in the form of XML/JSON 4) They are Platform Independent 5) Web services interact with the Database. 6) Web services are normally in the form of classes and public methods. SOAP : SOAP means Simple Object Access Protocol which is used to invoke a web service hosted on the network
  • 26.
    SESSIONS • USER 1---------->------SESSION 1-----> • USER 2----------> ------SESSION 2-----> • ! ! • USER N---------> ------SESSION N-----> WEB SERVER APPLICATION
  • 27.
    COOKIES • Cookies areused to store small piece of information on the client side. • Gmail, Hotmail and other websites they use cookies for the purpose of signing in and maintaining certain information
  • 28.
    ASPVS ASP.NET ASP ASP.NET ASPis interpreted. ASP.NET is compiled. ASP has Mixed HTML and coding logic . Asp.net html and coding part are separated by code behind files. ASP.NET purely object oriented. ASP is partially object oriented. For ASP No in-built support for XML ASP.NET full XML Support for easy data exchange ASP has no inbuilt facility forValidation of controls ASP has inbuilt facility forValidation of controls