C# and.NET. .NET Architecture  Compiling and running code that targets.NET  Advantages of Microsoft Intermediate Language (MSIL)  Value and Reference.

Slides:



Advertisements
Similar presentations
Introduction to .NET Framework
Advertisements

Visual Basic.NET A look into the.NET Programming Model Bryan Jenks Integrated Ideas ©2005.
History of.Net Introduced by Microsoft Earlier technology was VC++ and VB VC++ comes with so many library and VB was so easy to use and not flexible to.
Windows Programming 1 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#
Object Oriented Paradigm An evolutionary path. Programming At Its Infancy A program is a single block of procedural code Disadvantages: Reusability is.
.NET Framework Overview Pingping Ma Nov 16 th, 2006.
Overview of the.NET Framework. What is the.NET Framework A new computing platform designed to simplify application development A consistent object-oriented.
Object Oriented System Development with VB .NET
Introduction to the C# Programming Language for the VB Programmer.
Introducing the Common Language Runtime for.NET. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution.
University of Virginia CSharp (© John Knight 2005) 1 What’s New In C#
Introducing the Common Language Runtime. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution engine.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
Rajeswari Indupuri Introduction to.NET Framework.
Chapter 12 Microsoft Assemblies. Process Phases Discussed in This Chapter Requirements Analysis Design Implementation ArchitectureFramework Detailed Design.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Overview of Microsoft.Net and Vb.Net ITSE 2349 Spring 2002 Material from Microsoft.Net an Overview for ACC faculty by Stuart Laughton and Introduction.
1 Introduction to.NET Framework. 2.NETFramework Internet COM+ Orchestration Orchestration Windows.NET Enterprise ServersBuildingBlockServices Visual Studio.NET.
.NET Framework Introduction: Metadata
Introduction to .Net Framework
ISYS 512 Business Application Design and Development with.Net David Chao.
VS.NET Syllabus By Peter Huang.
Chapter 1. C# is a programming language – Designed to generate codes that targeted to use with.NET framework – Language based on object-oriented & component.
Architecture of.NET Framework .NET Framework ٭ Microsoft.NET (pronounced “dot net”) is a software component that runs on the Windows operating.
Module 1: Introduction to C# Module 2: Variables and Data Types
Session 1 - Introduction and Data Access Layer
C# A 1 CSC 298 Introduction to C#. C# A 2 What to expect in this class  Background: knowledge of an object oriented language of the C++, Java, … family.
11 Getting Started with C# Chapter Objectives You will be able to: 1. Say in general terms how C# differs from C. 2. Create, compile, and run a.
.NET Framework & C#.
What is.NET?.NET is a "revolutionary new platform, built on open Internet protocols and standards, with tools and services that meld computing and communications.
Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a library for.
C# And.NET Architecture. C# is a relatively new programming language, and is significant in two respects:  It is specifically designed and targeted for.
Appendix D: Microsoft.NET Framework Overview. Overview.NET Framework Architecture.NET Namespaces.
 Internet providing backbone for applications  Use of several web sites and devices to provide one complete solution  Software as services  Quick software.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
