Trusted Components. Reuse, Contracts and Patterns. Prof. Dr. Bertrand Meyer Dr. Karine Arnout

Size: px
Start display at page:

Download "Trusted Components. Reuse, Contracts and Patterns. Prof. Dr. Bertrand Meyer Dr. Karine Arnout"

Transcription

1 1 Last update: 2 November 2004 Trusted Components Reuse, Contracts and Patterns Prof. Dr. Bertrand Meyer Dr. Karine Arnout

2 2 Lecture 26: Component model: The.NET example

3 Agenda for today 3 What is.net? C# basics Eiffel for.net

4 What.NET is not? 4 NOT a programming language: C# is not.net and.net is not C# NOT an operating system (yet).

5 What.NET is 5 An open-language platform for enterprise and Web development.

6 The scope of.net 6.NET addresses almost everyone: The general public New user-friendly services Businesses Help improve B2B relationships. Developers Security Programming-language interoperability Component-based development Versioning Memory management

7 The.NET architecture 7 Web services Open interchange formats Frameworks & libraries Specific language compilers Language interoperability Development environment Compilation, execution Underlying platform UDDI, WSDL, Passport XML & SOAP ASP.NET, Windows Forms, Remoting C#, Visual Basic.Net, Managed C++, Cobol, Eiffel for.net Common Language Specification (CLS) Visual Studio.Net Common Language Runtime (CLR) Hardware, Operating system, database system

8 The Common Language Runtime 8 Basic set of mechanisms to execute.net programs. Virtual machine based on internal code: MSIL. MSIL: not interpreted but jitted to native platform. Built-in security mechanisms.

9 The.NET execution model 9

10 .NET specific vocabulary 10 Managed code: Native code for the target platform, intended to run under the control and with the help of the CLR. Ex: C#, Eiffel for.net, Managed C++ Unmanaged code: Native code that doesn t rely on the CLR. Ex: Classic Eiffel, Unmanaged C++

11 The assembly 11 Compiled form of a set of classes The.NET unit of reuse (.exe or.dll ) May be shared or private. Notion of Global Assembly Cache Contain: MSIL code (not binary code) Metadata (interface information) Can be viewed with ILDasm.

12 The Global Assembly Cache 12

13 .NET core assembly (mscorlib.dll) 13

14 .NET libraries (1/2) 14 System Namespace What for? Basic types: Int32, String System.Collections System.Data System.Drawing System.Net System.Runtime.Remoting System.Security Collection types: ArrayList Relational database management GDI graphics Network communications Distributed computing Security features

15 .NET libraries (2/2) 15 Namespace System.Text System.Text.RegularExpressions System.Threading System.Timers System.Web.UI.WebControls System.Windows.Forms What for? ASCII, Unicode, etc. encoding Regular expressions handling Thread support Raising time-controlled events Graphical Web controls Graphical controls: Button See the Reference documentation for more information.

16 Towards new services 16 A (demo) conference registration page

17 Successful registration 17

18 Passing erroneous data 18

19 About this demo 19 Some of what this demo illustrates: ASP.NET (Active Server Pages.NET) Server-side mechanisms, server controls Debugging Web applications like traditional ones Our first C# example Multi-language development (C#, Eiffel for.net)

20 The ASP.NET source 20

21 Multi-language support 21 C++ C# Eiffel... Framework Windows

22 Languages on.net (1/3) 22 Microsoft languages Visual Basic.Net C# Managed C++ Jscript Commercial languages (see next) Research languages (see next)

23 Languages on.net (2/3) 23 Commercial offerings from 3 rd parties: Cobol (Fujitsu) Eiffel for.net (Eiffel Software) Smalltalk (QKS) Java (JUMP program) Perl, Python (ActiveState) APL (Dyadic) Fortran (Fujitsu) Fortran (Salford Software)

24 Languages on.net (3/3) 24 Research languages: CAML (INRIA) Mercury (Melbourne Uni.) Scheme Oberon (ETH, Zürich) Component Pascal (QUT) Haskell (Universities, Microsoft Research UK)

25 Full interoperability 25 Cross-language Inheritance Classes can inherit from each other, regardless of language of origin. No need for wrappers No IDL Debugging sessions In Visual Studio.Net Exceptions

26 Full interoperability: the price to pay 26 Must conform to the.net object model (VOS, Virtual Object System): The type system Object-oriented principles (type, inheritance) Too much for some (non-o-o languages) Too little for some: multiple inheritance (Eiffel) Difficult features: overloading Must observe the Common Language Specification (CLS)

27 Common Language Specification 27 Set of rules more restrictive than the.net object model to determine compatibility. Part of the ECMA standard Three levels: Producer ( framework ) Consumer Extender

28 CLS rules example 28 (Overloading) Methods and events that have the same name must be distinguished by at least one argument type. Producer: Must mark any offending methods/events as non-cls-compliant. Consumer: Need not accept types that violate these rules, except if marked non-compliant. Extender: Need not provide syntax for defining types that violate this rule.

29 The.NET type system 29 Type Value Reference Class Interface Pointer Integer type Built-in Floating type Typed ref Enums Structureequivalent Nameequivalent Boxed value type Boxed enum Userdefined Array Unmanaged Delegate Function Managed

30 Value vs. reference types 30 Value types denote values (simple value or objects). Reference types denote location of values.

31 Simple value vs. object 31 A simple value cannot by itself identify its type. Ex: int32, float 32 A simple value 342 An object carries its own type description. An object Fields Type info 342 "A string"

32 Value vs. reference types 32 Every value type has a corresponding reference type: its boxed version. Some reference types have a corresponding value type: an unboxed version. Limitation: Inheritance and interfaces apply only to reference types. Boxed Unboxed Type info

