Skip to main content

Net FrameWork (Basic Concepts)



.Net Framework (Basic Concepts) :

.Net Framework (Basic Concepts) 1 Amrita Academy For Career Excellence

Overview of the .NET Framework :

Overview of the .NET Framework Software development environment which helps developers to develop applications quickly and gives optimum, efficient, scalable, performance oriented applications in different languages like Visual Basic .NET, C#, ASP.NET, and Jscript .NET etc... 2 Amrita Academy For Career Excellence

Slide 3:

Services NET Framework provides the following services: Tools for developing software applications , run-time environments for software application to execute, server infrastructure, value added intelligent software which helps developers to do less coding and work efficiently. The .Net Framework will enable developers to develop applications for various devices and platforms like windows application web applications windows services and web services. 3 Amrita Academy For Career Excellence

Slide 4:

Objectives A consistent object-oriented programming environment, where object code can be stored and executed locally, executed locally but Internet-distributed, or executed remotely. A code-execution environment that minimizes software deployment and versioning conflicts. Developers can experience consistency across widely varying types of applications, such as Windows-based applications and Web-based applications. Build all communication on industry standards to ensure that code based on the .NET Framework can integrate with any other code. 4 Amrita Academy For Career Excellence

Understanding the .NET Framework Architecture :

Understanding the .NET Framework Architecture The .NET Framework has two components: the .NET Framework class library and the common language runtime. The .NET Framework class library facilitates types (CTS) that are common to all .NET languages. The common language runtime(CLR) consists of (class loader) which compiles the IL code into native code, and executes and manage the code to enforce security and type safety, and provide thread support. 5 Amrita Academy For Career Excellence

.NET Framework Architecture :

.NET Framework Architecture 6 Amrita Academy For Career Excellence

.NET Framework class library :

.NET Framework class library integral component of the .NET Framework consists of object-oriented collection of reusable classes (types) ranging from traditional command-line or any graphical user interface (GUI) applications such as Windows Forms, ASP. NET Web Forms and Windows Services the newly invented XML Web services. 7 Amrita Academy For Career Excellence

Slide 8:

Common Language Infrastructure Provides language-agnotic platform for applicaton development and execution. Includes functions for event handling, garbage collection, security, interoperability the code supported by CLS-compliant language should be compiled into an intermediate language (IL) code. The CLR engine executes the IL code. Microsoft’s implementation of CLI is CLR 8 Amrita Academy For Career Excellence

The common language runtime (CLR) :

The common language runtime (CLR) the foundation of the .NET Framework manages code at execution time (fundamental principle) Services such as memory management, thread management, and remoting while also enforcing strict type safety facilitates with code accuracy that ensure security and robustness Code that targets the CLR is known as managed code, while code that does not target the CLR is known as unmanaged code. 9 Amrita Academy For Career Excellence

Slide 10:

Composed of 4 primary parts Common Type System Common Language Specification Metadata Virtual Execution System Features Common Type System Just-in-time Compiler Security Support Garbage collection and Memory management Class Loader COM interoperability 10 Amrita Academy For Career Excellence

Steps of Compilation :

Steps of Compilation VB Code C# Code Other Code VB Compiler C# Compiler Other Compiler Common Language Runtime (CLR) Microsoft Intermediate Language (MSIL) WIN 32 API – Operating System 11 Amrita Academy For Career Excellence

END :

END Amrita Academy For Career Excellence 12

Comments

Popular posts from this blog

WPF Tutorials - Binding Validation Rules

Bindings are a major part of WPF, and a big part of what makes it quick to create user interfaces in. They can be a little wordy and hard to debug sometimes, but overall they are extremely useful. Hopefully, after today's tutorial, you will find them even more useful - because today we are going to talk about building validation rules right into your bindings. Yup, you heard right - bindings in WPF have built in support for validation, and a number of the common controls have built in ways for displaying validation errors. Today we are going to build a simple little WPF application that has a TextBox in which the user is supposed to enter an IP Address (a v4 address - I was lazy and didn't want to write a validator for ipv6 as well :P). Below you can see a screenshot of the the app in action: A valid IPv4 address An invalid IPv4 address So the first thing that we need to do to add validation to a binding is to create a validation ru...

WPF Tutorial - Command Bindings and Custom Commands

Well, today we are going to take a look at the other side of that - creating and using your own custom command and command bindings. First we will take a look at setting up our own bindings to existing commands, and then we will see how to create our own commands from scratch. So an important thing to know, in order for command binding to make sense, is that (like many things in WPF) commands bubble. So when a command is triggered, it bubbles up along the WPF element tree from its origin (the command target, which we talked about in the previous tutorial), looking for an element that recognizes and can handle the command. The way that you can set up an element to handle a command is by creating a command binding. This can be done in either XAML or the code behind code - and we are going to take a look at the XAML first. <Window x:Class = "CustomCommandTest.CommandWindow"     xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation"     ...

WPF Tutorial - Using The Built-In Commands

One of the features that WPF has is actually a blast from the past - something that MFC used to have, but was never included in WinForms. This is the concept of Commands. Commands are somewhat like events in that they are based on actions in the user interface, a command can get triggered (just like an event). But unlike regular events like 'click', commands are built in a way that makes it very easy to expose the same functionality at multiple places in an interface, with very little code duplication. On of the very useful features of commands is the fact that you actually get an automatic form of two way communication between the interface elements and the command they are bound too. This is because a command is made up of two main elements - Execute and CanExecute . So unlike in the regular world of events, when an action becomes unavailable, you can just have the CanExecute part of the command return false - and everything hooked to that command becomes d...