Documente Academic
Documente Profesional
Documente Cultură
What Is .NET
.Net is a new framework for developing web-based and
windows-based applications within the Microsoft environment. The framework offers a fundamental shift in Microsoft strategy: it moves application development from clientcentric to server-centric.
Influences
.NET is the result of many influences
OOP JVM
GUI
.NET
Web
.NET is multi-language
.NET supports VB, C# (C-sharp), C++ etc.
code.vb code.cs code.cpp ...
Development Tools
FCL
app.exe
Framework Architecture
VB VC++ VC# JScript
Visual Studio.NET
Common Language Specification ASP.NET: Web Services and Web Forms Windows Forms
ADO.NET: Data and XML Base Class Library Common Language Runtime
Languages
.Net supports following Languages: VB C# C++
ASP.NET
ASP.NET the platform services that allow to program Web Applications and Web Services in any .NET language ASP.NET Uses .NET languages to generate HTML pages. HTML page is targeted to the capabilities of the requesting Browser ASP.NET is control based and event execution model
It is just an application that exposes its features and capabilities over the network using XML It uses SOAP and HTTP to make data available on web
.NET
Class Library
In traditional environments different categories of services are provided to the programmer via libraries such as: C run time library, Win32 APIs, I/O and database access libraries, statistical libraries, etc. These libraries are language dependent, operating system dependent. In .NET all services fall into a single, hierarchy organized, language independent Class Library.
System.WinForms
ComponentModel
System.Drawing
Drawing2D Printing Text
System.Data
ADO Design SQL SQLTypes XSLT XPath
System.Xml
Serialization
System
Collections
Configuration Diagnostics Globalization IO Net Reflection Resources Security ServiceProcess Text Threading Runtime InteropServices Remoting
Serialization
Compilation in .NET
Code in VB.NET Code in C# Code in another .NET Language
VB.NET compiler
C# compiler
Appropriate Compiler
Assembly
An Assembly is a logical unit of code Assembly physically exist as DLLs or EXEs Assembly has two types Private assembly Shared aasembly
CLR-based execution
CLR must be able to locate all assemblies:
.EXE .DLL .DLL .DLL
OS Process
JIT Compiler
CLR
Underlying OS and HW
Visual Studio.NET
Development tool that contains a rich set of productivity and debugging features
Summary
The .NET Framework
Dramatically simplifies development and deployment Provides robust and secure execution environment Supports multiple programming languages