Introduction to .NET Framework Ch2 – Deitel’s Book

Slides:



Advertisements
Similar presentations
Introduction to .NET Framework
Advertisements

Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
.NET Technology.
ISYS 512 Business Application Design and Development with.Net David Chao.
CSE3030Lecture 11 Know Your User The First Slogan.
Introduction to the C# Programming Language for the VB Programmer.
ISYS 512 Business Application Design and Development with.Net David Chao.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Tahir Nawaz Visual Programming C# Week 2. What is C#? C# (pronounced "C sharp") is an object- oriented language that is used to build applications for.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 18 Microsoft’s Approach 1 –.NET Mobile Framework Rob Pooley.
Rajeswari Indupuri Introduction to.NET Framework.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Creating and Running Your First C# Program Telerik Software Academy Telerik School Academy.
ISYS 350 Business Application Development
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Introduction to .Net Framework
ISYS 512 Business Application Design and Development with.Net David Chao.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
High thoughts must have high language. Aristophanes
Architecture of.NET Framework .NET Framework ٭ Microsoft.NET (pronounced “dot net”) is a software component that runs on the Windows operating.
 2002 Prentice Hall. All rights reserved. 1 Introduction to Visual Basic.NET,.NET Framework and Visual Studio.NET Outline 1.7Introduction to Visual Basic.NET.
PROGRAMMING IN VISUAL BASIC.NET INTRODUCTION TO VISUAL BASIC.NET Bilal Munir Mughal 1 Chapter-1.
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.
Introduction to Microsoft.Net Session 01 Mata kuliah: M0874 – Programming II Tahun: 2010.
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.
Microsoft Visual Basic 2005: Reloaded Second Edition
Introduction to .NET Rui Ye.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
ISYS 573 Special Topic – VB.Net David Chao. The History of VB Early 1960s:BASIC-Beginner’s All-Purpose Symbolic Instruction Code –Teaching –Simple syntax,
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#
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
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.
ISYS 350 Business Application Development David Chao.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
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.
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.
Introduction to C# Programming with Microsoft.NET AY
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
A Detailed Introduction To Visual Studio.NET CRB Tech ReviewsCRB Tech Reviews introduces you to the world of Visual.
Diploma of Website Development Getting Started With ASP.NET
Introduction ITEC 420.
Introduction to Visual Basic. NET,. NET Framework and Visual Studio
Introducing the Microsoft® .NET Framework
Introduction to .NET framework
.NET Omid Darroudi.
Foundations of .Net Programming with C#
Introduction to Visual Basic 2008 Programming
C# and the .NET Framework
CE-105 Spring 2007 Engr. Faisal ur Rehman
Application Foundation
Part C - Introduction to Programming and the .NET Framework
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
VISUAL BASIC.
Social Media And Global Computing Introduction to Visual Studio
Advanced Programming: C# Lecture 01: Introduction
CIS16 Application Development – Programming with Visual Basic
Introduction to .NET By : Mr. V. D. Panchal Content :
NAMESPACE.
Dot Net Application PROF. S. LAKSHMANAN, DEPT. OF B. VOC. (SD & SA),
DOT NET ARCHITECTURE (OR) DOT NET FRAME WORK ARCHITECTURE
Presentation transcript:

Introduction to .NET Framework Ch2 – Deitel’s Book

Lecture Outline Visual Programming Environment. Introduction to Visual Studio. Introduction to .NET. Introduction to visual studio .NET .NET Framework. Major Components of .NET Framework: Namespaces Framework class library (FCL) Common Language Runtime (CLR) Common Language Specification (CLS)

Visual Programming Environment Environment which allows the use of visual expressions (such as graphics, drawings, animation or icons) in the process of programming.

Visual Programming Environment The technique of Visual Programming allows programmers to create GUI without writing any code. Microsoft Visual Studio .NET is a visual programming environment.

……… First: what is Visual Studio ?? Second: what is .NET ?? Any ideas ??????

1. Introduction to Visual Studio Is the main Integrated Development Environment (IDE) from Microsoft. It can be used to develop console and GUI applications.

1. Introduction to Visual Studio

1. Introduction to Visual Studio Visual Studio includes a code editor supporting some features like IntelliSense.

Introduction to Visual Studio Features IntelliSense: shows the available classes and the methods and properties available on those classes. Designers: Visual Studio includes visual WYSIWYG designers for GUI and other applications. Debugging: is the ability to step through your application line by line as it is executing. Organization: it provides intuitive methods for organizing your various code files into projects and your various projects into solutions.

1. Introduction to Visual Studio Visual Studio .NET (2002) - New programming language that targets .NET Visual Studio .NET 2003 - First release to support for developing programs for mobile devices. Visual Studio 2005 – Removes .NET only from name. Visual Studio 2008 – Focuses on Windows Vista. Visual Studio 2010 --2012 mostly used.

Now what is .NET ?

2. Introduction to .NET When you hear the name .NET, it gives a feeling that it is something to do only with internet or networked applications. .NET provides solid foundation for developing such web and network applications It is also possible to create many other types of applications.

