CIS205 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#

Slides:



Advertisements
Similar presentations
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.
Advertisements

An Introduction to Visual Basic Terms & Concepts.
MC697 Object-Oriented Programming Using Java. In this class, we will cover: How the class will be structured Difference between object-oriented programming.
Windows Programming 1 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#
Introduction to.NET What is.NET?  A vision Web sites will be joined by Web services New smart devices will join the PC User interfaces will become more.
The Microsoft View: Module 1: Getting Started. Copyright Course 2559B, Introduction to Visual Basic®.NET Programming with Microsoft®.NET. Lecture 1 Microsoft.
Microsoft.Net Technology Sachin Shetty Vimal Amin Thomas Mullasaril Vinutna Pulavarti Software Engineering CS616 Instructor:Dr.Tappert.
Object Oriented System Development with VB .NET
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Introduction to the C# Programming Language for the VB Programmer.
ISYS 512 Business Application Design and Development with.Net David Chao.
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
J2EE vs..NET Nigam Patel. Topics Background –Web Services, J2EE and.NET Similarities Differences Conclusion –Pros and Con (J2EE and.NET)
Chapter 10 Application Development. Chapter Goals Describe the application development process and the role of methodologies, models and tools Compare.
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
CMSC 202 Computer Science II for Majors Fall 2009 Introduction.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
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.
Introduction 01_intro.ppt
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
1 Why C# and Why.NET in the Undergraduate IS Curriculum ISECON November 3 -7, 2004, Newport, RI Association of Information Technology Professionals Mehdi.
Programming Languages: Telling the Computers What to Do Chapter 16.
Advanced Java New York University School of Continuing and Professional Studies.
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.
CSC300 Visual Programming Dr. Craig Reinhart. Objectives Teach the basics of C++ –You won’t be an expert but hopefully a very good novice –GUI development.
1 8/29/05CS360 Windows Programming Professor Shereen Khoja.
© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
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.
Module 1: Introduction to C# Module 2: Variables and Data Types
 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.
Session 1 - Introduction and Data Access Layer
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
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.
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
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
CMSC 202 Computer Science II for Majors Object-Oriented Programming.
An Introduction to Visual Basic
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,
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.
Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
C# AND ASP.NET What will I do in this course?. MAJOR TOPICS Learn to program in the C# language with the Visual Studio IDE (Interactive Development Environment)
1 Visual Studio.NET.NET as a Teaching Tool John D. Haney John M. Lovely Northern Arizona University College of Business Administration.
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.
Module 1: Overview of the Microsoft .NET Framework
1.
Visual Studio.NET Using J# Based on Microsoft.NET Training Summer 2004 Slides adapted from
CIS 375—Web App Dev II ASP.NET 1 Getting Started.
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.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
A Detailed Introduction To Visual Studio.NET CRB Tech ReviewsCRB Tech Reviews introduces you to the world of Visual.
Chapter 13 Web Application Infrastructure
Introduction to Visual Basic 2008 Programming
Introduction to .NET Framework Ch2 – Deitel’s Book
An Introduction to Visual Basic
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
Web Development Using ASP .NET
Presentation transcript:

CIS205 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#

3 Programming Platforms 2 Visual Studio.NET Java Open Source (LAMP) Platform WindowsAll platformsLinux Architecture.NET architectureJava Virtual Machine Apache Server Databases supported Several DBMS MySQL Programming languages supported C++, C#, VB, J#, and some third party languages JavaPHP Advantages Visual Designer for GUIs; ASP.NET for web pages Applets for client; Servlets, JSPs for web pages Free

3 The Visual Studio.NET IDE Visual Studio.NET is an Integrated Development Environment (IDE). It contains: –the Designer which makes it easy to create Graphical User Interfaces (GUIs) –a context-sensitive text editor –various language compilers (we will be using C#) –a runtime environment for testing/debugging our code Visual Studio.NET can be used with other programming languages such as C++ and Visual Basic.

4 The.NET Framework Common Language Specification ASP.NET: Web Services and Web Forms Windows Forms ADO.NET: Data and XML Framework Class Library Common Language Runtime VB C++ C# J# … Visual Studio.NET

Procedural programming + classes Where Does C# Fit? BCPL B C C++ C++ C++.NET BASIC Visual BASIC BASIC.NET MS Visual C# combines the best features of C/C++, Java, and VB in a new visual, fully object-oriented, event- driven programming language designed for use with the.NET platform. Procedural programming + classes MS Sun Microsystems Java GUIs Web Programming Fully OOP ANSI/ISO MS Visual C#.NET

6 Programming Windows with C# A new language designed specifically for.NET Fully object-oriented Type safe language Built-in Visual Editor for GUI development Fundamental programming syntax resembles that of C++ and Java

7 Importance of C# Microsoft wrote much of.NET system programming in C# and is currently writing next version of Windows (Longhorn) in C#. In “Special Report: Security”, PC Magazine, pg 78, 8/3/04 issue: “ ‘In the course of putting together Longhorn,’ says Nash, [of Microsoft] ‘… we’re making sure that in the design phase, the implementation phase, as we build the product, we’re looking for security and quality issues.’ The company is also using design tools that are far more conducive to building secure code. It has discarded notoriously insecure languages like C and C++ in favor of C# and the Microsoft.NET platform.”

8 C# Features A considerable amount of pre-defined code resides in the Framework Class Library (FCL). C# can be used to develop –Console applications (procedural programming) –Interactive Windows Forms applications (GUIs) –Web Services (server programs) –Interactive Web Forms (via ASP.NET) Like other.NET languages, code is compiled first into MSIL (MS Intermediary Language) and then into machine language.

Objects Object Oriented Terminology

10 Classes (templates) Classes are patterns for objects. You might think of a class as a cookie cutter and a set of objects as cookies created with that cutter (class). An object is an instance of a class, and the process of creating an object is called instantiation. Class Objects

11 Classes A class is code that defines the attributes and operations of an object. In this course, we may define some custom classes. But mostly, we will use classes that already exist in.NET libraries. It is not necessary for a programmer who uses a pre-existing class to know or understand its code structure. This concept is called encapsulation.

12 Objects (nouns) An object is a person, place or thing. Objects are instances of classes (template for object). All objects have attributes (variables) and operations (methods). What class would each of the pictured objects belong to?

13 Attributes (adjectives) Attributes (variables) are characteristics of an object. All vehicle objects have make, model, color, number of doors, and fuel type. These attributes (variables) are described in the class definition (template for objects). The pictured vehicle is a blue Smart forTwo with 2 doors that runs on regular gasoline; these characteristics represent values assigned to attributes of this specific vehicle object.

14 Operations (verbs) Operations (methods) are actions related to an object. The code associated with these operations (methods) is part of the class definition. You might purchase, sell, repaint, or crash a vehicle. These operations may affect the values of the attributes of the vehicle object.