0% found this document useful (0 votes)
31 views

Overview of The Framework

This document provides an overview of the Microsoft .NET Framework. It discusses how .NET represents a major change in how web applications are built and run. It describes the components of the .NET Framework including the common language runtime, class libraries, ASP.NET, ADO.NET, and XML web services. It also outlines benefits of using .NET such as being based on web standards, universal availability of functionality, and ease of use. Visual Studio .NET is introduced as the development tool for building .NET applications and web services.

Uploaded by

khairitkr
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Overview of The Framework

This document provides an overview of the Microsoft .NET Framework. It discusses how .NET represents a major change in how web applications are built and run. It describes the components of the .NET Framework including the common language runtime, class libraries, ASP.NET, ADO.NET, and XML web services. It also outlines benefits of using .NET such as being based on web standards, universal availability of functionality, and ease of use. Visual Studio .NET is introduced as the development tool for building .NET applications and web services.

Uploaded by

khairitkr
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 31

Module 1: Overview of the Microsoft .

NET Framework

Module 1: Overview of the MS .NET Framework

Discuss how the .NET Framework represents a major change on the way that web applications are built and run Later, youll have a greater understanding of the .NET Framework in general and MS ASP.NET specifically

What is MS .NET?
In computing industry the latest such technology is INTERNET How a software should be
Created? Deployed? Used? Languages Execution platform Class library built-in functionality Software integration over the Internet Everything in ONE

As solution MS .NET that includes .NET Framework


A development environment that spans multiple languages & platforms Therefore, .NET IS A NEW APPROACH TO SOFTWARE DEVELOPMENT Using XML to allow functions running on diff. computers (system from servers to wireless palmtops)

Lesson: Introduction to the .NET Framework

What is the .NET Framework? What Problems Does .NET Solve? The .NET Framework Components Benefits of Using the .NET Framework Visual Studio .NET: The Tool for .NET Development

What is the .NET Framework?


The .NET Framework is a software component that can be added to the Win OS

The .NET Framework is a development and execution environment that allows different programming languages and libraries to work together seamlessly to create Windows-based application that are easier to build, manage, deploy (install/setup) and integrate with other networked system

What is the .NET Framework?


Connecting Applications Through Web Services
How application talk to other application??? By providing universal data format (XML) XML exchange, store, carry data universal language of Internet data exchange open standard (comp, h.phone, PDA, game console - can accept XML data)

What is the .NET Framework?


Developer Tools

Clients

Databases

ASP.NET Web Applications

.NET Framework

XML Web Services

User Experiences

The .NET Framework


.NET: Microsofts development model in which software becomes platform and device-independent, and data becomes available over the Internet.

.NET Platform:

A platform that can be used for building and running the next gen. of Ms Windows and Web applications.
i. ii. Goal: To simplify Web development iii Consists of (4):

a. The .NET Framework b. The .NET Enterprise Servers (SERVER) c. Building block services (CLIENTS) d. Visual Studio.NET

The .NET Platform (cont.)


iv It spans clients, servers and services, and it consists of:

a. A programming model that enables developers to build Extensible Markup Language(XML) Web services and applications. b. A set of buliding block services that are user centric set of XML Web services that move control of user data from applications to users. Eg: Ms Passport ( use to integrate various applications)

c. A set of .NET Enterprise Servers (incl. WIndows2000, Ms SQL Server, Ms BizTalk Server) that integrate, run, operate and manage XML Web services and applications.
d. Client Software (eg: Windows XP and Windows CE) which helps developers deliver a comprehensive user experience across a family or devices. e. Tools (eg: Visual Studio.NET) which can be used to develop XML Web services and Windows and Web applications for an enriched user experience.

The .NET Framework


It provides the foundation upon which applications and XML

Web services are built and executed.

The unified nature of .NET framework means that all

applications, whether they are Windows apps, Web apps or XML Web services, are developed by using a common set of tools and code, and are easily integrated with one another.
It consists of: a. The common language runtime: Handles runtime services, including language integration, security and memory mgmt. During development, the runtime provides features that are needed to simplify development.

b. Class libraries: Provide reusable code for most common tasks, incl. data access, XML Web services development, and Web and Windows Forms.

What Problems Does .NET Solve?


Even with the Internet, most applications and devices have trouble communicating with each other. This limitation leads to two major problems that the developers must confront: Programmers end up writing infrastructure instead of applications Programmers have had to limit their scope or continually learn new languages

What Problems Does .NET Solve? (cont.)


The .NET solves the problems by : a. providing The runtime, which is languageindependent and platform-independent. Language-independent in .NET allows developers to build an application in any .NET based language and know that the Web App. will work on any client that supports .NET. The runtime also controls much of the application infrastructure so that developers can concentrate on the app-specific logic.

What Problems Does .NET Solve? (cont.)


b. making use of the industry-standard XML: XML Web services use XML to send data, thereby ensuring that any XML-capable client can receive that data. Since XML is an open std, most modern clients (eg: computer OSs, cellular phones, PDAs, game consoles ) can accept XML data.

The .NET Framework Components


Visual Basic C++ C# Perl Python

XML Web Services User Interface ASP.NET ADO.NET and XML .NET Framework Class Library Common Language Runtime
Message Queuing COM+ (Transactions, Partitions, Object Pooling) IIS WMI

Win32

The .NET Framework Components


