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

Size: px
Start display at page:

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

Transcription

1 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 Visual Studio.NET Manages running code Verifies type safety Provides garbage collection, error handling Code access security for semi-trusted code Provides common type system Value types (integer, float, user defined, etc) Objects, Interfaces Provides access to system resources Native API, COM interop, etc. Common Language Runtime Exception handling IL to Native Compilers Base Class Library Support Thread Support Type Checker Security Engine Code Manager Class Loader COM Marshaler Exception Manager Debug Engine Garbage Collector The CLR supports a standard exception-handling mechanism that works across all languages. Filters (lowest level) exceptions: [C#] try { //Some code that access a file catch(filenotfoundexception e) { Console.WriteLine("[Data File Missing] {0", e); Prepare state for exception

2 Page 2 Security support Debugging support The CLR checks to make sure that: The code is safe to execute The code is not breaching any security requirements The security engine also supports: Code-access security Declarative security checks Specified through administrative configuration or via attributes Imperative security checks Method code enforces security requirements The provided API for debuggers contains: Support for controlling program execution Breakpoints Exceptions Control flow etc. Interoperation Support The Microsoft.NET Framework promotes interaction with: COM components COM+ services External type libraries etc. How to bridge the gap: COM Interop facility is a bridge between COM and the CLR Platform Invoke (P/Invoke) facility makes it possible to call Windows API functions What is Assemblies Collection of functionality that is built versioned and deployed as a single implementation unit. The manifest: ( use MSIL disassembler Ildasm.exe to view) Establishes the identity, version, culture and digital signature. Defines what files are included in the assembly Specifies the types and resources that make up the assembly, included those that are exported from the assembly. Itemizes the compile-time dependencies on other assemblies. Specifies the set of permissions required for the assembly to run properly. AssemblyInfo.cs sets the attributes

3 Page 3 Single vs Multifile Private Assemblies Used by a single application Stored in the same application directory as the application Name does only need to be unique within the application scope Guaranteed that the application will run with the bits it was built with Shared Assemblies Signing An Assembly Used by many applications at the same time Must have a cryptographically unique strong name Deployed in the global assembly cache %windir%\assembly Calculus.dll IL Metadata Hash PE File Hash Value Signed with private key RSA Digital Signature Manifest Assembly files (self & RUT.mod) Public assembly types (self & RUT.mod) Public Key Embedded in PE File Public Key RSA Digital Signature Embedded in PE File

4 Page 4 Satellite Assemblies How the Runtime Locates Assemblies en sv.net PE File en-us Main code Class Loader Verifier JIT Managed Native Code Zh-CN One core assembly with the code Different resource assemblies for each culture CLR s Virtual Execution Engine JIT Compilers Versioning And Policy How Assembly References are Resolved part 1 Default: Bind to version built against Can be overridden with policy Application-specific policy Publisher policy Administrator policy or machine.config <dependentassembly> <assemblyidentityname="myasm" publickeytoken="e9b4c ede8" /> <bindingredirect oldversion=" " newversion=" "/> </dependentassembly> 1. Determines the correct assembly version by examining applicable configuration files. 1. Check the application configuration file for information that overrides the version information stored in the calling assembly s manifest. 2. Examines the publisher policy file installed in the GAC with the assembly. 1. May be overridden with <publisherpolicy apply= yes no > in the app config. 3. Checks the machine configuration called Machine.config located in the config subdirectory of the run-time installation. The version presented here is final and cannot be overridden. 2. If the assembly has been bound to before, use the previously loaded assembly.

5 Page 5 How Assembly References are Resolved part 2 Execution in the CLR 3. Checks the GAC for the assembly, if found, use it. 4. Probes for the assembly in the following steps: 1. If configuration and publisher policy do not affect the original reference and the request was made using Assembly.LoadFrom(), then use this information 2. If a <codebase> is found in the application configuration file then use it, if not found at that specified location the request fails. 3. Further probing using application base, culture, name and private binpath. 5. If not found ask windows installer to install it. It acts as an install on demand feature. CLR s Virtual Execution Engine JIT Compiler Call to uncompiled code Execution Verifier Managed Native Code Execution Support And Management Class Loader Class Libraries (IL & Metadata).NET Framework Architecture.NET Framework Namespace VB C++ C# JScript Common Language Specification ASP.NET Windows Forms ADO.NET and XML Base Class Library Common Language Runtime Windows COM+ Services Visual Studio.NET Services Description Discovery Protocols Caching Configuration ADO Design Collections Configuration Diagnostics Globalization System.Web System.Data UI HtmlControls WebControls Security SessionState SQL SQLTypes IO Net Reflection Resources System Security ServiceProcess Text Design Drawing2D Imaging XSLT XPath Threading System.WinForms ComponentModel System.Drawing Printing Text System.Xml Serialization Runtime InteropServices Remoting Serialization

6 Page 6 Language Interoperability A Unified Programming Model The CLR specifying and enforcing a common type system Inherit implementation from other types implemented in other languages Debuggers, profilers and other tools requires only to understand one environment, the MSIL Exceptions can be thrown across languages RAD, Composition, Delegation Consistent API availability regardless of language and programming model.net Framework Subclassing, Power, Expressiveness Stateless, Code embedded in HTML pages VB Forms MFC/ATL ASP Windows API Languages that Support.NET Advanced multi-language features Cross language inheritance, exceptions Over 20 languages support.net APL Python Cobol Scheme Component Pascal SmallTalk Eiffel Standard ML Haskell C++ Mercury VB Oberon JScript Perl C# Windows Forms Uses virtual methods to override message responses No message loop Component model that supports events MyButton.Click += new EventHandler (OnButtonClicked); private void OnButtonClicked (object sender, EventArgs e) { MessageBox.Show ("Click!"); Event is using delegates as function pointers Main form is started and then it is up to the components to fire events

7 Page 7 Programming model Organization Organized in hierarchical namespaces Unified type system Everything is an object Boxing converts value types to objects No need for special variant type Component Oriented Properties, methods & events are 1st class Design-time functionality Example Windows API HWND hwndmain = CreateWindowEx( 0, "MainWClass", "Main Window", WS_OVERLAPPEDWINDOW WS_HSCROLL WS_VSCROLL, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, (HWND)NULL, (HMENU)NULL, hinstance, NULL); ShowWindow(hwndMain, SW_SHOWDEFAULT); UpdateWindow(hwndMain);.NET Framework Form form = new Form(); form.text = "Main Window"; form.show(); Everything Is An Object Everything Is An Object Traditional views of primitive types C++, Java: They re magic Smalltalk, Lisp: They re full-blown objects The.NET Framework unifies with no performance cost Deep simplicity throughout system Improved extensibility and reusability New primitive types: Decimal, SQL Collections, etc., work for all types Boxing Allocates box, copies value into it Unboxing Checks type of box, copies value out Dim i As Integer = 123 Dim o As Object = i Dim j As Integer = CInt(o) int i = 123; object o = i; int j = (int)o; i o j System.Int32

8 Page 8 From COM to.net From COM to.net COM Registration GUIDs.IDL files HRESULTs IUnknown AddRef/Release CoCreateInstance QueryInterface.NET self describing components hierarchical namespaces source code to metadata structured exceptions Root object class Garbage collector new operator Type.GetInterface No registration required Code is completely self-describing Simply xcopycomponents to application directory Zero-impact install Installing one application will not affect another Side-by -side execution Multiple component versions can co-exist Integration with COM Evolution of COM Deploy.NET classes as COM objects Register with RegAsm.exe COM objects can be imported No ref counting or COM API needed.net classes utilize COM+ services Transactions, Object pooling, etc Easily call system functions No marshaling for common cases COM MTS COM+

9 Page 9 Overview of COM+ Services Object Pooling Some COM+ Services: Transactions Object Pooling Queued Components (MSMQ) Security For a class to exploit COM+ Services, it must: Derive from the ServicedComponent class Pools are: A group of resources. Shared between clients. Methods used for object pooling in.net: CanBePooled(), lets you tell COM+ whether your object can be pooled when this method is called. Activate( ) and Deactivate( ) to perform initialization and cleanup. Transactions Collections of operations that form a single logical unit of work are called transactions. Transaction must be atomic (i.e., either all or none of the operations in the transaction are completed). By taking advantage of COM+ Services transactions are easily implemented in.net (as we shall see). Attribute-Based Programming Attributes are placed to signal characteristics about the code Either predefined or custom Interceptor programs look for special attributes and provide additional service if they are present. Used for accessing COM+ Services from within the.net framework. The programmer does not need to know the details of how this is implemented to use COM+ Services. The.NET Reflection API can be used to implement

10 Page 10 Example: Transactions (C#) Example: Transactions (alternative C#) Example adapted from O Reillys.NET Framework Essentials using System; using System.EnterpriseServices; // Installation options omitted [Transaction(TransactionOption.Required] Public class Customer : ServicedComponent { public void Add(...) { try { // Add new customer to the system and update db s ContextUtil.SetComplete(); // Commit catch(exception e) { ContextUtil.SetAbort(); Example adapted from O Reillys.NET Framework Essentials using System; using System.EnterpriseServices; // Installation options omitted [Transaction(TransactionOption.Required] Public class Customer : ServicedComponent { [AutoComplete] public void Add(...) { // Add new customer to the system and update db s Overview of the Exercises Exercise Windows Application Web Application Private Assembly Shared Assembly Web Service Goal: Get to know WinForms and how to create applications in.net using C# Requirements Must have Visual Studio.NET and the framework Prerequisites Know C++/Java or C# Deliverable A simple window based application

11 Page 11 Exercise 1 Exercise 2 Example view from exercise 1 Goal: Implement an interface that will be used in the following labs Add a strong name to the interface and put it in the GAC Get to know private assemblies Requirements Lab 1 finished Deliverable An assembly that provide a common interface for the successive exercises A private assembly that use the common interface Useful tools Useful Tools COM Interoperability TlbImp.exe Imports a COM type library into a proxy.net assembly RegAsm.exe Enters a.net component into the registry TlbExp.exe Exports a.net component s type information AxImp.exe Creates a.net proxy for an ActiveX control so that the control can be used in a.net WinForm Class Viewer WinCV.exe Used to view classes available in the GAC including all base classes CLR resource loading Fuslogvw.exe helps to analyze the resource loading process Assembly management XML ildasm.exe examines assemblies and shows the manifest Gacutil.exe adds and removes assemblies to the Global Assembly Cache sn.exe generates and manages private and public keys XML Al.exe Assembly generation utility is used to generate assemblies with manifests and key manipulations NGEN.EXE The native Image Generator creates a native image and installs it in the cache allowing assemblies to load faster XSD.exe Used to work with XML Schema Definitions For example: Classes to XSD, XML to XSD.NET Configuration Mscorcfg.msc manages publication polices and assemblies

12 Page 12 Additional Resources msdn.microsoft.com/net/ msdn.microsoft.com/msdnmag/netindex.asp NET Framework Essentials THuan Thai & Hoang Q. Lam, O REILLY Source for many papers/tutorials/tools etc.

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

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

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

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

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

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

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

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

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

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

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

DB2 Development in.net Environment

DB2 Development in.net Environment IBM Software Group DB2 Development in.net Environment 김상협부장 (shkim@devpia.com) DEVPIA Co., Ltd..NET-consulting Div. Mgr. Agenda Introducing to.net Setup Environment DB2.NET Data Provider Visual Studio.NET

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

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

.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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Saikat Banerjee Page 1

Saikat Banerjee Page 1 1. What s the advantage of using System.Text.StringBuilder over System.String? StringBuilder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each

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

.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

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

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

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

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

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

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

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

.NET FRAMEWORK. Visual C#.Net

.NET FRAMEWORK. Visual C#.Net .NET FRAMEWORK Intro to.net Platform for the.net Drawbacks of Current Trend Advantages/Disadvantages of Before.Net Features of.net.net Framework Net Framework BCL & CLR, CTS, MSIL, & Other Tools Security

More information

2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days

2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days 2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days Certification Exam This course will help you prepare for the following Microsoft Certified

More information

PROGRAMMING WITH THE MICROSOFT.NET FRAMEWORK USING MICROSOFT VISUAL STUDIO 2005 Course No. MS4995A 5 Day PREREQUISITES COURSE OUTLINE

PROGRAMMING WITH THE MICROSOFT.NET FRAMEWORK USING MICROSOFT VISUAL STUDIO 2005 Course No. MS4995A 5 Day PREREQUISITES COURSE OUTLINE COURSE OVERVIEW This five-day instructor-led course enables developers who are migrating from a different development language, an earlier version of Visual Basic.NET or Visual C#, or who have completed

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

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

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

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

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

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

.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

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

2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET

2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET 2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET Introduction Elements of this syllabus are subject to change. This five-day instructor-led course provides students with the knowledge

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

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

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

.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

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

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

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

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

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

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

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

Introduction to Web Development with Microsoft Visual Studio 2010

Introduction to Web Development with Microsoft Visual Studio 2010 Introduction to Web Development with Microsoft Visual Studio 2010 Course 10267; 5 Days, Instructor-led Course Description This five-day instructor-led course provides knowledge and skills on developing

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

SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM ( )

SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM ( ) SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM (2013-2014) MODULE: C# PROGRAMMING CHAPTER 1: INTRODUCING.NET AND C# 1.1 INTRODUCTION TO LANGUAGES C++ C# DIFFERENCES BETWEEN

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

.NET 4.6 MICROSOFT CURRICULUM MICROSOFT.NET 2015 (4.6)

.NET 4.6 MICROSOFT CURRICULUM MICROSOFT.NET 2015 (4.6) MICROSOFT.NET 4.6 CURRICULUM MICROSOFT.NET 2015 (4.6) Introduction of Dot Net Framework What is Dot Net? Why Dot Net? Advantages of Dot Net Component of Dot Net What is FCL? What is Framework? Creating

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

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

Web Platform Introduction With a focus on free. Mike Taulty Developer & Platform Group Microsoft Ltd

Web Platform Introduction With a focus on free. Mike Taulty Developer & Platform Group Microsoft Ltd Web Platform Introduction With a focus on free Mike Taulty Developer & Platform Group Microsoft Ltd Mike.Taulty@microsoft.com http://www.mtaulty.com The humble web request Internet Information Services

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

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

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

Introduction to C++/CLI 3. What C++/CLI can do for you 6 The rationale behind the new syntax Hello World in C++/CLI 13

Introduction to C++/CLI 3. What C++/CLI can do for you 6 The rationale behind the new syntax Hello World in C++/CLI 13 contents preface xv acknowledgments xvii about this book xix PART 1 THE C++/CLI LANGUAGE... 1 1 Introduction to C++/CLI 3 1.1 The role of C++/CLI 4 What C++/CLI can do for you 6 The rationale behind the

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

Module 9: Developing Components in Visual Basic.NET

Module 9: Developing Components in Visual Basic.NET Module 9: Developing Components in Visual Basic.NET Contents Overview 1 Components Overview 2 Creating Serviced Components 11 Demonstration: Creating a Serviced Component 27 Lab 9.1: Creating a Serviced

More information

Pro ODP.NET for Oracle. Database 11 g. Edmund Zehoo. Apress

Pro ODP.NET for Oracle. Database 11 g. Edmund Zehoo. Apress Pro ODP.NET for Oracle Database 11 g Edmund Zehoo Apress Contents Contents at a Glance iv Contents....v About the Author About the Technical Reviewer Acknowledgments xvii xviii xix Chapter 1: Introduction

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

2609 : Introduction to C# Programming with Microsoft.NET

2609 : Introduction to C# Programming with Microsoft.NET 2609 : Introduction to C# Programming with Microsoft.NET Introduction In this five-day instructor-led course, developers learn the fundamental skills that are required to design and develop object-oriented

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

Microsoft Official Courseware Course Introduction to Web Development with Microsoft Visual Studio

Microsoft Official Courseware Course Introduction to Web Development with Microsoft Visual Studio Course Overview: This five-day instructor-led course provides knowledge and skills on developing Web applications by using Microsoft Visual Studio 2010. Prerequisites Before attending this course, students

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

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

Developing Web Applications Using Microsoft Visual Studio 2008 SP1

Developing Web Applications Using Microsoft Visual Studio 2008 SP1 Developing Web s Using Microsoft Visual Studio 2008 SP1 Introduction This five day instructor led course provides knowledge and skills on developing Web applications by using Microsoft Visual Studio 2008

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

Part I. The.NET Framework. Chapter 1: The.NET Foundation. Chapter 2: The Technologies of.net

Part I. The.NET Framework. Chapter 1: The.NET Foundation. Chapter 2: The Technologies of.net Part I The.NET Framework Chapter 1: The.NET Foundation Chapter 2: The Technologies of.net Chapter 1 The.NET Foundation A rock pile ceases to be a rock pile the moment a single man contemplates it, bearing

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

M Introduction to Visual Basic.NET Programming with Microsoft.NET 5 Day Course

M Introduction to Visual Basic.NET Programming with Microsoft.NET 5 Day Course Module 1: Getting Started This module introduces Visual Basic.NET and explains how it fits into the.net platform. It explains how to use the programming tools in Microsoft Visual Studio.NET and provides

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

M Developing Microsoft ASP.NET Web Applications Using Visual Studio.NET 5 Day Course

M Developing Microsoft ASP.NET Web Applications Using Visual Studio.NET 5 Day Course Module 1: Overview of the Microsoft.NET Framework This module introduces the conceptual framework of the.net Framework and ASP.NET. Introduction to the.net Framework Overview of ASP.NET Overview of the

More information

ASP.net. Microsoft. Getting Started with. protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable();

ASP.net. Microsoft. Getting Started with. protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable(); Getting Started with protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable(); string connectionstring = System.Configuration.ConfigurationManager.ConnectionStrings ["default"].connectionstring;!

More information

DE-2310 Developing Web Applications Using Microsoft Visual Studio 2008 SP1

DE-2310 Developing Web Applications Using Microsoft Visual Studio 2008 SP1 DE-2310 Developing Web Applications Using Microsoft Visual Studio 2008 SP1 Summary Duration 5 Days Audience Developers Level 100 Technology Microsoft Visual Studio 2008 Delivery Method Instructor-led (Classroom)

More information

M Introduction to C# Programming with Microsoft.NET - 5 Day Course

M Introduction to C# Programming with Microsoft.NET - 5 Day Course Module 1: Getting Started This module presents the concepts that are central to the Microsoft.NET Framework and platform, and the Microsoft Visual Studio.NET integrated development environment (IDE); describes

More information

"Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary

Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary Description Course Summary This course provides knowledge and skills on developing Web applications by using Microsoft Visual. Objectives At the end of this course, students will be Explore ASP.NET Web

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