Chapter 12 Microsoft Assemblies. Software Architecture Microsoft Assemblies 1

Size: px
Start display at page:

Download "Chapter 12 Microsoft Assemblies. Software Architecture Microsoft Assemblies 1"

Transcription

1 Chapter 12 Microsoft Assemblies 1

2 Process Phases Discussed in This Chapter Requirements Analysis Design Framework Architecture Detailed Design Key: x = main emphasis x = secondary emphasis Implementation 2

3 Learning Goals for This Chapter Understand q Microsoft s component ( assembly ) architecture q where assemblies fit in.net q required rudiments of C# q the contents of.net manifests, including: Versioning Attributes q the difference between private and shared assemblies Be able to q create assemblies using C# 3

4 .NET Goals and Solutions q Create interoperable components from multiple source languages o C++, Visual Basic,. q Solve multiple component version clashes o dll hell : naming confusion in COM q Define a common runtime q Avoid registry o Necessity to register components with host computer 4

5 Design Goal At Work: à Reusability ß Microsoft wanted to allow developers to create interoperable components using their favorite source languages. 5

6 The Parts of.net Web tools and Languages ASP.NET, Windows Forms; Visual Basic.NET, C#.NET Framework Classes net XML IO Security.... Common Language Runtime (CLR) Memory Management Common Type System (CTS).... uses uses 6

7 q Boolean q DateTime Types in the CTS q Decimal 28 significant digits q Double 64-bit double-precision floating point q GUID unique 128-bit integer; unique identifier q Int16, Int32, Int64 q Sbyte 8-bit signed integer 128 to +127 q Single 4-byte single precision floating point q TimeSpan a period of time 7

8 Methods of System.Object q Boolean Equals( Object ) q Int32 GetHashCode() o Generates an integer corresponding to the value of the object o Used by sorting algorithms in System.Collections q Type GetType() o for the Reflection API q String ToString() 8

9 Selected System.XX.NET Framework NameSpaces q Collections q ComponentModel o to implement the runtime and design time behavior of components q Data o To deal with databases via ADO q Drawing q IO q Net o to interface with common network protocols q Reflection q Runtime Security Text ASII, Unicode etc. Threading Web WinForms XML 9

10 Compilation Process in.net Base class library Ancillary info Source Code C++ VB C# J#, Java (3 rd parties) Compiler & metadata generator IL and metadata.dll or.exe Class loader IL compiler native code Key: Process File execute 10

11 The Parts of a.net Assembly (Component) Source Files A.NET assembly: xyz.dll A File A File A File A File Manifest Identity name version Names of files Encrypted hash of files to ensure integrity Specification of types defined Names of referenced assemblies Specification of required security permissions Microsoft Intermediate Language (IL) 11

12 Key Concept: à A.NET Assembly ß -- includes class code from multiple files, in IL form, described by a manifest. 12

13 C# Goals 1 of 2 Rapid application development as with JavaBeans Cross-platform deployment generates character stream interpreted by.net runtime. as with Java Virtual Machine Access to platform-native resources take advantage of the Windows API to run as a full-featured application on Windows 2000 Support for the COM and.net platforms Unlike Java Unlike Java 13

14 C# Goals : 2 of 2 q Features of C and C++ with the functional ease of rapid application development tools. q Components with properties, methods and events o built in Unlike Java 14

15 HelloWorld Output 15

16 Selected C# Features Automatic garbage collection Allows developers to disable garbage collection locally by marking code as unsafe (e.g., where real time performance required?) Unlike Java Eliminates pointers in favor of references Introduces Interfaces 16

17 C# Web Features: Web Services q Attribute library allows wrapping of C# classes and functions as Web services. a hosted software module callable over the Internet typically via SOAP protocol. SOAP wraps method calls, parameters, and return values, in XML packets. q Using appropriate attributes, programmer can turn any C# class or function into a Web service. 17

18 Creating a.net Component 1 of 2 C# compilation Input file csc /t:library /out:hello.dll hellofile.cs output Component (output) name target Create a library component: Don t seek Main() 18