33 Built-in types 33 bool char int8, int16, int32, int64 unsigned int8, unsigned int16, unsigned int32, unsigned int64 native int, native unsigned int float32, float64 System.object, System.string typedref *not in CLS

34 Agenda for today 34 What is.net? C# basics Eiffel for.net

35 The C# language 35 Simplified version of C++ Benefits from the Java experience The native language of the.net framework

36 C# and Java 36 Object-oriented: classes, objects, dynamic allocation, inheritance, polymorphism, dynamic binding Type-safe by default (no C++ casts) Support for overloading Support for garbage collection No multiple inheritance from classes No genericity

37 C# vs. Java 37 Coherent type system Close integration with other languages Compiler directives Every piece of software is in a class Variables initialized automatically Event-delegate model Properties Exception handling

38 Hello World! in C# 38 using System; public class Hello { static void Main() { Console.WriteLine( Hello World! ); } } Compiler command line: csc Hello.cs

39 Classes 39 A class consists of members: Fields Methods Properties Events

40 Methods 40 Algorithms associated with the class Work on an instance (unless static). Instance calls or virtual calls A virtual method may be overridden in a descendant class. A virtual method may be marked final.

41 Information hiding (1/2) 41 Access every object through the official operations of its interface. Possible member status: Public Private Family: descendant types only Assembly Family and assembly Family or assembly

42 Information hiding (2/2) 42 Direct field modification (e.g. C++, Java): heater.temperature := 19! Proper O-O technique: set_temperature (t: INTEGER) is do if not in_range (t) then -- Error else temperature := t notify_observers end end

