Overview of The Framework
Overview of The Framework
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
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)
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
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
Clients
Databases
.NET Framework
User Experiences
.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
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.
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.
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
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 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.
.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)
.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.
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.
Multiple Languages
Error Handling
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
What is ASP.NET?
Evolutionary, more flexible successor to Active Server Pages
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
Output Cache
Internet
Web Services
XML Data
Database
Components
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
Caching
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
~ The End ~