19 Creating a.net Component ( Assembly ) 2 of 2 hellofile.cs csc /t:library /out:hello.dll hellofile.cs hello.dll hello.dll 19

20 Using a.net Component helloclient.cs hello.dll csc /r:hello.dll /out:helloapp.exe helloclient.cs helloapp.exe now execute helloapp. 20

21 Creating a.net Component Containing Multiple Classes GreetingUtility HelloClass AuRevoirClass HelloAuRevoirComponentSource.cs csc /t:library /out:helloaurevoir.dll HelloAuRevoirComponentSource.cs helloaurevoir.dll 21

22 Output For Multiple Class Example 22

23 Using metadata allows the CLR to support: q Multiple execution models o interpreted, o JITted (Just-in-time) o native o legacy code (prior to.net) q Uniform services available to debuggers, profilers etc. q Consistent exception handling q Code access security q Memory management q Reflection Uses for Metadata Amended from library/default.asp q Interoperability with existing unmanaged COM applications q Interoperability with existing unmanaged code q Optimization to match the particular CPU or environment. 23

24 Manifest of Component helloaurevo ir.dll 24

25 Manifest Contents for helloaurevoir.dll Component

26 Manifest Detail of sayhelloworld() in HelloClass Recall the source: public void SayHelloWorld( ) { GreetingUtility.OutputMessage ( "Component says: Hello World" ); } 26

27 The Version Field of an Assembly Major version Minor version Revision Build number 27

28 Versioning (The process of evolving a component over time in a compatible manner.) A new version is q q source compatible with a previous version if code that depends on the previous version can, when recompiled, work with the new version. binary compatible if code that depended on the old version can, without recompilation, work with the new version. (adapted from Microsoft) 28

29 Attributes in.net q q q Metadata: about o variables o o classes functions Types of attributes: Built-in User-defined Available at runtime 29

30 Output of main() in ConditionalDemo with #define DEBUG without #define DEBUG 30

31 Output For Authorship Querying 31

32 Key Concept: à A.NET Manifest Lists ß.. the files containing the IL-compiled classes, the.net components on which the assembly depends, version numbers, attributes, and encrypted hash to verify not tampered in transit. 32

33 Design Goal At Work: à Reusability ß We want to reuse an assembly, confident it is the one it s supposed to be. 33

34 Using NameSpaces Implement applications 1and 2. Exploit common components. Application 1: List available flights in following form <Animated airline logo goes here> <Material introducing available flights here > From <city> to <city> departing at <time> and arriving at <time>. <Animated logo of the Intergalactic Reservation Service goes here> Application 2: List bookings already made in following form <Animated logo of the Intergalactic Reservation Service goes here > <Material introducing instructions to the traveler goes here > Please arrive at <time> at <city> airport for your flight. 34

35 (Logical) Namespace organization Airlines namespace Availability namespace Logo AvailabilityAnnouncement Itinerary namespace Logo (Physical) File organization (3 files) Source file name: AvailabilityComponentSource.cs Namespace stated: Airlines.Availability Classes: Logo, AvailabilityAnnouncement Component name: availability.dll Source file name: ItineraryLogoComponentSource.cs Namespace stated: Airlines.Itinerary Class: Logo Component name: itinerarylogo.dll ItineraryAnnouncement Namespaces Across Multiple Components Source file name: ItineraryAnnouncement.cs Namespace stated: Airlines.Itinerary Class: ItineraryAnnouncement Component name: itineraryannouncmnt.dll 35

36 Airline Reservation System Display 36

37 Public Key Cryptography Any message encoded with one key can be decoded with the other. One can t encrypt and decrypt a message with the same key. It s practically impossible to deduce one key from the other. It s very unlikely that an encoded document can be decoded with an unmatched key 37

38 Public key: iemhdzx Private key: 92JiuHKM3 (secret) mykeys.snk Hashed version use private key Encoded version AssemblyInfo.cs hash Assembly source Public Key Encryption Used in.net Names & contents of assembly assembly Verification process Manifest OK / not OK 38

39 Key Concept: à Component Identity ß To ensure that the component we are using is the one intended, we use relatively or globally unique names:.net also applies tamper-proofing via public key encryption. 39