43 The.NET solution: Properties 43 public class Heater { private int TemperatureInternal; public int Temperature { } get {return TemperatureInternal;} set { } if (! InRange (value)) { throw new ArgumentException ( Temperature out of range"); } TemperatureInternal = value; NotifyObservers;

44 Events and Delegates 44 Purpose: Event-driven programming A delegate is an object representing a method of a particular class (like function pointer, but typed). Basic methods on delegates: Invoke BeginInvoke EndInvoke Associate one or more delegates with each event. No way to specify closed arguments

45 Setting an event handler 45 Button ClickMe = new Button (); ClickMe.Text = "Click me!"; ClickMe.Location = new System.Drawing.Point (200, 30); ClickMe.Size = new System.Drawing.Size (30, 10); EventHandler MyHandler = new EventHandler (this.buttonclicked); ClickMe.Click += MyHandler; void ButtonClicked (Object sender, EventArgs args) { }

46 The event definition 46 public class Button { public event EventHandler Click; } protected void OnClick (EventArgs e) { if (Click!= null) Click (this, e); }

47 Exception handling 47 Similar to the Java model: try { // code that may cause an exception } catch (ExceptionType exc) { if CanFix() { FixIt(); } else throw new Exception(); } catch (OtherExceptionType exc) { }

48 Agenda for today 48 What is.net? C# basics Eiffel for.net

49 Eiffel for.net 49 Full implementation of Eiffel on.net: Design by Contract Seamlessness of software development Multiple inheritance Genericity Large set of libraries: Eiffel libraries +.NET libraries Directly available in EiffelStudio Integrated into Visual Studio.NET: Eiffel ENViSioN! Smart editor Project clusters browsing

50 Design by Contract on.net 50 Like Eiffel, Eiffel for.net directly enforces Design by Contract, which addresses: Correctness Documentation Debugging and testing Inheritance control Management Eiffel for.net is the sole language on.net to support contracts.

51 Seamlessness of software development 51 Like Eiffel, Eiffel for.net covers the entire software lifecycle. EiffelStudio provides complete reversibility between class text and diagrams.

52 ISE EiffelStudio 52

53 Multiple inheritance and genericity 53 Or how to map non-cls compliant mechanisms on.net while preserving language interoperability?

54 Multiple inheritance on.net (1/2) 54 How Eiffel for.net does it: Taking full advantage of interfaces and namespaces. A B Impl.A Impl.B C Impl.C Shadowing classes with interfaces.

55 Multiple inheritance on.net (2/2) 55 What about class instantiation? A B Create.A Impl.A Impl.B Create.B C Impl.C Create.C

56 Genericity and covariance on.net 56 Eiffel for.net: Supports genericity. Implements a safe variant of covariance (with type checking) detecting catcalls at run-time.

57 Hello World! with Eiffel for.net 57 class HELLO_WORLD create make feature {NONE} -- Initialization make is do end feature -- Constant -- Print Hello_world_message. io.put_string (Hello_world_message) Hello_world_message: STRING is Hello World! -- Hello World! message end

58 Full interoperability on.net (1/4) 58 With C#: public class HelloWorld1 { public static void Main() { HelloWorld sample; sample = Create.HelloWorld.Make(); } }

59 Full interoperability on.net (2/4) 59 With VB.NET: Public Class HelloWorld1 Public Sub Main () Dim sample as HelloWorld sample = Create.HelloWorld.Make() End Sub End Class

60 Full interoperability on.net (3/4) 60 With C#: using System; public class HelloWorld2: Impl.HelloWorld { public static void Main() { HelloWorld sample; sample = new Impl.HelloWorld(); Console.WriteLine ( sample.helloworldmessage()); } }

61 Full interoperability on.net (4/4) 61 With VB.NET: Imports System Public Class HelloWorld2 Inherits Impl.HelloWorld Public Shared Sub Main() Dim h2 as HelloWorld2 h2 = new HelloWorld2() Console.WriteLine (h2.helloworldmessage()) End Sub End Class

62 Eiffel for.net in Visual Studio.NET 62 EiffelStudio and Visual Studio.NET, two complementary development environments: EiffelStudio for possibly multi-platform development in Eiffel only. Visual Studio.NET for multi-language development.

63 Windows Forms and Eiffel for.net 63 Or how to take advantage from.net libraries from an Eiffel for.net project. Demo

64 Web services with Eiffel for.net 64 It is possible to write ASP.NET pages directly in Eiffel for.net. Page Language = Eiffel %> The registration page demo with Eiffel for.net

65 References 65 Karine Arnout: Introduction to Eiffel for.net. CoDe Magazine, Sept/Oct Bertrand Meyer: The.NET Training Course. Prentice Hall, Bertrand Meyer, Raphaël Simon, Emmanuel Stapf: Instant.NET. Prentice Hall, 2002 (in preparation). Microsoft:.NET Reference documentation. l=/library/en-us/cpref/html/cpref_start.asp. Raphaël Simon, Emmanuel Stapf, Bertrand Meyer: Full Eiffel on.net. MSDN, 2002.

66 66 End of lecture 26

Microsoft..NET Framework. Overview

Microsoft..NET Framework. Overview Microsoft.NET Framework Overview .NET Enterprise Vision Users Any device, Any place, Any time XML Web Services Scheduling Authentication Integrate business applications and processes Notification Back

More information

Introduction to.net, C#, and Visual Studio. Part I. Administrivia. Administrivia. Course Structure. Final Project. Part II. What is.net?

Introduction to.net, C#, and Visual Studio. Part I. Administrivia. Administrivia. Course Structure. Final Project. Part II. What is.net? Introduction to.net, C#, and Visual Studio C# Programming Part I Administrivia January 8 Administrivia Course Structure When: Wednesdays 10 11am (and a few Mondays as needed) Where: Moore 100B This lab

More information

Comparing.NET and Java.

Comparing.NET and Java. DEV345 Comparing.NET and Java David Chappell Principal Chappell & Associates www.davidchappell.com Application Platforms Today Browser Apps Web Services Apps Local Apps Other Apps GUI Services Transaction

More information

Introduction to.net Framework

Introduction to.net Framework 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 writing and executing written programs in any compliant

More information

Full Eiffel on.net. *ETH (Swiss Federal Institute of Technology), Zürich, Switzerland

Full Eiffel on.net. *ETH (Swiss Federal Institute of Technology), Zürich, Switzerland Full Eiffel on.net + Raphael Simon, + Emmanuel Stapf, + *Bertrand Meyer + Interactive Software Engineering, Santa Barbara, California *ETH (Swiss Federal Institute of Technology), Zürich, Switzerland http://www.eiffel.com/,

More information

A NET Refresher

A NET Refresher .NET Refresher.NET is the latest version of the component-based architecture that Microsoft has been developing for a number of years to support its applications and operating systems. As the name suggests,.net

More information

Appendix G: Writing Managed C++ Code for the.net Framework

Appendix G: Writing Managed C++ Code for the.net Framework Appendix G: Writing Managed C++ Code for the.net Framework What Is.NET?.NET is a powerful object-oriented computing platform designed by Microsoft. In addition to providing traditional software development

More information

New programming language introduced by Microsoft contained in its.net technology Uses many of the best features of C++, Java, Visual Basic, and other

New programming language introduced by Microsoft contained in its.net technology Uses many of the best features of C++, Java, Visual Basic, and other C#.NET? New programming language introduced by Microsoft contained in its.net technology Uses many of the best features of C++, Java, Visual Basic, and other OO languages. Small learning curve from either

More information

Introduce C# as Object Oriented programming language. Explain, tokens,

Introduce C# as Object Oriented programming language. Explain, tokens, Module 2 98 Assignment 1 Introduce C# as Object Oriented programming language. Explain, tokens, lexicals and control flow constructs. 99 The C# Family Tree C Platform Independence C++ Object Orientation

More information

This web service can be available to any user on the internet regardless of who developed it.

This web service can be available to any user on the internet regardless of who developed it. The.NET strategy Microsoft wanted to make the WWW more vibrant by enabling individual devices, computers, and web services to work altogether intelligently to provide rich solutions to the user. With the

More information

Prof. Dr. Hanspeter Mössenböck Institute for System Software Johannes Kepler University Linz

Prof. Dr. Hanspeter Mössenböck Institute for System Software Johannes Kepler University Linz Overview of.net Prof. Dr. Hanspeter Mössenböck Institute for System Software Johannes Kepler University Linz University of Linz, Institute for System Software, 2004 published under the Microsoft Curriculum

More information

Chapter 1 Getting Started

Chapter 1 Getting Started Chapter 1 Getting Started The C# class Just like all object oriented programming languages, C# supports the concept of a class. A class is a little like a data structure in that it aggregates different

More information

2. A GUI A. uses buttons, menus, and icons B. should be easy for a user to manipulate C. both (a) and (b) D. stands for Graphic Use Interaction

2. A GUI A. uses buttons, menus, and icons B. should be easy for a user to manipulate C. both (a) and (b) D. stands for Graphic Use Interaction 1. Which language is not a true object-oriented programming language? A. VB 6 B. VB.NET C. JAVA D. C++ 2. A GUI A. uses buttons, menus, and icons B. should be easy for a user to manipulate C. both (a)

More information

Chapter 1:- Introduction to.net. Compiled By:- Ankit Shah Assistant Professor, SVBIT.

Chapter 1:- Introduction to.net. Compiled By:- Ankit Shah Assistant Professor, SVBIT. Chapter 1:- Introduction to.net Compiled By:- Assistant Professor, SVBIT. What is.net? 2 Microsoft s vision of the future of applications in the Internet age Increased robustness over classic Windows apps

More information

Unit 1: Visual Basic.NET and the.net Framework

Unit 1: Visual Basic.NET and the.net Framework 1 Chapter1: Visual Basic.NET and the.net Framework Unit 1: Visual Basic.NET and the.net Framework Contents Introduction to.net framework Features Common Language Runtime (CLR) Framework Class Library(FCL)

More information

Introduction to Programming Microsoft.NET Applications with Visual Studio 2008 (C#)

Introduction to Programming Microsoft.NET Applications with Visual Studio 2008 (C#) Introduction to Programming Microsoft.NET Applications with Visual Studio 2008 (C#) Course Number: 6367A Course Length: 3 Days Course Overview This three-day course will enable students to start designing

More information

The Microsoft.NET Framework

The Microsoft.NET Framework Microsoft Visual Studio 2005/2008 and the.net Framework The Microsoft.NET Framework The Common Language Runtime Common Language Specification Programming Languages C#, Visual Basic, C++, lots of others

More information

Chapter 12 Microsoft Assemblies. Software Architecture Microsoft Assemblies 1

Chapter 12 Microsoft Assemblies. Software Architecture Microsoft Assemblies 1 Chapter 12 Microsoft Assemblies 1 Process Phases Discussed in This Chapter Requirements Analysis Design Framework Architecture Detailed Design Key: x = main emphasis x = secondary emphasis Implementation

More information

Software Architecture Bertrand Meyer. Lecture 3: Language constructs for modularity and information hiding

Software Architecture Bertrand Meyer. Lecture 3: Language constructs for modularity and information hiding Software Architecture Bertrand Meyer Last update: 3 April 2007 ETH Zurich, March-July 2007 Lecture 3: Language constructs for modularity and information hiding Ilinca Ciupa Overview Review of modularity

More information

Introduction to.net. What is.net?

Introduction to.net. What is.net? Introduction to.net What is.net? Microsoft s vision of the future of applications in the Internet age Increased robustness over classic Windows apps New programming platform Built for the web.net is a

More information

Introduction to.net Framework Week 1. Tahir Nawaz

Introduction to.net Framework Week 1. Tahir Nawaz Introduction to.net Framework Week 1 Tahir Nawaz .NET What Is It? Software platform Language neutral In other words:.net is not a language (Runtime and a library for writing and executing written programs

More information

PES INSTITUTE OF TECHNOLOGY

PES INSTITUTE OF TECHNOLOGY Seventh Semester B.E. IA Test-I, 2014 USN 1 P E I S PES INSTITUTE OF TECHNOLOGY C# solution set for T1 Answer any 5 of the Following Questions 1) What is.net? With a neat diagram explain the important

More information

UNIT 1. Introduction to Microsoft.NET framework and Basics of VB.Net

UNIT 1. Introduction to Microsoft.NET framework and Basics of VB.Net UNIT 1 Introduction to Microsoft.NET framework and Basics of VB.Net 1 SYLLABUS 1.1 Overview of Microsoft.NET Framework 1.2 The.NET Framework components 1.3 The Common Language Runtime (CLR) Environment

More information

C#: framework overview and in-the-small features

C#: framework overview and in-the-small features Chair of Software Engineering Carlo A. Furia, Marco Piccioni, Bertrand Meyer C#: framework overview and in-the-small features Chair of Software Engineering Carlo A. Furia, Marco Piccioni, Bertrand Meyer

More information

PROGRAMMING IN VISUAL BASIC WITH MICROSOFT VISUAL STUDIO Course: 10550A; Duration: 5 Days; Instructor-led

PROGRAMMING IN VISUAL BASIC WITH MICROSOFT VISUAL STUDIO Course: 10550A; Duration: 5 Days; Instructor-led CENTER OF KNOWLEDGE, PATH TO SUCCESS Website: PROGRAMMING IN VISUAL BASIC WITH MICROSOFT VISUAL STUDIO 2010 Course: 10550A; Duration: 5 Days; Instructor-led WHAT YOU WILL LEARN This course teaches you

More information

.NET. Inf 5040, Outline. Gyrd Brændeland, Sharath Babu Musunoori, Åshild Grønstad Solheim

.NET. Inf 5040, Outline. Gyrd Brændeland, Sharath Babu Musunoori, Åshild Grønstad Solheim .NET Inf 5040, 02.11.04 Gyrd Brændeland, Sharath Babu Musunoori, Åshild Grønstad Solheim Outline Introduction An overview of.net framework architecture More focus on.net core components.net features Web

More information

Developing Microsoft.NET Applications for Windows (Visual Basic.NET)

Developing Microsoft.NET Applications for Windows (Visual Basic.NET) Developing Microsoft.NET Applications for Windows (Visual Basic.NET) Course Number: 2555 Length: 1 Day(s) Certification Exam This course will help you prepare for the following Microsoft Certified Professional

More information

An Introduction to.net for the J2EE Programmer

An Introduction to.net for the J2EE Programmer An Introduction to.net for the J2EE Programmer Jeroen Frijters Sumatra Software b.v. jeroen@sumatra.nl http://weblog.ikvm.net/ Page Overview.NET Framework overview and terminology A Quick Look at C# A

More information

EEE-425 Programming Languages (2013) 1

EEE-425 Programming Languages (2013) 1 2 Computer programming: creating a sequence of instructions to enable the computer to do something Programmers do not use machine language when creating computer programs. Instead, programmers tend to

More information

UNIT I An overview of Programming models Programmers Perspective

UNIT I An overview of Programming models Programmers Perspective UNIT I An overview of Programming models Programmers Perspective 1. C/Win32 API Programmer It is complex C is short/abrupt language Manual Memory Management, Ugly Pointer arithmetic, ugly syntactic constructs

More information

Distributed Middleware

Distributed Middleware Distributed Middleware Communication + Synchronisation Deadlock, starvation Marshalling 4 classes of solutions Common Interface Webservices Common Interface Description Language Corba (IDL) Common Intermediate

More information

Hierarchical inheritance: Contains one base class and multiple derived classes of the same base class.

Hierarchical inheritance: Contains one base class and multiple derived classes of the same base class. 1. What is C#? C# (pronounced "C sharp") is a simple, modern, object oriented, and type safe programming language. It will immediately be familiar to C and C++ programmers. C# combines the high productivity

More information

Programming in Visual Basic with Microsoft Visual Studio 2010

Programming in Visual Basic with Microsoft Visual Studio 2010 Programming in Visual Basic with Microsoft Visual Studio 2010 Course 10550; 5 Days, Instructor-led Course Description This course teaches you Visual Basic language syntax, program structure, and implementation

More information

.Net Technologies. Components of.net Framework

.Net Technologies. Components of.net Framework .Net Technologies Components of.net Framework There are many articles are available in the web on this topic; I just want to add one more article over the web by explaining Components of.net Framework.

More information

Department of Computer Applications

Department of Computer Applications MCA 512:.NET framework and C# [Part I : Medium Answer type Questions] Unit - 1 Q1. What different tools are available and used to develop.net Applications? Hint a).net Framework SDK b) ASP.NET Web Matrix

More information

Developing Microsoft.NET Applications for Windows (Visual Basic.NET)

Developing Microsoft.NET Applications for Windows (Visual Basic.NET) Developing Microsoft.NET Applications for Windows (Visual Basic.NET) Course Number: 2565 Length: 5 Day(s) Certification Exam This course will help you prepare for the following Microsoft Certified Professional

More information

.Net. Course Content ASP.NET

.Net. Course Content ASP.NET .Net Course Content ASP.NET INTRO TO WEB TECHNOLOGIES HTML ü Client side scripting langs ü lls Architecture ASP.NET INTRODUCTION ü What is ASP.NET ü Image Technique and code behind technique SERVER SIDE

More information

Yoon Joong Kim. Department of computer Engineering Hanbat National University

Yoon Joong Kim. Department of computer Engineering Hanbat National University Yoon Joong Kim Department of computer Engineering Hanbat National University Contents Microsoft.NET History What is Microsoft.NET - Goal/.NET Platform/issues and ideas The Microsoft.NET Framework Common

More information

Migrate Your Skills to Microsoft.NET Framework 2.0 and 3.0 using Visual Studio 2005 (C#)

Migrate Your Skills to Microsoft.NET Framework 2.0 and 3.0 using Visual Studio 2005 (C#) Migrate Your Skills to Microsoft.NET Framework 2.0 and 3.0 using Visual Studio 2005 (C#) Course Length: 5 Days Course Overview This instructor-led course teaches developers to gain in-depth guidance on

More information

DOT NET Syllabus (6 Months)

DOT NET Syllabus (6 Months) DOT NET Syllabus (6 Months) THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In- Time Compilation and CLS Disassembling.Net Application to IL

More information

Dot Net Online Training

Dot Net Online Training chakraitsolutions.com http://chakraitsolutions.com/dotnet-online-training/ Dot Net Online Training DOT NET Online Training CHAKRA IT SOLUTIONS TO LEARN ABOUT OUR UNIQUE TRAINING PROCESS: Title : Dot Net

More information

Course Hours

Course Hours Programming the.net Framework 4.0/4.5 with C# 5.0 Course 70240 40 Hours Microsoft's.NET Framework presents developers with unprecedented opportunities. From 'geoscalable' web applications to desktop and

More information

This tutorial has been prepared for the beginners to help them understand basics of c# Programming.

This tutorial has been prepared for the beginners to help them understand basics of c# Programming. About thetutorial C# is a simple, modern, general-purpose, object-oriented programming language developed by Microsoft within its.net initiative led by Anders Hejlsberg. This tutorial covers basic C# programming

More information

What we need. Agenda. What s J2EE. Challenges of Enterprise Application Development

What we need. Agenda. What s J2EE. Challenges of Enterprise Application Development Agenda.NET versus J2EE Felicia cheng Jarred zheng Jonathan Card Peng Li iao he Background Introduction J2EE Structure.NET Structure J2EE vs..net Conclusions Today s Enterprise Environment Challenges of

More information

C#.Net. Course Contents. Course contents VT BizTalk. No exam, but laborations

C#.Net. Course Contents. Course contents VT BizTalk. No exam, but laborations , 1 C#.Net VT 2009 Course Contents C# 6 hp approx. BizTalk 1,5 hp approx. No exam, but laborations Course contents Architecture Visual Studio Syntax Classes Forms Class Libraries Inheritance Other C# essentials

More information

University of West Bohemia in Pilsen. Faculty of Applied Sciences. Department of Computer Science and Engineering DIPLOMA THESIS

University of West Bohemia in Pilsen. Faculty of Applied Sciences. Department of Computer Science and Engineering DIPLOMA THESIS University of West Bohemia in Pilsen Faculty of Applied Sciences Department of Computer Science and Engineering DIPLOMA THESIS Pilsen, 2003 Ivo Hanák University of West Bohemia in Pilsen Faculty of Applied

More information

DAD Lab. 1 Introduc7on to C#

DAD Lab. 1 Introduc7on to C# DAD 2017-18 Lab. 1 Introduc7on to C# Summary 1..NET Framework Architecture 2. C# Language Syntax C# vs. Java vs C++ 3. IDE: MS Visual Studio Tools Console and WinForm Applica7ons 1..NET Framework Introduc7on

More information

.NET-6Weeks Project Based Training

.NET-6Weeks Project Based Training .NET-6Weeks Project Based Training Core Topics 1. C# 2. MS.Net 3. ASP.NET 4. 1 Project MS.NET MS.NET Framework The.NET Framework - an Overview Architecture of.net Framework Types of Applications which

More information

Microsoft.NET Programming (C#, ASP.NET,ADO.NET, VB.NET, Crystal Report, Sql Server) Goal: Make the learner proficient in the usage of MS Technologies

Microsoft.NET Programming (C#, ASP.NET,ADO.NET, VB.NET, Crystal Report, Sql Server) Goal: Make the learner proficient in the usage of MS Technologies Microsoft.NET Programming (C#, ASP.NET,ADO.NET, VB.NET, Crystal Report, Sql Server) Goal: Make the learner proficient in the usage of MS Technologies for web applications development using ASP.NET, XML,

More information

Wrapping a complex C++ library for Eiffel. FINAL REPORT July 1 st, 2005

Wrapping a complex C++ library for Eiffel. FINAL REPORT July 1 st, 2005 Wrapping a complex C++ library for Eiffel FINAL REPORT July 1 st, 2005 Semester project Student: Supervising Assistant: Supervising Professor: Simon Reinhard simonrei@student.ethz.ch Bernd Schoeller Bertrand

More information

Creating a Service Platform for.net. Clement Escoffier PhD Student University of Grenoble

Creating a Service Platform for.net. Clement Escoffier PhD Student University of Grenoble Creating a Service Platform for.net Clement Escoffier PhD Student University of Grenoble LSR-IMAG : Logiciels, Systèmes & Réseaux LSR : Software, Systems & Networks IMAG federation Member of the ObjectWeb

More information

EEE-425 Programming Languages (2013) 1

EEE-425 Programming Languages (2013) 1 Creating and Running Your First C# Program : http://eembdersler.wordpress.com Choose the EEE-425Programming Languages (Fall) Textbook reading schedule Pdf lecture notes Updated class syllabus Midterm and

More information

MCSA Universal Windows Platform. A Success Guide to Prepare- Programming in C# edusum.com

MCSA Universal Windows Platform. A Success Guide to Prepare- Programming in C# edusum.com 70-483 MCSA Universal Windows Platform A Success Guide to Prepare- Programming in C# edusum.com Table of Contents Introduction to 70-483 Exam on Programming in C#... 2 Microsoft 70-483 Certification Details:...

More information

.Net Interview Questions

.Net Interview Questions .Net Interview Questions 1.What is.net? NET is an integral part of many applications running on Windows and provides common functionality for those applications to run. This download is for people who

More information

C++\CLI. Jim Fawcett CSE687-OnLine Object Oriented Design Summer 2017

C++\CLI. Jim Fawcett CSE687-OnLine Object Oriented Design Summer 2017 C++\CLI Jim Fawcett CSE687-OnLine Object Oriented Design Summer 2017 Comparison of Object Models Standard C++ Object Model All objects share a rich memory model: Static, stack, and heap Rich object life-time

More information

Saikat Banerjee Page 1

Saikat Banerjee Page 1 1.What is.net? NET is an integral part of many applications running on Windows and provides common functionality for those applications to run. This download is for people who need.net to run an application

More information

B.E /B.TECH DEGREE EXAMINATIONS,

B.E /B.TECH DEGREE EXAMINATIONS, B.E /B.TECH DEGREE EXAMINATIONS, November / December 2012 Seventh Semester Computer Science and Engineering CS2041 C# AND.NET FRAMEWORK (Common to Information Technology) (Regulation 2008) Time : Three

More information

Program Contents: DOTNET TRAINING IN CHENNAI

Program Contents: DOTNET TRAINING IN CHENNAI DOTNET TRAINING IN CHENNAI NET Framework - In today s world of enterprise application development either desktop or Web, one of leaders and visionary is Microsoft.NET technology. The.NET platform also

More information

C# Programming in the.net Framework

C# Programming in the.net Framework 50150B - Version: 2.1 04 May 2018 C# Programming in the.net Framework C# Programming in the.net Framework 50150B - Version: 2.1 6 days Course Description: This six-day instructor-led course provides students

More information

Creating and Running Your First C# Program

Creating and Running Your First C# Program Creating and Running Your First C# Program : http://eembdersler.wordpress.com Choose the EEE-425Programming Languages (Fall) Textbook reading schedule Pdf lecture notes Updated class syllabus Midterm and

More information

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.)

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) INTRODUCTION TO.NET Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In-

More information

Object-Oriented Programming

Object-Oriented Programming Object-Oriented Programming 1. What is object-oriented programming (OOP)? OOP is a technique to develop logical modules, such as classes that contain properties, methods, fields, and events. An object

More information

Module 2: Introduction to a Managed Execution Environment

Module 2: Introduction to a Managed Execution Environment Module 2: Introduction to a Managed Execution Environment Contents Overview 1 Writing a.net Application 2 Compiling and Running a.net Application 11 Lab 2: Building a Simple.NET Application 29 Review 32

More information

Darshan Institute of Engineering & Technology for Diploma Studies

Darshan Institute of Engineering & Technology for Diploma Studies Overview of Microsoft.Net Framework: The Dot Net or.net is a technology that is an outcome of Microsoft s new strategy to develop window based robust applications and rich web applications and to keep

More information

Trusted Components. Reuse, Contracts and Patterns. Prof. Dr. Bertrand Meyer Dr. Karine Arnout

Trusted Components. Reuse, Contracts and Patterns. Prof. Dr. Bertrand Meyer Dr. Karine Arnout 1 Last update: 2 November 2004 Trusted Components Reuse, Contracts and Patterns Prof. Dr. Bertrand Meyer Dr. Karine Arnout 2 Lecture 5: Design patterns Agenda for today 3 Overview Benefits of patterns

More information

S.Sakthi Vinayagam Sr. AP/CSE, C.Arun AP/IT

S.Sakthi Vinayagam Sr. AP/CSE, C.Arun AP/IT Chettinad College of Engineering & Technology CS2014 C# &.NET Framework Part A Questions Unit I 1. Define Namespace. What are the uses of Namespace? A namespace is designed for providing a way to keep

More information

Introducing C# and the.net Framework

Introducing C# and the.net Framework 1 Introducing C# and the.net Framework C# is a general-purpose, type-safe, object-oriented programming language. The goal of the language is programmer productivity. To this end, the language balances

More information

C# Syllabus. MS.NET Framework Introduction

C# Syllabus. MS.NET Framework Introduction C# Syllabus MS.NET Framework Introduction The.NET Framework - an Overview Framework Components Framework Versions Types of Applications which can be developed using MS.NET MS.NET Base Class Library MS.NET

More information

10/9/2012. Sample C# program:

10/9/2012. Sample C# program: Creating and Running Your First C# Program Text Book : C# Programming From Problem Analysis to Program design, Barbara Doyle Grading : Homeworks 20% Lecture Presentation 20% Final : % 20 Project : 40%

More information

Model Question Paper. Credits: 4 Marks: 140. Part A (One mark questions)

Model Question Paper. Credits: 4 Marks: 140. Part A (One mark questions) Model Question Paper Subject Code: MT0040 Subject Name: VB.Net Credits: 4 Marks: 140 (One mark questions) 1. The is a systematic class framework used for the development of system tools and utilities.

More information

MCP, MCTS (ASP.Net, C#) Get the rewards, respect, and recognition you deserve, Become a Microsoft Certified Professional.

MCP, MCTS (ASP.Net, C#) Get the rewards, respect, and recognition you deserve, Become a Microsoft Certified Professional. Corporate Solutions Pvt. Ltd. Courses ASP.Net + VB.Net +C# + XML +Web Services + Sql Server2005 Certifications MCP, MCTS (ASP.Net, C#) Get the rewards, respect, and recognition you deserve, Become a Microsoft

More information

Why bother / who cares?

Why bother / who cares? Microsoft.NET what is.net? "framework" for supporting web-based services single run-time environment for programs written in a variety of languages web forms for interfaces on web pages XML, SOAP, WSDL,

More information

Introduction to Programming Using Java (98-388)

Introduction to Programming Using Java (98-388) Introduction to Programming Using Java (98-388) Understand Java fundamentals Describe the use of main in a Java application Signature of main, why it is static; how to consume an instance of your own class;

More information

B.V Patel Institute of BMC & IT, UTU

B.V Patel Institute of BMC & IT, UTU Corse Code and Corse Name: 030010401-GUI Programming Unit 1. Introduction to.net Framework Short Questions 1. What is.net Framework? 2. What is VB.NET? 3. Which are the main components of.net Framework?

More information

Visual Studio.NET.NET Framework. Web Services Web Forms Windows Forms. Data and XML classes. Framework Base Classes. Common Language Runtime

Visual Studio.NET.NET Framework. Web Services Web Forms Windows Forms. Data and XML classes. Framework Base Classes. Common Language Runtime Intro C# Intro C# 1 Microsoft's.NET platform and Framework.NET Enterprise Servers Visual Studio.NET.NET Framework.NET Building Block Services Operating system on servers, desktop, and devices Web Services

More information

1. Introduction to the Common Language Infrastructure

1. Introduction to the Common Language Infrastructure Miller-CHP1.fm Page 1 Wednesday, September 24, 2003 1:50 PM to the Common Language Infrastructure The Common Language Infrastructure (CLI) is an International Standard that is the basis for creating execution

More information

Windows 8. Rainer Stropek. System Architecture. System Architecture re of Windows Store Apps. Saves the day. software architects gmbh

Windows 8. Rainer Stropek. System Architecture. System Architecture re of Windows Store Apps. Saves the day. software architects gmbh System Architecture re of Windows Store Apps Rainer Stropek software architects gmbh Windows 8 System Architecture Mail Web Twitter rainer@timecockpit.comcom http://www.timecockpit.com @rstropek Saves

More information

Yoon Joong Kim. Department of computer Engineering Hanbat National University

Yoon Joong Kim. Department of computer Engineering Hanbat National University Yoon Joong Kim Department of computer Engineering Hanbat National University Contents 1. Microsoft.NET History 2. What is Microsoft.NET - Goal/.NET Platform/issues and ideas 3. The Microsoft.NET Framework

More information

Mastering VB.NET using Visual Studio 2010 Course Length: 5 days Price: $2,500

Mastering VB.NET using Visual Studio 2010 Course Length: 5 days Price: $2,500 Mastering VB.NET using Visual Studio 2010 Course Length: 5 days Price: $2,500 Summary Each day there will be a combination of presentations, code walk-throughs, and handson projects. The final project

More information

A Programmer s view on.net

A Programmer s view on.net A Programmer s view on.net Three Pillars of.net Many devices/ Languages XML Web Services Simpler programming model The Marketeer s Toolbox Price Axe Product Wrench Competition Hammer The Programmer s Toolbox

More information

Atelier Java - J1. Marwan Burelle. EPITA Première Année Cycle Ingénieur.

Atelier Java - J1. Marwan Burelle.  EPITA Première Année Cycle Ingénieur. marwan.burelle@lse.epita.fr http://wiki-prog.kh405.net Plan 1 2 Plan 3 4 Plan 1 2 3 4 A Bit of History JAVA was created in 1991 by James Gosling of SUN. The first public implementation (v1.0) in 1995.

More information

C#: advanced object-oriented features

C#: advanced object-oriented features Chair of Software Engineering Carlo A. Furia, Marco Piccioni, Bertrand Meyer C#: advanced object-oriented features Chair of Software Engineering Carlo A. Furia, Marco Piccioni, Bertrand Meyer Namespaces

More information

C#.NET TRAINING / /

C#.NET TRAINING / / C#.NET TRAINING.NET ENTERPRISE ARCHITECTURE Introduction to the.net platform Common Language Run Time(CLR) The Common Type Specification(CTS) The Common Language Specification(CLS) Microsoft Intermediate

More information

DC69 C# &.NET JUNE C# is a simple, modern, object oriented language derived from C++ and Java.

DC69 C# &.NET JUNE C# is a simple, modern, object oriented language derived from C++ and Java. Q.2 a. What is C#? Discuss its features in brief. 1. C# is a simple, modern, object oriented language derived from C++ and Java. 2. It aims to combine the high productivity of Visual Basic and the raw

More information

DEPARTMENT OF INFORMATION TECHNOLOGY Academic Year 2015-2016 QUESTION BANK-EVEN SEMESTER NAME OF THE SUBJECT SUBJECT CODE SEMESTER YEAR DEPARTMENT C# and.net Programming CS6001 VI III IT UNIT 1 PART A

More information

DC69 C# &.NET DEC 2015

DC69 C# &.NET DEC 2015 Q.2 a. Briefly explain the advantage of framework base classes in.net. (5).NET supplies a library of base classes that we can use to implement applications quickly. We can use them by simply instantiating

More information

VISUAL PROGRAMMING_IT0309 Semester Number 05. G.Sujatha & R.Vijayalakshmi Assistant professor(o.g) SRM University, Kattankulathur

VISUAL PROGRAMMING_IT0309 Semester Number 05. G.Sujatha & R.Vijayalakshmi Assistant professor(o.g) SRM University, Kattankulathur School of Computing, 12/26/2012 1 VISUAL PROGRAMMING_IT0309 Semester Number 05 G.Sujatha & R.Vijayalakshmi Assistant professor(o.g) SRM University, Kattankulathur UNIT 1 School of Computing, Department

More information

The C# Programming Language. Overview

The C# Programming Language. Overview The C# Programming Language Overview Microsoft's.NET Framework presents developers with unprecedented opportunities. From web applications to desktop and mobile platform applications - all can be built

More information

IT 528 Developing.NET Applications Using C# Gülşen Demiröz

IT 528 Developing.NET Applications Using C# Gülşen Demiröz IT 528 Developing.NET Applications Using C# Gülşen Demiröz Summary of the Course Hands-on applications programming course We will learn how to develop applications using the C# programming language on

More information

M4.1-R4: APPLICATION OF.NET TECHNOLOGY

M4.1-R4: APPLICATION OF.NET TECHNOLOGY M4.1-R4: APPLICATION OF.NET TECHNOLOGY NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions. 2. PART ONE is to be answered in the OMR

More information

Advanced Object-Oriented Programming. 11 Features. C# Programming: From Problem Analysis to Program Design. 4th Edition

Advanced Object-Oriented Programming. 11 Features. C# Programming: From Problem Analysis to Program Design. 4th Edition 11 Features Advanced Object-Oriented Programming C# Programming: From Problem Analysis to Program Design C# Programming: From Problem Analysis to Program Design 1 4th Edition Chapter Objectives Learn the

More information

Top 40.NET Interview Questions & Answers

Top 40.NET Interview Questions & Answers Top 40.NET Interview Questions & Answers 1) Explain what is.net Framework? The.Net Framework is developed by Microsoft. It provides technologies and tool that is required to build Networked Applications

More information

Announced in July 2000,.NET,

Announced in July 2000,.NET, SOFTWARE TECHNOLOGIES.NET Is Coming Bertrand Meyer, Interactive Software Engineering Announced in July 2000,.NET, Microsoft s platform for XML-based Web services, is currently undergoing a succession of

More information

CSCE 314 Programming Languages. Type System

CSCE 314 Programming Languages. Type System CSCE 314 Programming Languages Type System Dr. Hyunyoung Lee 1 Names Names refer to different kinds of entities in programs, such as variables, functions, classes, templates, modules,.... Names can be

More information

UNIT 1 PART A PART B

UNIT 1 PART A PART B UNIT 1 PART A 1. List some of the new features that are unique to c# language? 2. State few words about the two important entities of.net frame work 3. What is.net? Name any 4 applications that are supported

More information

NOIDATUT E Leaning Platform

NOIDATUT E Leaning Platform NOIDATUT E Leaning Platform Dot Net Framework Lab Manual COMPUTER SCIENCE AND ENGINEERING Presented by: NOIDATUT Email : e-learn@noidatut.com www.noidatut.com C SHARP 1. Program to display Hello World

More information

Introduction to Microsoft.NET Framework Programming using VS 2005 (C#)

Introduction to Microsoft.NET Framework Programming using VS 2005 (C#) Introduction to Microsoft.NET Framework Programming using VS 2005 (C#) Course Length: 5 Days Course Overview This instructor-led course teaches introductory-level developers who are not familiar with the

More information

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview Introduction to Visual Basic and Visual C++ Introduction to Java Lesson 13 Overview I154-1-A A @ Peter Lo 2010 1 I154-1-A A @ Peter Lo 2010 2 Overview JDK Editions Before you can write and run the simple

More information

Expert C++/CLI:.NET for Visual C++ Programmers

Expert C++/CLI:.NET for Visual C++ Programmers Expert C++/CLI:.NET for Visual C++ Programmers Marcus Heege Contents About the Author About the Technical Reviewer Acknowledgments xiii xv xvii CHAPTER 1 Why C++/CLI? 1 Extending C++ with.net Features

More information

ALPHAPRIMETECH 112 New South Road, Hicksville, NY 11801

ALPHAPRIMETECH 112 New South Road, Hicksville, NY 11801 ALPHAPRIMETECH 112 New South Road, Hicksville, NY 11801 Course Curriculum COMPUTER SYSTEM ANALYST-.NET C# Introduction to.net Framework.NET Framework OverView CLR,CLS MSIL Assemblies NameSpaces.NET Languages

More information