An Introduction to.net for the J2EE Programmer

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

Microsoft..NET Framework. Overview

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

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

Comparing.NET and Java.

Yoon Joong Kim. Department of computer Engineering Hanbat National University

Yoon Joong Kim. Department of computer Engineering Hanbat National University

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

Introduction to.net. What is.net?

A NET Refresher

Distributed Middleware

1. Introduction to the Common Language Infrastructure

Introduction to.net Framework

DB2 Development in.net Environment

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

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

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

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

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

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

C# Programming in the.net Framework

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

Department of Computer Applications

Developing Microsoft.NET Applications for Windows (Visual Basic.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

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

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

Introduction to.net Framework Week 1. Tahir Nawaz

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

Introduction to the Web and.net

Chapter 12 Microsoft Assemblies. Software Architecture Microsoft Assemblies 1

C# Syllabus. MS.NET Framework Introduction

EEE-425 Programming Languages (2013) 1

Introduction to the Web and.net

Introducing C# and the.net Framework

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

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

Interoperability. between. MS-Windows, Other Operating Systems. And. Linux

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

HCIM SUMMER WORKSHOP Introduction to C#

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

Course Hours

WA2 PRACTICE A. Windows Azure Platform Introduction

.NET-6Weeks Project Based Training

Building Windows Applications with.net. Allan Laframboise Shelly Gill

Top 40.NET Interview Questions & Answers

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

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

Module 1. An Introduction to C# Module 2. Classes and Objects. Vasundhara Sector 14-A, Plot No , Near Vaishali Metro Station,Ghaziabad

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

1 C# and the.net Framework

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

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

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

EEE-425 Programming Languages (2013) 1

Creating and Running Your First C# Program

PES INSTITUTE OF TECHNOLOGY

.Net Interview Questions

.Net. Course Content ASP.NET

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

Saikat Banerjee Page 1

DOT NET COURSE BROCHURE

Overview of the Microsoft.NET Framework

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

CIS 3260 Intro. to Programming with C#

SKILL AREA 304: Review Programming Language Concept. Computer Programming (YPG)

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

ISO/IEC TR TECHNICAL REPORT

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

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

Authoring Installations for Microsoft s.net Framework

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

LuaInterface: Scripting the.net CLR with Lua

Program Contents: DOTNET TRAINING IN CHENNAI

Java Internals. Frank Yellin Tim Lindholm JavaSoft

Run-time Program Management. Hwansoo Han

Programming in Visual Basic with Microsoft Visual Studio 2010

What s it for? What s the.net Micro Framework? How it Works. .NET Micro Framework Context 6/29/ :44 AM. Microsoft.NET on a TINY Footprint device

High-Level Language VMs

OUTLINE DELPHI 2005 FOR.NET JUMP START

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

.NET CLR Framework. Unmanaged Hosts - Assembly Access

Towards a Real-Time Implementation of the ECMA Common Language Infrastructure

UNIT I An overview of Programming models Programmers Perspective

Team Developer. There are no good reasons to stay in legacy mode.

Getting Started with the JNBridgePro Plug-ins for Visual Studio and Eclipse

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

Microsoft SQL Serveris arelational database server, developed by Microsoft. It is a software product whose primary function is to store and retrieve

5.1 Configuring Authentication, Authorization, and Impersonation. 5.2 Configuring Projects, Solutions, and Reference Assemblies

Darshan Institute of Engineering & Technology for Diploma Studies

Dot Net Online Training

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

Copyright Notice SmartBear Software. All rights reserved.

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

Part I: Programming Access Applications. Chapter 1: Overview of Programming for Access. Chapter 2: Extending Applications Using the Windows API

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

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

Question No: 1 ( Marks: 1 ) - Please choose one One difference LISP and PROLOG is. AI Puzzle Game All f the given

Making Gadgets. Rob Miles. Department of Computer Science University of Hull

Programming in C# for Experienced Programmers

Transcription:

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 detailed look at the important topics Class Libraries Component Model Application Servers Code Packaging / Deployment Versioning Security Model Integration with Legacy Code Portability Page

.NET Framework Overview and Terminology Source: Microsoft Corp. Page

.NET Framework Overview and Terminology 2.NET Framework TLAs CLI Common Language Infrastructure CLR Common Language Runtime CLS Common Language Specification CTS Common Type System VES Virtual Execution System CIL Common Intermediate Language Page

Common Language Infrastructure ECMA/ISO standard CLR is the name for Microsoft s implementation Defines the Common Type System (CTS), the Virtual Execution System (VES) and the Common Language Specification (CLS) Page

Common Language Runtime Microsoft ships several languages C# VB.NET C++ (with managed extensions) JScript.NET J# ILasm Third party languages Eiffel by Eiffel Software COBOL by Fujitsu FORTRAN by Lahey/Fujistu Delphi by Borland Perl by ActiveState Many research/toy languages http://www.jasonbock.net/dotnetlanguages.html Page

Common Language Specification CLS Framework A library consisting of CLS-compliant code CLS Consumer A language or tool that is designed to allow access to all of the features supplied by CLS-compliant frameworks, but not necessarily be able to produce them CLS Extender A language or tool that is designed to allow programmers to both use and extend CLS-compliant frameworks Page

Common Type System Page

Virtual Execution System An abstract runtime model (the equivalent of the Java Virtual Machine). Common Intermediate Language (CIL) Not designed to be interpreted. Has direct support for manipulating unmanaged data. Has direct support for calling unmanaged code. Provides Application Domains and Contexts and remoting support across both of these boundaries. Page

Managed Code Verifiably Type Safe Managed Code

Java Byte Code Verifiably Type Safe Java Byte Code

Managed Data Like Java, most code uses Managed Data. That is data that is managed by the runtime either on the stack or via the garbage collector. Unlike Java, trusted code can use unmanaged data (i.e. data outside of the control of the runtime), this can be used for interoperating with existing unmanaged code or for efficiency.

C# Not just a copy of Java Syntax very much like C++ and Java Fixes some Java flaws (e.g. return from finally) Additional Features (C# 1.1 vs Java 1.4) Custom Attributes, Value Types, Unsafe Code, Delegates, Enums, Internal Access Modifier, Properties, Events, Conditional Compilation, Operator Overloading, Boxing, Variable Argument Lists, Checked Integer Arithmetic Java 5.0 adds some of the C# features Annotations, Enums (but different), Boxing, Variable Argument Lists.

Class Libraries Like Java, the.net Framework has a rich set of class libraries. The class library is a little bit more consistent than in Java. Major Parts Base Framework Data and XML ASP.NET Windows Forms

Class Libraries Base Framework System Collections Configuration Diagnostics Globalization IO Net Reflection Emit Resources System Security ServiceProcess Text Threading Runtime InteropServices Remoting Serialization

Class Libraries Data and XML System.Data OleDb Common SqlClient SqlTypes System.Xml Xslt XPath Serialization

Class Libaries ASP.NET System.Web Services UI Description Discovery Protocols HtmlControls WebControls Caching Configuration System.Web Security SessionState

Class Libraries Windows Forms System.Windows.Forms Design ComponentModel System.Drawing Drawing2D Imaging Printing Text

Component Model Very nice component model, including design time support infrastructure. Demonstration!

Application Servers ASP.NET Web sites Web services Typically hosted by IIS, but can also be hosted inside other HTTP servers. COM+ Windows Services Like the JVM, you can host the CLR inside your own application.

Packaging / Deployment Assemblies Extension of the Windows executable file format (PE files). Can contain both managed as well as unmanaged code. GAC / NGEN xcopy deployment ASP.NET sites can be deployed by copying a directory. DLL files can be overwritten. Many client applications can be xcopy deployed as well.

Versioning Assemblies can have a strong name and a version number. Publisher can set versioning policy. Domain/Local administrator can set versioning policy. Multiple versions can be loaded side-by-side. Demonstration!

Security Model Code Access Security Declaritive Imperative Link Demands Isolated Storage Partially trusted code can read/write files through by using the standard file dialogs. Demonstration!

Integration with Legacy Code P/Invoke Efficient and relatively easy way to call existing native code, without having to write glue code. Demonstration! Managed C++ / C++/CLI Very powerful way to write glue code for complex object models. COM interop COM interfaces and objects can be used by.net code and vice versa.

J# Java on the.net Framework JDK 1.1.4 only Primarily a migration path for J++ users Third Party Tools Come see my other talk!

Portability CLR Windows x86/x64/ia64 Compact Framework Windows CE Shared Source CLI a.k.a. Rotor Windows x86, FreeBSD, Mac OS X Mono Windows x86, GNU/Linux x86/ppc, Mac OS X Portable.NET GNU/Linux x86

Future Somewhere in 2005, version 2.0 of the.net Framework 2.0 will be released. Generics C# language enhancements (generics, anonymous methods, iterators) Many class library enhancements C++/CLI The next version of Windows (Longhorn) will have an integrated CLR and many operating system components will be written as managed code.

Questions

Resources http://www.sscli.net/ http://www.jasonbock.net/dotnetlanguages.html http://www.mono-project.com/ http://www.dotgnu.org/ http://weblog.ikvm.net/ Microsoft has tons of interesting weblogs: http://blogs.msdn.com/