40 q Microsoft assembly == component Summary q Microsoft distributes computing among desktops and servers via, in part,.net assemblies q.net assemblies supercede and are more versatile than (D)COM(+) objects. o Exist in Intermediate Language o Permit versioning o Include attribute feature o Identity technique for shared assemblies reduces dll hell q C# language designed for.net q Assemblies constructed via C#, VB,... are interoperable 40

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

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

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

.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

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 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

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

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

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

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

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

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

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

Introduction to the.net Framework

Introduction to the.net Framework 04235946 Ch01.F 12/11/02 11:43 AM Page 3 CHAPTER 1 Introduction to the.net Framework Although the goal of this book is to introduce deployable solutions with the.net Enterprise Servers, it is necessary

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

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

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

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

INTERNAL ASSESSMENT TEST 1 ANSWER KEY

INTERNAL ASSESSMENT TEST 1 ANSWER KEY INTERNAL ASSESSMENT TEST 1 ANSWER KEY Subject & Code: C# Programming and.net-101s761 Name of the faculty: Ms. Pragya Q.No Questions 1 a) What is an assembly? Explain each component of an assembly. Answers:-

More information

1 C# and the.net Framework

1 C# and the.net Framework 1 1 C# and the.net Framework C# (pronounced: see sharp) is a programming language developed by Microsoft for the.net platform. Although.NET programs can be written in many different languages (including

More information

Using COM and COM+ in.net -P/invoke: The mechanism to call unmanaged functions in Win32 DLLs from.net

Using COM and COM+ in.net -P/invoke: The mechanism to call unmanaged functions in Win32 DLLs from.net Using COM and COM+ in.net -P/invoke: The mechanism to call unmanaged functions in Win32 DLLs from.net Ways in which.net is better than COM: -For distributed applications communication,.net uses.net remoting

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

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

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

Introducing C# After this discussion, we'll move on to a simple description of C# itself, including its origins and similarities to C++.

Introducing C# After this discussion, we'll move on to a simple description of C# itself, including its origins and similarities to C++. Introducing C# Welcome to the first chapter of the first section of this book. Over the course of this section we'll be taking a look at the basic knowledge required to get up and running. In this first

More information

COPYRIGHTED MATERIAL PART I. CHAPTER 1: Introducing C# CHAPTER 2: Writing a C# Program. CHAPTER 3: Variables and Expressions. CHAPTER 4: Flow Control

COPYRIGHTED MATERIAL PART I. CHAPTER 1: Introducing C# CHAPTER 2: Writing a C# Program. CHAPTER 3: Variables and Expressions. CHAPTER 4: Flow Control PART I CHAPTER 1: Introducing C# CHAPTER 2: Writing a C# Program CHAPTER 3: Variables and Expressions CHAPTER 4: Flow Control CHAPTER 5: More about Variables CHAPTER 6: Functions CHAPTER 7: Debugging and

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

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

.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

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

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

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

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

C# 6.0 in a nutshell / Joseph Albahari & Ben Albahari. 6th ed. Beijin [etc.], cop Spis treści

C# 6.0 in a nutshell / Joseph Albahari & Ben Albahari. 6th ed. Beijin [etc.], cop Spis treści C# 6.0 in a nutshell / Joseph Albahari & Ben Albahari. 6th ed. Beijin [etc.], cop. 2016 Spis treści Preface xi 1. Introducing C# and the.net Framework 1 Object Orientation 1 Type Safety 2 Memory Management

More information

Overview of the Microsoft.NET Framework

Overview of the Microsoft.NET Framework Overview of the Microsoft.NET Framework So far in this course, we have concentrated on one part of.net, the Foundation Class Libraries. However, there s more to.net than the FCL. This lecture will tell

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

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

Introduction to.net. The path. The Distributed Group University of Seville Spain - España. Introduction The elements of.net. Assessments Conclusions

