The .NET Framework is a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large library and provides language interoperability across several programming languages.
The .NET Framework family also includes two versions for mobile or embedded device use. A reduced version of the framework, the .NET Compact Framework, is available on Windows CE platforms, including Windows Mobile devices such as smartphones. Additionally, the .NET Micro Framework is targeted at severely resource-constrained devices.
The .NET Framework introduces a Common Type System, or CTS. The CTS specification defines all possible data types and programming constructs supported by the CLR and how they may or may not interact with each other conforming to the Common Language Infrastructure (CLI) specification. As a result the .NET Framework supports the exchange of types and object instances between libraries and applications written using any conforming .NET language.
Reality though, it is mostly (only) used on Microsoft systems due to the easy integrations.
AimLecturer: Jareed Eve;2 To provide learners with an understanding of theprinciples of programming using a .NETframework as an underpinning technologicalconcept in the fields of programming and systemsdevelopment.
Learning OutcomesLecturer: Jareed Eve;31. Understand the principles of programming usinga .NET framework.2. Be able to design .NET solutions3. Be able to implement .NET solutions4. Be able to test and document .NET solutions.
Learning Objectives OverviewLecturer: Jareed Eve;6 What is .NET Version History Design Features .NET Languages
What is .NETLecturer: Jareed Eve;7 The .NET Framework is a software frameworkdeveloped by Microsoft Programs written for the .NET Frameworkexecute in a software environment, known as theCommon Language Runtime (CLR) CRL - An application virtual machine that providesservices such as security, memory management,and exception handling. The class library and the CLR together constitutethe .NET Framework.
The .NET Framework is an environment forbuilding, deploying, and running Mobile, Desktop,Web Applications and Web Services. Microsofts first server technology ASP (ActiveServer Pages), was a powerful and flexible"programming language". But it was too codeoriented. It was not an application framework andnot an enterprise development tool. The Microsoft .NET Framework was developed tosolve this problem.MS .NET Framework
.NET Frameworks Advantages: Easier and quicker programming Reduced amount of code Declarative programming model Richer server control hierarchy with events Larger class library Better support for development toolsMS .NET Framework
Version History 1Lecturer: Jareed Eve;10 Microsoft started development of the .NETFramework in the late 1990s (Next GenerationWindows Services (NGWS)). The first beta versions of .NET 1.0 were releasedin 2000. Version 3.0 of the .NET Framework is includedwith Windows Server 2008 and Windows Vista. Version 3.5 is included with Windows 7 andWindows Server 2008 R2, and can also beinstalled on Windows XP and Windows Server2003. On 12 April 2010, .NET Framework 4 wasreleased alongside Visual Studio 2010.
Design Features 1Lecturer: Jareed Eve;12 Interoperability Common Language Runtime engine Language independence Base Class Library Security Simplified Deployment Portability
Design Features: InteroperabilityLecturer: Jareed Eve;13 Ability of a system to work with or use the parts ofanother system Because computer systems commonly requireinteraction between newer and older applications,the .NET Framework provides means to accessfunctionality implemented in newer and olderprograms that execute outside the .NETenvironment.
Design Features: CLR EngineLecturer: Jareed Eve;14 It provides many services such as Automatic garbage collection Code access security Simplified versioning Simple and reliable deployment Deep cross-language interoperability Debugging across different languages Performance Scalability
Design Features: LanguageIndependenceLecturer: Jareed Eve;15 It is possible to use .NET from manyprogramming languages because they have allagreed on some standards. The Common Type System or CTS is aspecification that defines the different data typesand programming constructs. Regardless of where languages come from orwhy people choose them, the .NET framework isa feature rich library that helps with the rapiddevelopment of computer systems.
Design Features: Base Class LibraryLecturer: Jareed Eve;16 A library of functionality available to all languagesusing the .NET Framework. The BCL provides classes for common functions File reading and writing, Graphic rendering, Database interaction, XML document manipulation, etc. It consists of classes, interfaces of reusable typesthat integrates with CLR(CommonLanguage Runtime).
Design Features: SimplifiedDeploymentLecturer: Jareed Eve;17 The .NET Framework includes design featuresand tools which help manage the installation ofcomputer software It ensures that it does not interfere with previouslyinstalled software It conforms to security requirements.
Design Features: SecurityLecturer: Jareed Eve;18 The design addresses some of the vulnerabilities Example: buffer overflows, which have beenexploited by malicious software. .NET provides a common security model for allapplications
Design Features: PortabilityLecturer: Jareed Eve;19 The framework was designed to be platform-agnostic, and cross-platform implementations areavailable for other operating systems. Microsoft submitted the specifications for theCommon Language Infrastructure, the C#language, and the C++/CLI language to bothECMA and the ISO, making them available asofficial standards. This makes it possible for third partiesto create compatible implementations ofthe framework and its languages on otherplatforms.