120 likes | 278 Views
Microsoft .NET. A platform that can be used for building and running windows and web applications such that the software is platform and device-independent and data are available over the Internet. .NET framework .NET Enterprise Servers (windows 200, SQL server, BizTalk) Visual Studio .NET
E N D
Microsoft .NET • A platform that can be used for building and running windows and web applications such that the software is platform and device-independent and data are available over the Internet. • .NET framework • .NET Enterprise Servers (windows 200, SQL server, BizTalk) • Visual Studio .NET • Building block services (XML web services) • Win32
.NET Framework • Provides the foundation where applications (window or web) and XML web services are built and executed. • Applications and services are developed using common tools and code and are easily integrated to each other. • Common Language Runtime (CLR) • Common Class libraries (CCL)
.NET Framework • Common Language Runtime Handles runtime services including: • Common type system • Mapping of data types. Programming language Framework • Just-in-time (JIT) compilers • JIT compiles intermediary language (MSIL) into native code • Garbage collector • Security • Exception handling …. etc • Common Class Library Reusable code for common tasks such as web and window forms, data access and XML web services
Common Class Library Web forms Windows forms File I/O XML ADO.NET More classes Core System Classes
Namespaces • Namespace: a group of related classes • To make the .NET Class Library easier to work with andunderstand, it's divided into namespaces. • The root namespace of the .NET Class Libraryis called System,it contains core classes and data types • The namespace prevents identical names from colliding by maintaining each set of names in a separate space. • To use classes in a namespace, import it imports System.Web.UI
Common Type System Common Language Runtime .NET Web Services Office.Net ... ... .NET Applications Enterprise Servers Languages: C#, Visual Basic, etc SQL Server BizTalk ... Runtime Services: .NET and COM+ .NET Framework Win 32 Operating System
Thread Support COM Marshaler Type Checker Exception Manager Security Engine Debug Engine MSIL to Native Compilers (JIT) Code Manager Garbage Collector (GC) Common Language Runtime Diagram Base Class Library Support Class Loader
.NET Features • Language independent • Any .NET-based language can run on any .NET supported platform • Common language specification (VB.NET, C#, J#, VC++, …) • Microsoft Intermediate Language (MsIL) • Common type system (CTS) • Device independent • XML is accepted by computers, cell phones, PDA,.. Etc.
Language Compilation Code in VB.NET Code in C# Code in J# VB.NET Compiler C# Complier J# Complier Intermediate Language Code CLR Just-in-time execution
.NET Advantages • Ease of Use • Object-oriented model • Everything is an object • Namespace and Framework structure • Easier to comprehend and use • Naming scheme of namespaces reflects the underlying functionality • Freedom to Choose: • The language that meets your needs • The development tool that is best for you
.NET Advantages • Stability • No memory leaks • Garbage collection manages memory • Security • Deployment and Management • Web Services (reuse software components that reside on other sites)
Visual Studio .NET • A complete development environment where an application or a web service can be designed, developed, debugged and deployed. • Project: A collection of files (items) in an application • Solution: a container for related projects and solution items that can be built into an application • Work on multiple projects within the same instance of the integrated development environment (IDE) • Work on items, settings, and options that apply to the group of projects