Net Overview Outline

Total Page:16

File Type:pdf, Size:1020Kb

Net Overview Outline .Net Overview Tom Lathrop Al Arujunan ©Eastman Kodak Company, 2001 Outline • Introduction • CLR • .Net Languages • Miscellaneous Topics • ASP.Net ©Eastman Kodak Company, 2001 1 Introduction ©Eastman Kodak Company, 2001 Introduction • .Net – Microsoft’s next-generation architecture • Microsoft’s biggest new architectural initiative since Windows • Microsoft is spending ~ $2 billion/year on .Net ©Eastman Kodak Company, 2001 2 Goals of .Net • Make it easier to build web-based applications • Simplify programming model – Particularly for C++ programmers • Simpler, safer deployment – No more “DLL hell” ©Eastman Kodak Company, 2001 Goals of .Net • Make it easier to mix different languages in the same system • Cross-platform deployment (within Windows family ©Eastman Kodak Company, 2001 3 The .NET Framework • Designed from the ground up for a web services world • XML natively supported • Web service built in • Designed for high availability/reliability ©Eastman Kodak Company, 2001 .NET Platform Roadmap The .NET platform End-User Your Application and Web Service Your Internal Clients Services Orchestration Operations .NET Enterprise Servers .NET Applications Using Your Framework Service .NET Foundation Windows Services ME, 2000, XP, .NET Visual Internet Protocols Third Party Studio.NET SOAP, HTTP, SMTP, XML Web Services ©Eastman Kodak Company, 2001 4 .NET Framework Components • Common Language Runtime(CLR) – Common type system for all languages – Rich runtime environment • Rich class libraries – Base class libraries, ADO.Net and XML – Windows Forms for rich, Win32 applications • Web application platform ASP.NET – Rich interactive pages – Powerful web services ©Eastman Kodak Company, 2001 .NET Framework architecture What is the .NET framework? VB C++ C# JScript … Visual Studio.NET Common Language Specification ASP.NET: Web Windows Services & Web Forms Forms ADO.NET: Data and XML Common Language Runtime Operating System ©Eastman Kodak Company, 2001 5 .Net Framework and CLR • .Net languages compiled to Microsoft Intermediate Language (MSIL) • JIT compiler used to translate MSIL to executable code • MSIL is “managed code” which uses garbage collection • Network communication based on XML and SOAP ©Eastman Kodak Company, 2001 .NET Framework Execution .NET Framework •Different Languages VB C# •Compile •Same IL MSIL MSIL ©Eastman Kodak Company, 2001 6 Common Language Runtime ©Eastman Kodak Company, 2001 .NET Framework And CLR CLR Execution Model Source VB C# C++ code Unmanaged Compiler Compiler Compiler Component Managed Assembly Assembly Assembly IL Code IL Code IL Code code Common Language Runtime JIT Compiler Native Code Operating System Services ©Eastman Kodak Company, 2001 7 Common Language Runtime Type System • All .Net languages use the same type system, so code in one language can call or inherit from classes written in another language without type conversions – Single-rooted type system (System.Object) unlike COM, CORBA, and Java • COM uses different type system than C++, so C++ COM programmers spend a lot of time dealing with type (e.g. BSTR, Variant, IUnknown) ©Eastman Kodak Company, 2001 Common Language Runtime Assemblies • Unit of deployment, versioning, security, code reuse • Contains – Manifest – Metadata – MSIL – Resources (optional) ©Eastman Kodak Company, 2001 8 Deployment • XCopy deployment – No registration necessary • Side-by-side execution – Multiple versions of the same component can co-exist, even in the same process – Eliminates “DLL hell” ©Eastman Kodak Company, 2001 Deployment • Assemblies can be private or shared • Default is private (unlike COM) • Private assemblies go in a program subdirectory • Shared assemblies go in Global Assembly Cache (GAC) • Application configuration file (XML) can modify search path for assemblies ©Eastman Kodak Company, 2001 9 .Net Uses XML Extensively • Network communication (SOAP) • Serialization – Persistence – Marshalling • Application configuration files • Used internally and supported by ADO.Net • Documentation in C# • And more… ©Eastman Kodak Company, 2001 SOAP • XML-based messaging and RPC protocol • .Net replacement for DCOM • Not platform or language specific • Can go through firewalls • Uses HTTP as a transport • Can use with secure transport (eg. HTTPS) ©Eastman Kodak Company, 2001 10 .Net Languages ©Eastman Kodak Company, 2001 Microsoft’s .Net Languages • C# • Visual Basic.Net • Managed Extensions for C++ • Jscript • ILAsm (Microsoft .Net IL Assembler) ©Eastman Kodak Company, 2001 11 Other .Net Languages • COBOL (Fujitsu) • Eiffel • Perl • Python • Smalltalk • APL • Fortran ©Eastman Kodak Company, 2001 C# • New language developed by Microsoft • Submitted to ECMA for standardization • Member of the C family • Influenced by C++, Java, VB, Delphi ©Eastman Kodak Company, 2001 12 C# • Many similarities to Java – General syntax – Fully object-oriented – Single inheritance – Interfaces – All classes inherit from Object – Try/catch/finally ©Eastman Kodak Company, 2001 C# • More similarities to Java – Thread synchronization – Garbage collection – Compiled to intermediate language ©Eastman Kodak Company, 2001 13 C# • Differences from Java – Properties – Enums – Structs – Attributes – Delegates – Events ©Eastman Kodak Company, 2001 C# • More differences from Java – Boxing – Namespaces – Foreach statement – Operator overloading – Pass by reference – XML documentation ©Eastman Kodak Company, 2001 14 C# - Boxing • Everything in C# can be treated as an object – Including built-in types: integers, floats, etc. – 3.ToString() is legal C# • To avoid overhead, value types are normally handled on the stack • When an object reference is made against a value type, a “box” object is created on©Eastman the Kodak heapCompany, 2001 C# - Attributes • Attributes can be added to a module, class, method, property, parameter, etc. • Extensible • Example: WebMethod attribute in ASP.Net [WebMethod] public string SayHello(string Name) { return “Hello “ + Name; } ©Eastman Kodak Company, 2001 15 C# - Delegates • Delegates are objects that invoke methods on another object • Somewhat like C function pointers • Delegates extend System.Delegate (or a subclass) • Delegates are supported in C# and VB.Net, but syntax is different • Delegates provide support for asynchronous method invocation ©Eastman Kodak Company, 2001 Visual Basic .NET • Next generation of Visual Basic • Fully object-oriented – Inheritance – Java-like exception handling • Other significant changes – will break many existing programs ©Eastman Kodak Company, 2001 16 Managed Extensions for C++ • Uses the services of the Common Language Runtime • Garbage collection • New (proprietary) keywords • New switch on C++ compiler: /CLR • Code compiled with /CLR is MSIL, with some exceptions ©Eastman Kodak Company, 2001 JUMP – Java User Migration Path • Three tools for using Java with .Net – Tool to allow developing .Net applications with Java syntax – Tool to allow running VJ++ code on .Net CLR (rather than JVM) – Source code conversion tool from Visual J++ to C# • Supports JDK 1.1.4 only • Announced in January but not yet available ©Eastman Kodak Company, 2001 17 Miscellaneous Topics ©Eastman Kodak Company, 2001 Visual Studio.Net • Integrated design time environment. • Tools used across language. • Very rich help system. • RAD for desktop application and web application. • Web Forms, Win Forms ©Eastman Kodak Company, 2001 18 WinForms • Windows Forms – framework for building rich client Windows applications • Usable by any .Net language • RAD design time experience • Visual Studio.Net uses WinForms • WinForms can host ActiveX Controls ©Eastman Kodak Company, 2001 ASP.Net ©Eastman Kodak Company, 2001 19 ASP Today • The leading web development platform – Nearly one million ASP developers • Simple and approachable development – HTML with embedded script – No compile required – “just hit save” • Relatively flexible and extensible – Supports multiple script languages – COM objects access resources, encapsulate business logic ©Eastman Kodak Company, 2001 Areas for Improvement • Allow clean separation of code and content • Require less code for common tasks • Allow compiled languages • Make deployment of components easier • Enable apps to work better in web farms • Provide a better architecture for tools ©Eastman Kodak Company, 2001 20 ASP.NET • The .NET web application server platform • Improved development platform – Rich page architecture – “Web Forms” – Great support for XML Web Services – Modular, factored architecture – Great tools support • Easier to deploy • Enhanced reliability and availability • Improved performance and scalability ©Eastman Kodak Company, 2001 ASP.NET Page Framework • Control-based, event-driven execution – “VB for the Web” – Much less code required than ASP – Cleanly encapsulated functionality • Uses compiled languages – VB, C#, Jscript – Executed via CLR as native code • ASP.NET pages use “.ASPX” extension – Runs side-by-side on IIS with current ASP applications ©Eastman Kodak Company, 2001 21 Caching Support • Full page output caching – Vary by params, language, user-agent • Fragment Caching – Enables portions of pages to be cached • Extensible Cache API – Developers can cache arbitrary objects – Multiple expiration policies, file change invalidation ©Eastman Kodak Company, 2001 PC Magazine Nile Application 2781 2800 Test 8 CPU Pages Served per Second 4 CPU 2400 2 CPU 2000 1989 1600 1200 1154 748 800 637 330 400 Microsof Microsof t t ©Eastman Kodak Company, 2001 ASP ASP.NET 22 Web Services in ASP.NET • Simple Programming Model
Recommended publications
  • Non-Invasive Software Transactional Memory on Top of the Common Language Runtime
    University of Neuchâtel Computer Science Department (IIUN) Master of Science in Computer Science Non-Invasive Software Transactional Memory on top of the Common Language Runtime Florian George Supervised by Prof. Pascal Felber Assisted by Patrick Marlier August 16, 2010 This page is intentionally left blank Table of contents 1 Abstract ................................................................................................................................................. 3 2 Introduction ........................................................................................................................................ 4 3 State of the art .................................................................................................................................... 6 4 The Common Language Infrastructure .................................................................................. 7 4.1 Overview of the Common Language Infrastructure ................................... 8 4.2 Common Language Runtime.................................................................................. 9 4.3 Virtual Execution System ........................................................................................ 9 4.4 Common Type System ........................................................................................... 10 4.5 Common Intermediate Language ..................................................................... 12 4.6 Common Language Specification.....................................................................
    [Show full text]
  • Ironpython in Action
    IronPytho IN ACTION Michael J. Foord Christian Muirhead FOREWORD BY JIM HUGUNIN MANNING IronPython in Action Download at Boykma.Com Licensed to Deborah Christiansen <[email protected]> Download at Boykma.Com Licensed to Deborah Christiansen <[email protected]> IronPython in Action MICHAEL J. FOORD CHRISTIAN MUIRHEAD MANNING Greenwich (74° w. long.) Download at Boykma.Com Licensed to Deborah Christiansen <[email protected]> For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact Special Sales Department Manning Publications Co. Sound View Court 3B fax: (609) 877-8256 Greenwich, CT 06830 email: [email protected] ©2009 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps. Recognizing the importance of preserving what has been written, it is Manning’s policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15% recycled and processed without the use of elemental chlorine.
    [Show full text]
  • IJIRT | Volume 2 Issue 6 | ISSN: 2349-6002
    © November 2015 | IJIRT | Volume 2 Issue 6 | ISSN: 2349-6002 .Net Surbhi Bhardwaj Dronacharya College of Engineering Khentawas, Haryana INTRODUCTION as smartphones. Additionally, .NET Micro .NET Framework (pronounced dot net) is Framework is targeted at severely resource- a software framework developed by Microsoft that constrained devices. runs primarily on Microsoft Windows. It includes a large class library known as Framework Class Library (FCL) and provides language WHAT IS THE .NET FRAMEWORK? interoperability(each language can use code written The .NET Framework is a new and revolutionary in other languages) across several programming platform created by Microsoft for languages. Programs written for .NET Framework developingapplications. execute in a software environment (as contrasted to hardware environment), known as Common It is a platform for application developers. Language Runtime (CLR), an application virtual It is a Framework that supports Multiple machine that provides services such as Language and Cross language integration. security, memory management, and exception handling. FCL and CLR together constitute .NET IT has IDE (Integrated Development Framework. Environment). FCL provides user interface, data access, database Framework is a set of utilities or can say connectivity, cryptography, web building blocks of your application system. application development, numeric algorithms, .NET Framework provides GUI in a GUI and network communications. Programmers manner. produce software by combining their own source code with .NET Framework and other libraries. .NET is a platform independent but with .NET Framework is intended to be used by most new help of Mono Compilation System (MCS). applications created for the Windows platform. MCS is a middle level interface. Microsoft also produces an integrated development .NET Framework provides interoperability environment largely for .NET software called Visual between languages i.e.
    [Show full text]
  • CLS Compliance Rules
    Language Independence and Language-Independent Components https://msdn.microsoft.com/en-us/library/12a7a7h3(d=printer,v=vs.110).aspx Language Independence and Language- Independent Components .NET Framework (current version) The .NET Framework is language independent. This means that, as a developer, you can develop in one of the many languages that target the .NET Framework, such as C#, C++/CLI, Eiffel, F#, IronPython, IronRuby, PowerBuilder, Visual Basic, Visual COBOL, and Windows PowerShell. You can access the types and members of class libraries developed for the .NET Framework without having to know the language in which they were originally written and without having to follow any of the original language's conventions. If you are a component developer, your component can be accessed by any .NET Framework app regardless of its language. Note This first part of this article discusses creating language-independent components—that is, components that can be consumed by apps that are written in any language. You can also create a single component or app from source code written in multiple languages; see Cross-Language Interoperability in the second part of this article. To fully interact with other objects written in any language, objects must expose to callers only those features that are common to all languages. This common set of features is defined by the Common Language Specification (CLS), which is a set of rules that apply to generated assemblies. The Common Language Specification is defined in Partition I, Clauses 7 through 11 of the ECMA-335 Standard: Common Language Infrastructure . If your component conforms to the Common Language Specification, it is guaranteed to be CLS-compliant and can be accessed from code in assemblies written in any programming language that supports the CLS.
    [Show full text]
  • NET Framework
    Advanced Windows Programming .NET Framework based on: A. Troelsen, Pro C# 2005 and .NET 2.0 Platform, 3rd Ed., 2005, Apress J. Richter, Applied .NET Frameworks Programming, 2002, MS Press D. Watkins et al., Programming in the .NET Environment, 2002, Addison Wesley T. Thai, H. Lam, .NET Framework Essentials, 2001, O’Reilly D. Beyer, C# COM+ Programming, M&T Books, 2001, chapter 1 Krzysztof Mossakowski Faculty of Mathematics and Information Science http://www.mini.pw.edu.pl/~mossakow Advanced Windows Programming .NET Framework - 2 Contents The most important features of .NET Assemblies Metadata Common Type System Common Intermediate Language Common Language Runtime Deploying .NET Runtime Garbage Collection Serialization Krzysztof Mossakowski Faculty of Mathematics and Information Science http://www.mini.pw.edu.pl/~mossakow Advanced Windows Programming .NET Framework - 3 .NET Benefits In comparison with previous Microsoft’s technologies: Consistent programming model – common OO programming model Simplified programming model – no error codes, GUIDs, IUnknown, etc. Run once, run always – no "DLL hell" Simplified deployment – easy to use installation projects Wide platform reach Programming language integration Simplified code reuse Automatic memory management (garbage collection) Type-safe verification Rich debugging support – CLR debugging, language independent Consistent method failure paradigm – exceptions Security – code access security Interoperability – using existing COM components, calling Win32 functions Krzysztof
    [Show full text]
  • CNT6008 Network Programming Module - 11 Objectives
    CNT6008 Network Programming Module - 11 Objectives Skills/Concepts/Assignments Objectives ASP.NET Overview • Learn the Framework • Understand the different platforms • Compare to Java Platform Final Project Define your final project requirements Section 21 – Web App Read Sections 21 and 27, pages 649 to 694 and 854 Development and ASP.NET to 878. Section 27 – Web App Development with ASP.NET Overview of ASP.NET Section Goals Goal Course Presentation Understanding Windows Understanding .NET Framework Foundation Project Concepts Creating a ASP.NET Client and Server Application Understanding the Visual Creating a ASP Project Studio Development Environment .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 language) What Is .NET • .Net is a new framework for developing web-based and windows-based applications within the Microsoft environment. • The framework offers a fundamental shift in Microsoft strategy: it moves application development from client-centric to server- centric. .NET – What Is It? .NET Application .NET Framework Operating System + Hardware Framework, Languages, And Tools VB VC++ VC# JScript … Common Language Specification Visual Studio.NET Visual ASP.NET: Web Services Windows and Web Forms Forms ADO.NET: Data and XML Base Class Library Common Language Runtime The .NET Framework .NET Framework Services • Common Language Runtime • Windows Communication Framework (WCF) • Windows® Forms • ASP.NET (Active Server Pages) • Web Forms • Web Services • ADO.NET, evolution of ADO • Visual Studio.NET Common Language Runtime (CLR) • CLR works like a virtual machine in executing all languages. • All .NET languages must obey the rules and standards imposed by CLR.
    [Show full text]
  • Programming for Application Development (R18) IV- I Sem
    Programming for Application Development (R18) IV- I Sem DIGITAL NOTES ON Programming for Application Development (R18A1206) B.TECH IV YEAR - I SEM (2021-22) DEPARTMENT OF INFORMATION TECHNOLOGY MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY (Autonomous Institution – UGC, Govt. of India) (Affiliated to JNTUH, Hyderabad, Approved by AICTE - Accredited by NBA & NAAC – ‘A’ Grade - ISO 9001:2015 Certified) Maisammaguda, Dhulapally (Post Via. Hakimpet), Secunderabad – 500100, Telangana State, INDIA. Dept. of Information Technology, MRCET Programming for Application Development (R18) IV- I Sem (R18A1206) PROGRAMMING FOR APPLICATION DEVELOPMENT Course Objectives: 1. To get an overview of the various technologies, which can help in the implementation of the various liveProject. 2. To Understand the Basic Concepts ofC# 3. To Understand the Exception HandlingMechanisms 4. To Understand the Various Concepts of .netAssemblies UNIT I: MS.NET Framework Introduction: The .NET Framework - an Overview- Framework Components – Framework Versions-Types of Applications ,MS.NET Namespaces - MSIL / Metadata and PE files- Common Language Runtime (CLR) - Managed Code -MS.NET Memory Management / Garbage Collection -Common Type System (CTS) - Common Language Specification (CLS)- Types of JIT Compilers. UNIT II: Developing Console Application: Introduction to Project and Solution in Studio- Entry point method - Main. - Compiling and Building Projects -Using Command Line Arguments - Importance of Exit code of an application- Different valid forms of Main- Compiling
    [Show full text]
  • INTRODUCTION to .NET FRAMEWORK NET Framework .NET Framework Is a Complete Environment That Allows Developers to Develop, Run, An
    INTRODUCTION TO .NET FRAMEWORK NET Framework .NET Framework is a complete environment that allows developers to develop, run, and deploy the following applications: Console applications Windows Forms applications Windows Presentation Foundation (WPF) applications Web applications (ASP.NET applications) Web services Windows services Service-oriented applications using Windows Communication Foundation (WCF) Workflow-enabled applications using Windows Workflow Foundation (WF) .NET Framework also enables a developer to create sharable components to be used in distributed computing architecture. NET Framework supports the object-oriented programming model for multiple languages, such as Visual Basic, Visual C#, and Visual C++. NET Framework supports multiple programming languages in a manner that allows language interoperability. This implies that each language can use the code written in some other language. The main components of .NET Framework? The following are the key components of .NET Framework: .NET Framework Class Library Common Language Runtime Dynamic Language Runtimes (DLR) Application Domains Runtime Host Common Type System Metadata and Self-Describing Components Cross-Language Interoperability .NET Framework Security Profiling Side-by-Side Execution Microsoft Intermediate Language (MSIL) The .NET Framework is shipped with compilers of all .NET programming languages to develop programs. Each .NET compiler produces an intermediate code after compiling the source code. 1 The intermediate code is common for all languages and is understandable only to .NET environment. This intermediate code is known as MSIL. IL Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In-Time (JIT) compiler.
    [Show full text]
  • Programming with Windows Forms
    A P P E N D I X A ■ ■ ■ Programming with Windows Forms Since the release of the .NET platform (circa 2001), the base class libraries have included a particular API named Windows Forms, represented primarily by the System.Windows.Forms.dll assembly. The Windows Forms toolkit provides the types necessary to build desktop graphical user interfaces (GUIs), create custom controls, manage resources (e.g., string tables and icons), and perform other desktop- centric programming tasks. In addition, a separate API named GDI+ (represented by the System.Drawing.dll assembly) provides additional types that allow programmers to generate 2D graphics, interact with networked printers, and manipulate image data. The Windows Forms (and GDI+) APIs remain alive and well within the .NET 4.0 platform, and they will exist within the base class library for quite some time (arguably forever). However, Microsoft has shipped a brand new GUI toolkit called Windows Presentation Foundation (WPF) since the release of .NET 3.0. As you saw in Chapters 27-31, WPF provides a massive amount of horsepower that you can use to build bleeding-edge user interfaces, and it has become the preferred desktop API for today’s .NET graphical user interfaces. The point of this appendix, however, is to provide a tour of the traditional Windows Forms API. One reason it is helpful to understand the original programming model: you can find many existing Windows Forms applications out there that will need to be maintained for some time to come. Also, many desktop GUIs simply might not require the horsepower offered by WPF.
    [Show full text]
  • NET Framework Objectives
    Introduction to .NET • Content : – Introduction to .NET Technology – Introduction to Web Based Applications – Introduction to ASP.NET 1 Introduction to .NET Technology What is .NET ? Microsoft.NET is a Framework – Microsoft .NET is a Framework which provides a common platform to Execute or, Run the applications developed in various programming languages. – Microsoft announced the .NET initiative in July 2000. – The main intention was to bridge the gap in interoperability between services of various programming languages. 3 .NET Framework Objectives • The .NET Framework is designed to fulfill the following objectives: – Provide object-oriented programming environment – Provide environment for developing various types of applications, such as Windows-based applications and Web- based applications – To ensure that code based on the .NET Framework can integrate with any other code 4 .NET Framework VB C++ C# JScript … Common Language Specification Visual Windows 2008 Studio ASP.NET ADO.NET Forms Base Class Library (CLR) Common Language Runtime Operating System • The .NET Framework consists of: – The Common Language Specification (CLS) It contains guidelines, that language should follow so that they can communicate with other .NET languages. It is also responsible for Type matching. – The Framework Base Class Libraries (BCL) A consistent, object-oriented library of prepackaged functionality and Applications. – The Common Language Runtime (CLR) A language-neutral development & execution environment that provides common runtime for application
    [Show full text]
  • Diploma Thesis
    Faculty of Computer Science Chair for Real Time Systems Diploma Thesis Porting DotGNU to Embedded Linux Author: Alexander Stein Supervisor: Jun.-Prof. Dr.-Ing. Robert Baumgartl Dipl.-Ing. Ronald Sieber Date of Submission: May 15, 2008 Alexander Stein Porting DotGNU to Embedded Linux Diploma Thesis, Chemnitz University of Technology, 2008 Abstract Programming PLC systems is limited by the provided libraries. In contrary, hardware-near programming needs bigger eorts in e. g. initializing the hardware. This work oers a foundation to combine advantages of both development sides. Therefore, Portable.NET from the DotGNU project has been used, which is an im- plementation of CLI, better known as .NET. The target system is the PLCcore- 5484 microcontroller board, developed by SYS TEC electronic GmbH. Built upon the porting, two variants to use interrupt routines withing the Portabe.NET runtime environment have been analyzed. Finally, the reaction times to occuring interrupt events have been examined and compared. Die Programmierung für SPS-Systeme ist durch die gegebenen Bibliotheken beschränkt, während hardwarenahe Programmierung einen gröÿeren Aufwand durch z.B. Initialisierungen hat. Diese Arbeit bietet eine Grundlage, um die Vorteile bei- der Entwicklungsseiten zu kombinieren. Dafür wurde Portable.NET des DotGNU- Projekts, eine Implementierung des CLI, bekannter unter dem Namen .NET, be- nutzt. Das Zielsystem ist das PLCcore-5484 Mikrocontrollerboard der SYS TEC electronic GmbH. Aufbauend auf der Portierung wurden zwei Varianten zur Ein- bindung von Interrupt-Routinen in die Portable.NET Laufzeitumgebung untersucht. Abschlieÿend wurden die Reaktionszeiten zu eintretenden Interrupts analysiert und verglichen. Acknowledgements I would like to thank some persons who had inuence and supported me in my work.
    [Show full text]
  • Industrial Programming
    Industrial Programming Lecture 2: Introduction to .Net & C# Ind. Programming 1 Microsoft .Net • Microsoft .Net is Microsoft's Internet strategy. • .Net was originally called NGWS - Next Generation Windows Services. • .Net is a Internet and Web based infrastructure that will run in any browser. • .Net and Java/JVM are modern, powerful programming techniques and are equal competitors. Ind. Programming 2 .Net Vs Java/JVM • Java is a programming language designed to be run on many different platforms, and so uses a common language (Java) which has to be compiled and run on different platforms (eg. windows, mac and linux). • Microsoft, with their offering of .NET, takes on a different approach, by allowing you to program in any language (VB.Net, C#, F#) you choose, but has compilers for many different languages that generates a platform specific code (i.e. Microsoft or Windows). Ind. Programming 3 .Net vs Java Framework Ind. Programming 4 Advantages and Disadvantages of .Net • One advantage of using .Net is that you are not stuck with one language: a multi-language solution is easier to provide than with a Java. • One disadvantage is that MS has implemented .Net such that it is not nearly as portable as Java. For example, you can't use MS's .Net tools to compile an executable that will run on Linux or Solaris in addition to Windows, while you can do this with Java. Ind. Programming 5 Suitability of .Net • Java can be used to write programs for many different operating systems, and .Net can be used to make any programming language into a Windows program.
    [Show full text]