2. Introduction to .NET The .NET is one over which Web-Based applications can be distributed to variety of devices ( such as cell phones ) and desktop computers. Offers a new programming model that allows programs , created in disparate programming languages , to communicate with each other. Additional information available at Microsoft Web site www.microsoft.com/net

2. Introduction to .NET You can develop such varied types of applications. That’s fine. But how?

2. Introduction to .NET As with most of the programming languages, .NET has a complete Software Development Kit (SDK) - more commonly referred to as .NET Framework SDK It provides classes, interfaces and language compilers necessary to program for .NET. Additionally it contains excellent documentation and Quick Start tutorials that help you learn .NET technologies with ease.

2. Introduction to .NET .NET Development Tools If you are developing applications that require speedy delivery to your customers and features like integration with some version control software then you need some Integrated Development Environment (IDE). The new Visual Studio.NET is such an IDE. VS.NET is a powerful and flexible IDE that makes developing . NET applications a breeze.

So…. VS + .NET = VS.NET VS .NET is: A Visual programming environment; That represents the best development environment for the .NET platform.

Introduction to VS .NET VS .NET comes with: the .NET Framework, several programming languages including Visual Basic, Visual C++, and Visual C#.

Major Components of .NET Framework Framework Class Library (FCL) Common Language Specification (CLS) Common Language Runtime (CLR)

Major Components of .NET Framework 1- Framework class library (FCL) OO, Pre-packaged classes ready for reuse. Used by any .NET language. It contains around 3400 classes classified logically into namespaces. Each class contains numerous methods and properties which you will use for your programming tasks.

2 -Common Language Runtime (CLR) Major Components of .NET Framework  2 -Common Language Runtime (CLR) Central part of framework: is the virtual machine component of the .NET framework. All .NET programs execute under the supervision of the CLR. Compilation process: Two compilations take place: Programs compiled to Microsoft Intermediate Language (MSIL) Defines instructions for CLR MSIL code translated into machine code Machine code for a particular platform

Common Language Runtime Operating System Services CLR: Execution Model Source code VB C# C++ Compiler Compiler Compiler Managed code MSIL Code Common Language Runtime Machine Code Operating System Services

Major Components of .NET Framework Why two compilations? Platform independence - Portability  .NET Framework can be installed on different platforms Execute .NET programs without any modifications to code Language independence – Inter-operability .NET programs not tied to particular language Programs may consist of several .NET-compliant languages Programs written in different languages are all compiled into MSIL—the different parts can be combined to create a single, unified program. The ability of a program to run (without modification) across multiple platforms is known as platform independence. The .NET Framework also provides a high level of language interoperability. Programs written in different languages are all compiled into MSIL—the different parts can be combined to create a single, unified program. Language interoperability offers many benefits to software companies. Visual Basic .NET, C# and Visual C++ .NET developers can work side-by-side on the same project without having to learn another programming language—all their code compiles into MSIL and links together to form one program.

Major Components of .NET Framework 3- Common Language Specification (CLS) The CLR allows objects created in one language be treated as equal citizens by code written in a completely different language. To make this possible, Microsoft has defined the CLS that details for compiler vendors the minimum set of features that their compilers must support if they are to target the runtime. Any language that conforms to the CLS can run on the CLR.

Operating System Services Major Components of .NET Framework  VB C++ C# JScript … Visual Studio.NET CLS ASP.NET: Web Services and Web Forms Windows Forms Windows Forms ADO.NET: Data and XML FCL CLR Operating System Services

Namespaces As said earlier, FCL contains classes classified logically into namespaces. The .NET Framework is a whole lot of Classes (called Namespaces) and the technology to get those Classes to work.

Namespaces Most of the built in classes are part of either System.* or Microsoft.* namespaces. It encapsulates a large number of common functions, such as file reading and writing, graphic rendering, and database interaction, among others. The .NET class libraries are available to all .NET languages.

Namespaces A Namespace is a group of Classes which are grouped together. Namespaces are organized hierarchically. Namespaces developed by .NET team begin with System.

Namespaces If we can explore the System namespace little bit, we can see it has lot of namespace. For example: The System.IO Namespace groups together Classes that you use to read and write to a file. System.Windows.Forms Includes classes for creating Windows based forms .

System.Windows.Forms.Button System.Windows.Forms.TextBox Namespaces A single form is a Class available to Forms: System.Windows.Forms.Form A Button is also part of the Forms Class: System.Windows.Forms.Button As too is a Textbox: System.Windows.Forms.TextBox

Namespaces Use dot syntax to connect namespaces together: A period separates each namespace name System.Drawing System.Windows.Forms System.Data

Namespaces Some Namespaces and their use: System: Includes essential classes and base classes for commonly used data types, events, exceptions and so on System.Data: Includes classes which lets us handle data from data sources System.Drawing: Provides access to drawing methods System.Net: Provides interface to protocols used on the internet System.Web: Includes classes and interfaces that support browser-server communication

The Organization of Namespaces System namespace System Drawing namespace System.Drawing Windows.Forms namespace System.Windows.Forms Data namespace System.Data Printing namespace System.Drawing.Printing