NET Framework Framework NET NET FrameworkConti NET Framework is managed amp type safe environment for building developing deploying and executing Windows Web amp Web Service applications ID: 918975
Download Presentation The PPT/PDF document "505: ASP.NET Mohamedsohel Shaikh" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
505: ASP.NET
Mohamedsohel Shaikh
Slide2.NET Framework
Framework?
.NET
Slide3.NET Framework(Conti.)
.NET Framework is managed & type- safe environment for building, developing, deploying and executing Windows, Web & Web Service applications.
Allocation of memory for the storage of data and instructions,
granting and denying permissions to the application
Managing execution of the application
Reallocation of memory for resources that are not needed
Slide4.NET Framework(Conti.)
Block Diagram of .NET Framework
Slide5.NET Framework(Conti.)
1) CLR(Common Language Runtime
->It is the heart of .NET Framework
->It is a common runtime for all languages targeting the .NET platform.
->It is the engine that compile & run the application
->It uses MSIL(Microsoft Intermediate Language) format code which is language independent for execution. MSIL code is translated by JIT compiler
->It provide core services like memory management & thread management & remoting at runtime
Slide6.NET Framework(Conti.)
VB
C++
C#
COBOL
MSIL
CLR
Native Code
CLR Role at runtime
Slide7.NET Framework(Conti.)
2) BCL(Base Class Library)
It is designed to integrate with CLR
Also known as Framework Class Library(FCL)
It is a library available to all language using .NET
It provide classes which encapsulate a number of common function including file reading & writing, graphic rendering, database interaction & XML document manipulation
The main areas such as Data Structure, IO mgmt., Windows & Web Controls, Database access, Multithreading, Remoting & Reflections covered by Class Library
Slide8.NET Framework(Conti.)
3) ADO.NET and XML
Also known as Data Access Layer
We can access relational databases
Work with XML and provide Disconnected Data Model
Used to access data and data services
Consist of 2 Parts:
i
)
Data Provider
Connection, Parameter, Data Adapter, Data Reader
ii) Data Set
Slide9.NET Framework(Conti.)
4) Windows Forms
Also known as Win Forms
Used to create GUI for windows desktop application
With Win Forms, make single UI & use it VC++, VB and C#. Using Visual Studio.NET, design GUI by dragging the controls on a form as it uses “
System.WinForms
” namespace to draw GUI
Slide10.NET Framework(Conti.)
5) Web Forms & Web Services
Web Forms provide a tool for web application
Part of ASP.NET
Forms engine that provides browser – based user interface
It consist of 2 Parts:
1)Template (Presentation layer)
2)Component (Application logic layer)
Build WUI
Slide11.NET Framework(Conti.)
5) Web Forms & Web Services(Conti.)
Application that run on Web Server & Communicate with other applications
Uses series of XML based communication protocols
Small unit of code to handle limited set of task
OS &
Prog.ing
lang. independent
Connect people, system & devices
E.g. Flight schedules & ticket reservation system
Slide12.NET Framework(Conti.)
6) Common Language Specification
Set of rules & constraints that all languages must follow
Support .NET Theme i.e. unification & interoperability
Slide13Common Language Runtime
Managed Code
-target CLR
Unmanaged Code
-without considering CLR
Common Language Runtime(Conti..)
Purpose/Role of CLR
Class Loader
Code Manager
Garbage Collection
MSIL to Native Compilers
Debugger
Security Engine
Exception Manager
Type Checker
Thread Support
COM
Marshaller
Class Library Support
Slide15Features / Advantages / What is ASP.NET
• Upgraded version of classical ASP (Active Server Pages).
• Server side technology and a part of Microsoft’s .NET framework.
• It provides services that allow the creation, deployment & execution of web application on the server.
• Build powerful web application using the Common Language Runtime (CLR).
• ASP.NET runs inside the IIS (Internet Information Server) which is the Microsoft’s internet server freely available with windows.
• ASP.NET comes with built-in web forms controls which are responsible for generating the user interface and are same as the HTML controls.
• An ASP.NET application will have all code files, pages, handles, modules and executable code that can be invoked or run in a given virtual directory on web server.
• Each ASP.NET application is executed within a .NET framework domain which guaranties class isolation, security sandboxing and static variable isolation.
Slide16Advantages of ASP.NET
Separation of code from HTML
Support for compiled languages
Use services provided by the .NET framework
Graphical development environment
State Management
Update files while the server is running
XML based configuration file
Slide17Client Side Scripting & Server Side Scripting