Introduction to.net. The path. The Distributed Group University of Seville Spain - España. Introduction The elements of.net. Assessments Conclusions to.net The Distributed Group University of Seville Spain - España The path 1 1996 Internet 1 st Gen IE/IIS 1992 Client/Server The Way to.net 1997 Internet 2 nd Gen WinDNA 2001 Internet 3 rd Gen.NET Win32

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

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

.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

Question And Answer.

Question And Answer. Q.1 What would be the output of the following program? using System; namespaceifta classdatatypes static void Main(string[] args) inti; Console.WriteLine("i is not used inthis program!"); A. i is not used

More information

The C# Language PART I. CHAPTER 1: Introducing C# CHAPTER 2: Writing a C# Program. CHAPTER 3: Variables and Expressions. CHAPTER 4: Flow Control

The C# Language PART I. CHAPTER 1: Introducing C# CHAPTER 2: Writing a C# Program. CHAPTER 3: Variables and Expressions. CHAPTER 4: Flow Control PART I RI AL The C# Language MA CHAPTER 2: Writing a C# Program TE CHAPTER 1: Introducing C# CHAPTER 3: Variables and Expressions D CHAPTER 4: Flow Control TE CHAPTER 5: More About Variables GH CHAPTER

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 26: Component model: The.NET example Agenda for today 3 What is.net?

More information

Introduction to.net Framework and Visual Studio 2013 IDE MIT 31043, Rapid Application Development By: S. Sabraz Nawaz

Introduction to.net Framework and Visual Studio 2013 IDE MIT 31043, Rapid Application Development By: S. Sabraz Nawaz Introduction to.net Framework and Visual Studio 2013 IDE MIT 31043, Rapid Application Development By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty of Management and Commerce Rapid Application

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

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

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

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

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

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

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

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

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

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

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

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

Fundamental C# Programming

Fundamental C# Programming Part 1 Fundamental C# Programming In this section you will find: Chapter 1: Introduction to C# Chapter 2: Basic C# Programming Chapter 3: Expressions and Operators Chapter 4: Decisions, Loops, and Preprocessor

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

MICROSOFT.NET INTRODUCTION TO MICROSOFT'S.NET TECHNOLOGY

MICROSOFT.NET INTRODUCTION TO MICROSOFT'S.NET TECHNOLOGY Microsoft MICROSOFT.NET.NET INTRODUCTION TO MICROSOFT'S.NET TECHNOLOGY Peter R. Egli INDIGOO.COM 1/33 Contents 1. What is.net? 2..NET platform overview 3..NET history and versions 4. CLR - Common Language

More information

Prerequisites: The student should have programming experience in a high-level language. ITCourseware, LLC Page 1. Object-Oriented Programming in C#

Prerequisites: The student should have programming experience in a high-level language. ITCourseware, LLC Page 1. Object-Oriented Programming in C# Microsoft s.net is a revolutionary advance in programming technology that greatly simplifies application development and is a good match for the emerging paradigm of Web-based services, as opposed to proprietary

More information

vtuplanet.com C#Programming with.net C# Programming With.NET (06CS/IS761)

vtuplanet.com C#Programming with.net C# Programming With.NET (06CS/IS761) C# Programming With.NET (06CS/IS761) Chapter wise questions and Answers appeared in previous years: UNIT I: 1 Philosophy of the.net What are the building blocks of.net platform? Give the relationship between.net

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# 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

UNIT I INTRODUCTION TO C#

UNIT I INTRODUCTION TO C# UNIT I INTRODUCTION TO C# Syllabus: Introducing C#, Understanding.NET, Overview of C#, Literals, Variables, Data Types, Operators, Expressions, Branching, Looping, Methods, Arrays, Strings, Structures,

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

3A01:.Net Framework Security

3A01:.Net Framework Security 3A01:.Net Framework Security Wolfgang Werner HP Decus Bonn 2003 2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Agenda Introduction to

More information

CHAPTER 7 COM and.net

CHAPTER 7 COM and.net 1 CHAPTER 7 COM and.net Evolution of DCOM Introduction to COM COM clients and servers COM IDL & COM Interfaces COM Threading Models. Marshalling, Custom and standard marshalling. Comparison COM and CORBA.

More information