Programming language that use to produce programs that execute within the Microsoft .NET Framework ASP.NET to develop Web application ADO.NET and XML Database Connectivity

Class Library Types and functionalities available to all languages using the .NET language Compile MSIL to machine language
Application services (memory mgmt, I/O mgmt, file sys., security) Win 32 (OS)

The .NET Framework Components( cont. )


The .NET Framework consists of diff. components that help to build and run .NET-based apps: Platform Substrate:

The .NET Framework must run on an OS. Currently, it is built to run on the Ms Win 32 OSs (eg: Windows 2000, Windows XP, Windows 98).
Application Services:

When running on Windows 2000, app. services such as Component Services, Message Queuing, Internet Information Services(IIS), and Windows Management Instrumentation(WMI) are available to the developers. The .NET Framework exposes application services through classes in the .NET Framework class library.

Common Language Runtime


Also referred as a managed environment in which common services such as garbage collection and security are automatically provided.

.NET Framework Class Library It exposes features of the runtime and simplifies the development of .NET-based apps. The developers also can extend classes by creating their own libraries of classes. It implements the .NET Framework

Microsoft ADO.NET The next gen.of Ms ActiveX Data Objects. Provides extensive XML support.

ASP.NET A programming framework that is built on the common language runtime. It can be used to build powerful Web app. ASP.NET Web Forms provide an easy and powerful way to build dynamic Web user interfaces.

XML Web Services A programmable Web components that can be shared among apps on the Internet or the Intranet.

User Interfaces The .NET Framework support 3 types of UIs: a. Web Form b. Windows Forms c. The Command Console

Languages Any language that conforms to the Common Language Specification(CLS) can run with the common language runtime.( Eg: VB.NET, C++.NET, Jscript.NET)

Benefits of Using the .NET Framework


Based on web standards and practices Functionality of .NET classes is universally available Code is organized into hierarchical namespaces and classes Language independent

MFC/ATL Windows API


1980s

Visual Basic ASP


1990s

.NET Framework
2000s

Based on Web standards and practices The .NET Framework fully supports existing Internet Technology. Designed using unified app models Functionality of .NET classes is universally available The functionality of .NET class is available from any .NET-compatible language or programming model. Therefore the same piece of code can be used by Windows apps, Web apps and XML Web services.

Easy for developers to use.


Code is organized into hierarchical namespaces and classes It can be used by any.NET app written in any .Net based language.

Extensible classes The hierarchy of the .NET Framework is not hidden from the developer. You can access and extend .NET classes(unless they are protected) through inheritance. You can also implement cross-language inheritance.

Visual Studio .NET: The Tool for .NET Development


Web Forms Tools Windows Forms Tools

Multiple Languages

Visual Studio .NET

Error Handling

Web Services Tools

Data Access

Design

Develop

Debug

Deploy

Visual Studio .NET comprises the core of .NET development Visual Studio .NET is a complete development environment in which you can design, develop, debug and deploy your .NET applications and XML Web services VS .NET, as a development tool, provides the following: Support for various development languages Tools for building Web applications, Windows applications and XML Web services Data access tools Complete error handling, including local debugging, remote debugging and tracing

Lesson: Overview of ASP.NET


What is ASP.NET?

ASP.NET Web Application

What is ASP.NET?
Evolutionary, more flexible successor to Active Server Pages

- content-rich, dynamic and personalized web sites.


Dynamic Web pages that can access server resources - An ASP.NET web application comprises one or more web forms. A web form is the Web page that users view in browser.

Server-side processing of Web Forms


ASP.NET web forms run server side code to access database, generate additional web forms and to take advantage of built-in security on the server.

It can be viewed on any device that has Internet access and a Web browser.
XML Web services let you create distributed Web applications XML Web Services are distributed applications that use XML for transferring info. Between clients, applications and other XML Web Services Browser-independent not dependent on the clients browser type or operating system (can viewed on practically any device that has Internet access and a Web browser) Language-independent you can develop ASP.NET Web applications in any .NET-based language

ASP.NET Web Application


ASP.NET Web Server
Clients
Web Forms

Output Cache

Page1. aspx Page2. aspx

Internet

Codebehind pages global. asax

Web. config machine. config

Web Services

XML Data

Database

Components

Part of an ASP.NET Web application Web Forms, or .aspx pages


Web Forms and .aspx pages provide the UI for the Web application Code-behind pages are associated with Web Forms and contain the serverside code for Web Form Are XML files that define the default settings for the Web application and the Web server. Every Web application has one Web.config configuration file. In addition, each Web server has one machine.config file

Code-behind pages

Configuration files

Global.asax file

Contain the needed code for responding to application-level events that raised by ASP.NET
Allow the Web application to send and receive data from an XML Web service Allows the Web application to transfer data to and from database sources Allows the Web application to return Web Forms and data more quickly after the first request

XML Web service links Database connectivity

Caching

First Request: Set of events that take place


When the client requests a Web page for the first time, The client browser issues a GET HTTP request to the server. The ASP.NET parser interprets the source code.

If the code was not already compiled into a DLL, ASP.NET invokes the compiler.
Runtime loads and executes the MSIL code.

Second Request : Set of events that take place When the user requests the same Web page for the second time, The client browser issues a GET HTTP request to the server.

Runtime loads and immediately executes the MSIL code that was already compiled during the users first access attempt.

Review

Introduction to the .NET Framework Overview of ASP.NET

~ The End ~

You might also like