Discuss the principles, characteristics and features ofA programming using a .NET framework.
The .NET Framework is created as an integrated environment for seamlessly developing and running applications on the internet, on the PC as Windows Forms, and even on the compact Framework mobile devices.
The Main goals are:
1.Provide scenario across a wide range of programs.
2.Provide a scenario that reduces the (DLL) versioning conflicts that is tackled by COM programmers
3.Simplification of the code installation and distribution steps.
4.Supply portable environment.
5.Supply managed scenario in which code is better verified for safer execution.
To gain these broad objectives, .NET Framework is divided into 2 steps:
1.CLR (Common Language Runtime)
2.FCL (Framework Class Library)
Q: B. For M1 – Provide a detailed explanation including also a diagram of the
.Net framework architecture.A‚A A‚A
The Microsoft.Net Framework serves as platform for tools and technologies you require to develop Networked pragmas, Web Applications, and Distributed Web Services. Net Framework supplies the required run-time and compile-time basis to develop and execute any language that is compliant to Common Language Specification(CLS). The major components of.Net Framework are Common Language Runtime(CLR) and the.Net Framework Class Library(FCL). The Common Language Runtime(CLR) is a runtime environment of the.Net Framework, that runs and manages all avail code like a Virtual environment. The .Net Framework Class Library(FCL) is a massive collection of language-independent and type-safe reusable sets. The .Net Framework Class Libraries (FCL) are grouped into a logical grouping according to their specific functionality and usability and it is referred as Namespaces.
Task 2: P1.2 the student:
Q: With the use of diagram critically compare at least 2 different types of
.NET framework architectures.
Microsoft.NET framework architecture is the model of programming for the.NET platform. The .NET Framework architecture supplies a controlled execution scenario, simplified integration and creation and deployment with a wide selection of programming languages.
The .NET FrameworkA‚A architecture class library is a comprehensive, object-oriented sets of reusable methods a developer can utilise to build applications. The .NET Framework architecture class library incorporates ADO.NET, ASP.NET, and Windows Forms.
(CLR)A‚A Common language runtime is the main runtime engine core for executing applications with in the enviorment . Common language runtime CLR is a safe areaA‚A a “sandboxA‚A where the .NET code runs.
Code that runs with in the CLR is referred as “A managed code”. It is highly guarded from the external environment and fully optimized within, gaining advantage of the methods that the CLR supplies such as security, performance, deployment facilities, and memory control, this also includes garbage collection.
For P1.3 – Critically evaluate the two components found in the .NET framework architecture.
As previously mentioned, .NET Framework is a platform that supply tools and mechanism to build Windows applications.
Two common components are.
Common language Runtime (CLR)
.NET Framework Class library
Common language Runtime (CLR)
.Net Framework supplies runtime environment called Common Language Runtime CLR. It supplies an environment to launch all the .Net applications. The code running under the CLR is called as Managed Code.
CLR is also in charge of managing the memory and threating of it’s running apps.
The Microsoft Intermediate Language (MSIL) is a Programing language used as the exodus of a multiple compilers (C#, VB, .NET).
The ILDasm (Intermediate Language Disassembler) program that ships with the .NET Framework SDK (FrameworkSDKBinildasm.exe) allows the user to see MSIL code in human-readable format.
Net framework Class Library (FCL)
FCL supplies UI, data access, DB connection, cryptography, web apps development, numeric algorithms, and network communications. Developers code software by merging their own source code with .NET Framework together with other libraries.
.NET Framework is created to be used newer apps developed for Windows platform. Microsoft also developed an integrated development environment largely for .NET software called Visual Studio.
BCL is a superset of FCL and refers to the entire class library that ships with .NET Framework.
It includes an expanded set of libraries, including ASP.NET and windows form among others. BCL is larger in scope than standard libraries for languages like C++