Vision V sion o n I n n 1975 V sion o n T o T d o a d y A c o c m o pu p t u er e o n o n e v e e v r e y E po p w o er e p e p o e p o l p e

Vision V sion o n I n n 1975 V sion o n T o T d o a d y A c o c m o pu p t u er e o n o n e v e e v r e y E po p w o er e p e p o e p o l p e Mobile Applications.. Vision Vision In 1975 A computer on every desk and in every home Vision Today Empower people through great software any time, any place, and on any device Mobility Group Empower people

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

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

COPYRIGHTED MATERIAL. Part I The C# Ecosystem. ChapTEr 1: The C# Environment. ChapTEr 2: Writing a First Program

COPYRIGHTED MATERIAL. Part I The C# Ecosystem. ChapTEr 1: The C# Environment. ChapTEr 2: Writing a First Program Part I The C# Ecosystem ChapTEr 1: The C# Environment ChapTEr 2: Writing a First Program ChapTEr 3: Program and Code File Structure COPYRIGHTED MATERIAL 1The C# Environment What s in This ChapTEr IL and

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

Developing Microsoft.NET Applications for Windows (Visual C#.NET)

Developing Microsoft.NET Applications for Windows (Visual C#.NET) Developing Microsoft.NET Applications for Windows (Visual C#.NET) Key Data Course #: 2555 Number of Days: 5 Format: Instructor-Led Certification Exams: TBD This course helps you prepare for the following

More information

.NET Framework Architecture Common Language Runtime C++ JScript Common Language Specification Visual Studio.NET ASP.

.NET Framework Architecture Common Language Runtime C++ JScript Common Language Specification Visual Studio.NET ASP. Page 1.NET Framework Architecture Common Language Runtime VB C++ C# JScript Common Language Specification ASP.NET Windows Forms ADO.NET and XML Base Class Library Common Language Runtime Windows COM+ Services

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

DOT NET SYLLABUS FOR 6 MONTHS

DOT NET SYLLABUS FOR 6 MONTHS DOT NET SYLLABUS FOR 6 MONTHS 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

More information

.NET CLR Framework. Unmanaged Hosts - Assembly Access

.NET CLR Framework. Unmanaged Hosts - Assembly Access Unmanaged Hosts - Assembly Access ptrex 8/08/2017 WHAT : is.net Common Language Runtime (CLR) Framework The Common Language Runtime (CLR) is a an Execution Environment. Common Language Runtime (CLR)'s

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

AC I Sem 5_TYCS. ASP.NET application codes can be written in any of the following languages:

AC I Sem 5_TYCS. ASP.NET application codes can be written in any of the following languages: Chapter 1-Overview of.net Framework What is ASP.NET? ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required to

More information

Team Developer and.net

Team Developer and.net Team Developer and.net Unify Corporation Table of Contents Abstract...3 PART I - Consuming Team Developer Code from VB.NET...6 PART II - Consuming a VB.NET Assembly from Team Developer...8 Conclusion...11

More information

Fig 1.1.NET Framework Architecture Block Diagram

Fig 1.1.NET Framework Architecture Block Diagram Overview of Microsoft.NET Framework The.NET Framework is a technology that supports building and running the next generation of applications and XML Web services. Using.Net technology it is easy to use

More information

Component models. Page 1

Component models. Page 1 Component Models and Technology Component-based Software Engineering Ivica Crnkovic ivica.crnkovic@mdh.se Page 1 Overview Introduction ACME Architectural Description Language Java Bean Component Model

More information

Uka Tarsadia University MCA ( 3rd Semester)/M.Sc.(CA) (1st Semester) Course : / Visual Programming Question Bank

Uka Tarsadia University MCA ( 3rd Semester)/M.Sc.(CA) (1st Semester) Course : / Visual Programming Question Bank Unit 1 Introduction to.net Platform Q: 1 Answer in short. 1. Which three main components are available in.net framework? 2. List any two new features added in.net framework 4.0 which is not available in

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

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

Getting Started with Visual Studio.NET

Getting Started with Visual Studio.NET V37 Getting Started with Visual Studio.NET Whil Hentzen Hentzenwerke Corp. Who Am I? Hentzenwerke Corp. (17 yrs) Editor, FoxTalk Author (6 books) Publisher, The Essentials for Visual FoxPro Ask me about

More information

IBM Tivoli Composite Application Manager for Microsoft Applications: Microsoft.NET Framework Agent Fix Pack 13.

IBM Tivoli Composite Application Manager for Microsoft Applications: Microsoft.NET Framework Agent Fix Pack 13. IBM Tivoli Composite Application Manager for Microsoft Applications: Microsoft.NET Framework Agent 6.3.1 Fix Pack 13 Reference IBM IBM Tivoli Composite Application Manager for Microsoft Applications:

More information

Authoring Installations for Microsoft s.net Framework

Authoring Installations for Microsoft s.net Framework Authoring Installations for Microsoft s.net Framework using Wise for Windows Installer Vanessa Wasko Wise Solutions, Inc. Abstract This paper provides an overview of creating an installation for an application

More information

Software components. software re-use. the Microsoft way. other approaches to components. libraries, etc. inter-language linkage

Software components. software re-use. the Microsoft way. other approaches to components. libraries, etc. inter-language linkage Software components software re-use libraries, etc. inter-language linkage the Microsoft way COM: the Component Object Model Visual Basic: scripting, embedding, viruses.net C# other approaches to components

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

Modern Programming Tools and Techniques-III DCAP301

Modern Programming Tools and Techniques-III DCAP301 Modern Programming Tools and Techniques-III DCAP301 MODERN PROGRAMMING TOOLS & TECHNIQUES-III Copyright 2013, MVSSN Prasad All rights reserved Produced & Printed by EXCEL BOOKS PRIVATE LIMITED A-45, Naraina,

More information

Assemblies. necessary and sufficient to make that file self describing. This unit is called Assembly.

Assemblies. necessary and sufficient to make that file self describing. This unit is called Assembly. Assemblies Any.NET application written by a developer may be a component that is designed to provide some service to other applications or itself a main application. In both cases when that.net application

More information

WAVV 2005 Colorado Springs, CO. VSE.NET Programming. Handouts. Agenda. Page 1. .NET Programming Example with VSE

WAVV 2005 Colorado Springs, CO. VSE.NET Programming. Handouts. Agenda. Page 1. .NET Programming Example with VSE .NET Programming Example with VSE Chuck Arney illustro Systems International LLC carney@illustro.com Handouts Download a copy of this presentation www.illustro.com/conferences WAVV2005-2 Agenda Introduction

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

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

Cookbook for using SQL Server DTS 2000 with.net

Cookbook for using SQL Server DTS 2000 with.net Cookbook for using SQL Server DTS 2000 with.net Version: 1.0 revision 15 Last updated: Tuesday, July 23, 2002 Author: Gert E.R. Drapers (GertD@SQLDev.Net) All rights reserved. No part of the contents of

More information

Copyright Notice SmartBear Software. All rights reserved.

Copyright Notice SmartBear Software. All rights reserved. Copyright Notice AQtime, as described in this on-line help system, is licensed under the software license agreement distributed with the product. The software may be used or copied only in accordance with

More information

Building Windows Applications with.net. Allan Laframboise Shelly Gill

Building Windows Applications with.net. Allan Laframboise Shelly Gill Building Windows Applications with.net Allan Laframboise Shelly Gill Introduction Who are we? Who are you? What is your experience Developing with ArcGIS Desktop, Engine and Server ArcGIS 8.x, 9.x and

More information

CSE P 501 Compilers. Java Implementation JVMs, JITs &c Hal Perkins Winter /11/ Hal Perkins & UW CSE V-1

CSE P 501 Compilers. Java Implementation JVMs, JITs &c Hal Perkins Winter /11/ Hal Perkins & UW CSE V-1 CSE P 501 Compilers Java Implementation JVMs, JITs &c Hal Perkins Winter 2008 3/11/2008 2002-08 Hal Perkins & UW CSE V-1 Agenda Java virtual machine architecture.class files Class loading Execution engines

More information