Compiling and Executing Code in.Net Microsoft Intermediate Language and Common Language Runtime.
Introduction .NET Framework
C# Overview and Features. Content I.History of C# II.Architecture III.How to install IV.Features V.Code Sample VI.Microsoft.NET Platform VII.Why use C#
Component-Based Software Engineering Introduction to.NET Paul Krause.
.NET Framework Danish Sami UG Lead.NetFoundry
Programming in C#. I. Introduction C# (or C-Sharp) is a programming language. C# is used to write software that runs on the.NET Framework. Although C#
Introduction to .NET Framework
Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated.
1 C# A brief overview by Jack Senechal and Bryan Powell.
tom perkins1 XML Web Services -.NET FRAMEWORK – Part 1 CHAPTER 1.1 – 1.3.
By: PHANIDEEP NARRA. OVERVIEW Definition Motivation.NET and J2EE Architectures Interoperability Problems Interoperability Technologies Conclusion and.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
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.
Getting Started with.NET Getting Started with.NET/Lesson 1/Slide 1 of 31 Objectives In this lesson, you will learn to: *Identify the components of the.NET.
Object Oriented Software Development 4. C# data types, objects and references.
Common Language Runtime Introduction  The common language runtime is one of the most essential component of the.Net Framework.  It acts.
ISYS 512 Business Application Design and Development with.Net David Chao.
INTRODUCTION CHAPTER #1 Visual Basic.NET. VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed.
July 22, 2001Introduction to.NET1 Introduction to.NET Framework Gholamali Semsarzadeh July 2001.
The Execution System1. 2 Introduction Managed code and managed data qualify code or data that executes in cooperation with the execution engine The execution.
Text Introduction to.NET Framework. CONFIDENTIAL Agenda .NET Training – Purpose  What is.NET?  Why.NET?  Advantages  Architecture  Components: CLR,
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
METADATA IN.NET Presented By Sukumar Manduva. INTRODUCTION  What is Metadata ? Metadata is a binary information which contains the complete description.
.Net Online Training. Introduction to.Net Microsoft.NET is a software Framework includes Framework class library and provides language interoperability.
Intro to ASP.NET CS-422 Dick Steflik. What is.NET As applications in the Enterprise become more and more netcentric and less and less standalone.NET is.
D OTNET ONLINE TRAINING. DOTNET Online Training Course Content : Introduction to.Net Online Training NET FUNDAMENTALS Why Dot Net? The Dot Net initiative.
Introduction to the Microsoft.NET Framework Chris Wastchak Student Ambassador to Microsoft.
Introduction Enosis Learning.
Introduction to C# AKEEL AHMED.
Introduction Enosis Learning.
.Net Framework Details Imran Rashid CTO at ManiWeber Technologies.
Module 10: Implementing Managed Code in the Database
DOT NET ARCHITECTURE (OR) DOT NET FRAME WORK ARCHITECTURE
Presentation transcript:

C# and.NET

.NET Architecture  Compiling and running code that targets.NET  Advantages of Microsoft Intermediate Language (MSIL)  Value and Reference Types  Data Typing  Understanding error handling and attributes  Assemblies,.NET base classes, and namespaces

The Relationship of C# to.NET  C# is always used within the.NET Framework, hence: 1.The architecture and methodologies of C# reflect the underlying methodologies of.NET 2.In many cases, specific language features of C# depend on features of.NET or the.NET base classes.  Because of this dependence: Understanding of he architecture and methodology of.NET is required prior to C# programming.

C# Programming 1.Specifically designed for.NET 2.Language is based on present day understanding of design methodologies and Object oriented Principles 3.Must understand.NET framework in order to develop applications in C# effectively.

The Common Language Runtime  CLR (Common Language Runtime) is central to understanding C#  Commonly CLR is often termed managed code.  Compilation of C# (and many other languages) occurs in two steps: 1.Compilation of source code to so called Intermediate Langue (IL) 2. Compilation of IL to platform-specific code by CLR.

Support for Object Orientation and Interfaces .NET implementation has practical limitations  IL (Intermediate Language) uses a single implementation inheritance of classes.  Working with.NET implies compiling to IL  This in turn means usage of object oriented-programming methodologies  Object Oriented Programming is not sufficient to give you interoperability (e.g., C++ and Java are not interoperable in spite of using the same object oriented programing paradigm).

Language Interoperability  So what is exactly language interoperability?  Initially through COM  used to interface various modules of different languages  allowing them to communicate with each other, and/or  instantiate each others modules,  In no way did COM  components written in different languages directly communicate with each other, and/or  Instantiate each others modules  => this was done only through COM intermediation.  In addition COM architecture did not permit implementation inheritance => loss of many Object Oriented Programming features  Debugging requires each component to be debugged independently,  It was not possible to step between languages in the debugger,  Language Interoperability means that classes written in one language were able to directly invoke classes written in another language.  This was achieved in.NET with IL!

Distinct Value and Reference Types  Strong Distinction between:  Value:  variables directly stores its data,  Typically stored on the “stack,” and  Reference:  variables that store the address at which the corresponding data can be found  Located in are of memory know as “managed heap”

Strong Data Typing  IL is based on “Exceptionally Strong Data Typing”.  Gaines afforded by of enforcing this feature outweighs the performance losses:  Language Interoperability  Garbage Collection  Security  Application Domains: Designed to ease the overhead involved when  Running application that need to be isolated from each other, but  Need to communicate with each other.