1..NET Architecture Based on slides by Joe Hummel.

Slides:



Advertisements
Similar presentations
Introduction to .NET Framework
Advertisements

.NET Framework Overview
Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
Using.NET Platform Note: Most of the material of these slides have been taken & extended from Nakov’s excellent overview for.NET framework, MSDN and wikipedia.
In Review JAVA C++ GUIs - Windows Webopedia.com.
.NET Framework Overview Pingping Ma Nov 16 th, 2006.
Henrico Dolfing Business Segment Partners. Océ Document Technologies GmbH2 June, NET Framework Version 3.0.
.NET Technology.
What is.NET?. The Clients of.NET a) A new generation of connected application b) Microsoft.NET Framework managed execution c) Allows PCs and other smart.
ISYS 512 Business Application Design and Development with.Net David Chao.
Programming Our First Java Program Yingcai Xiao. What to Do Set up for Java Programming Write our first Java Program with IDE Write our first Java Program.
ISYS 512 Business Application Design and Development with.Net David Chao.
Programming A Historic Perspective on Code Reuse Yingcai Xiao.
J2EE vs..NET Nigam Patel. Topics Background –Web Services, J2EE and.NET Similarities Differences Conclusion –Pros and Con (J2EE and.NET)
Introducing the Common Language Runtime for.NET. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution.
.NET’s CLR How does it really work? 7/2/20151Bhavani Sankar Ikkurthi CS 795 Presentation.
Introducing the Common Language Runtime. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution engine.
Code-Reuse A Historic Perspective Yingcai Xiao. Want to know? Why we have to write programs to run a computer? Why an error in a program is called a bug?
Windows Programming.NET Overview Yingcai Xiao. What is a Computer? From the Webster’s New World Dictionary: 1. A person who computes. 2. A device used.
2. Developing in.NET and C#. 2 Microsoft Objectives “Microsoft.NET development is based on an underlying framework of tools and classes. These tools and.
DotNET A Developer’s Perspective Mike Litzkow University of Wisconsin - MadisonOne.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
.NET, and Service Gateways Group members: Andre Tran, Priyanka Gangishetty, Irena Mao, Wileen Chiu.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
ISYS 350 Business Application Development
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Computer Science 317 Database Management Introduction to Web Access to Databases.
1..NET Architecture Based on slides by Joe Hummel.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
1 8/29/05CS360 Windows Programming Professor Shereen Khoja.
1 Program Execution in the 21 st Century Modern Software Development in.NET and C# A webcast series for C++, Java, and VB6 developers – Part 1 of 15: [
© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
Architecture of.NET Framework .NET Framework ٭ Microsoft.NET (pronounced “dot net”) is a software component that runs on the Windows operating.
.NET Framework & C#.
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.
Introduction to .NET Rui Ye.
Webinar presented by Erick Polsky 10/2/2012. What is.Net? Combines… Language Independence Memory Management Database Access Class Libraries Operating.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
Introduction .NET Framework
ISYS 573 Special Topic – VB.Net David Chao. The History of VB Early 1960s:BASIC-Beginner’s All-Purpose Symbolic Instruction Code –Teaching –Simple syntax,
Component-Based Software Engineering Introduction to.NET Paul Krause.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
ISYS 812 Business Software Development David Chao.
1.NET FRAMEWORK CE-105 Spring 2007 Engr. Faisal ur Rehman.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
.NetDeploymentNOEA / PQC 2005 Application Deployment and Versioning Source: Joe Hummel, kursus i.Net, jan
ISYS 350 Business Application Development David Chao.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
Lecture 4: J# Execution Model. 2 MicrosoftIntroducing CS using.NETJ# in Visual Studio.NET 4-2 Objectives “J# programs execute like any other.NET program.
.NET Ying Chen Junwei Chen. What is Microsoft.NET. NET is a development platform Incorporated into.NET COM+ component services ASP web development framework.
1. The .NET Architecture 1. The .NET Architecture 2003
Web Services Using Visual.NET By Kevin Tse. Agenda What are Web Services and Why are they Useful ? SOAP vs CORBA Goals of the Web Service Project Proposed.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
ISYS 512 Business Application Design and Development with.Net David Chao.
Text Introduction to.NET Framework. CONFIDENTIAL Agenda .NET Training – Purpose  What is.NET?  Why.NET?  Advantages  Architecture  Components: CLR,
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Intro to ASP.NET CS-422 Dick Steflik. What is.NET As applications in the Enterprise become more and more netcentric and less and less standalone.NET is.
Diploma of Website Development Getting Started With ASP.NET
ClickOnce Deployment (One-click Deployment)
Lecture 1: The .NET Architecture
Computer System Structures
Introducing the Microsoft® .NET Framework
Introduction to Computers, the Internet and the World Wide Web
CE-105 Spring 2007 Engr. Faisal ur Rehman
2.1. Compilers and Interpreters
.NET Overview Yingcai Xiao.
.Net Framework Details Imran Rashid CTO at ManiWeber Technologies.
ClickOnce Deployment (One-click Deployment)
Presentation transcript:

1..NET Architecture Based on slides by Joe Hummel

2 UCN Technology: Computer Science Aim “Microsoft.NET is based on the Common Language Runtime (CLR) and an extensive set of Framework Class Libraries (FCL). The CLR defines a common programming model and a standard type system for cross-platform, multi-language development.” CLR-based execution Application design Component-based development

3 UCN Technology: Computer Science Inspiration.NET is inspired by a number of elements.NET OOP JVM GUI Web component-based design n-tier design

4 UCN Technology: Computer Science NET supports a number of languages.NET supports VB, C# (C-sharp), C++, J# (Java 1.1), Eiffel, etc. code.vbcode.cscode.cpp... Development Tools app.exe FCL

5 UCN Technology: Computer Science NET is “platform independent” Compiled.NET applications run on all supported platforms: APP.exe ? Win64Win32 ( XP,2K,98) Windows Phone CIL: Common Intermediate Language

6 UCN Technology: Computer Science CLR-based execution.NET applications are not stand-alone.exe-programs APP.exe other FCL components CLR JIT Compiler obj code OS Process Underlying OS and HW Core FCL Compare to Java JVM View the CIL Code (“byte code”): ILDASM

7 UCN Technology: Computer Science Java Virtual Machine Execution of Java programs source (xxx.java) compiler CPU bytecode (xxx.class) Interpreter fortolker

8 UCN Technology: Computer Science CLR-based execution implies: Clients need CLR & core FCL to run.NET apps –Obtained through Redistributable.NET Framework –Runs on Windows 98 and higher, NT (sp6a) and higher –Runtime is integrated in Windows Vista, Windows 7, Windows 8 and Windows Phone 7+ and newer. Design issues… +managed execution (memory protection, etc.) +portability: general assembly language FCL = layer of abstraction between app and OS –slower execution? JIT compilation is expensive But the JIT-compiler may take advantage of specific target HW pre-JIT is possible

9 UCN Technology: Computer Science Part 2 Application Design…

10 UCN Technology: Computer Science Often applications are designed as N "tiers" –good separation of responsibility –allows the same back-end tier for different clients object Application Design Front-end object BusinessPresentationData AccessData View demo in VS

11 UCN Technology: Computer Science Physical Design Where should tiers be physically deployed? –There are a range of different designs… Most common are: –locally –remote –web app –web service

12 UCN Technology: Computer Science (1) Local Design Local implies that tiers are all deployed on one local computer –though may data be on a remote computer FE obj Pros? –Simple to develop! Cons? –Hard to deploy and maintain –Are to be installed and configured on every client

13 UCN Technology: Computer Science (2) Remote Design If Remote Design is used then the presentation (user interface, front end) runs on a separate computer FE obj Pros? –Easier to maintain, back-end tiers May be updated without any changes on the clients. –More secure, since the database only is accessed from the server, and directly from the client. Cons? –Clients Must often use the same OS as the server; firewalls may cause troubles. Server Client proprietary protocols

14 UCN Technology: Computer Science (3) Web App Design In Web app presentation is generated by a Web server obj Browser ANY platform Web server Pros? –scales to the internet, enhances the user group of the applications. –No firewall problems (HTTP / port 80 communication only) Cons? –browser-based clients have limited functionality. HTML / HTTP Web Page Server

15 UCN Technology: Computer Science (4) Web Service Design Web services are objects that are available through Web technology In stead of HTML data is communicated in XML obj custom FE ANY platform Server Web server XML / SOAP obj Pros? –Open! Opens for integration of applications. Cons? –A technology under development… other APP ANY platform

16 UCN Technology: Computer Science WCF – Window Communication Foundation obj custom FE ANY platform Server Web server XML / SOAP / REST… And proprietary binary protocols obj other APP ANY platform The new way of doing it: Supports web-services (HTTP-based, SOAP and REST), binary protocols (remoting) and and much more (p2p, message queuing …)

17 UCN Technology: Computer Science Part 3 Component-based Development…

18 UCN Technology: Computer Science Component-based Development Application tier is usually build from many components/classes/objects. E.g..: –A typical GUI application with local design has 3 components packed as 1 EXE and 2 DLL Front-end object app.exe business.dll data.dll

19 UCN Technology: Computer Science Assemblies.NET packs components in what is known as assemblies 1 assembly = 1 or more compiled classes –.EXE represents an assembly with classes + Main program –.DLL represents an assembly with classes Development Tools.EXE /.DLL code.vb code.cs assembly

20 UCN Technology: Computer Science CLR-based execution revisited All assemblies must be present:.EXE other FCL assemblies CLR JIT Compiler obj code OS Process Underlying OS and HW Core FCL assembly.DLL obj code

21 UCN Technology: Computer Science Assembly – where are they? How does CLR find the needed assemblies? So far this is sufficient: –DLL-files must be in the same directory as the EXE –FCL assemblies are in GAC (Global Assembly Cache) –CLR starts looking in GAC, the in the directory of the EXE…

22 UCN Technology: Computer Science GAC? GAC = Global Assembly Cache –C:\Windows or C:\WinNT katalog Observations: –Windows Explorer gives a flat view of GAC. –Command prompt gives the real view. –GAC may have different versions of same assembly. –Some assemblies are pre-JIT-compiled ("native image"). –Hacker-proof by digital signature…

23 UCN Technology: Computer Science Summing Up.NET architecture is: –multi-language –cross-platform –based on CLR, FCL, and JIT Application design is typically multi-tier Application design provides component-based development –.NET components are packed as assemblies

24 UCN Technology: Computer Science Summing Up.NET is multi-language –SDK Framework based on C# and VB.NET –But many other languages are supported as well.NET-development is component-based –Auxiliary classes are implemented as one or more DLLs –.EXE is implemented using the DLLs. –if (assembly A is using a class from assembly B) A must reference B!;

25 UCN Technology: Computer Science References Textbooks: –J. Richter, "Applied Microsoft.NET Framework Programming" –T. Thai and H. Lam, ".NET Framework Essentials“ –Andrew Troelsen.: Pro C# 5.0 and the.NET 4.5 Framework, 6 th Ed. –J. Richter, "Applied Microsoft.NET Framework Programming" Web sites: – –

26 UCN Technology: Computer Science References More textbooks: –T. Archer and A. Whitechapel, "Inside C#" (2 nd edition) –S. Lippman, "C# Primer" –J. Mayo, "C# Unleashed“ –Anders Hejsberg, Mads Torgersen, Scott Wiltamuth, Peter Golde: “The C# Programming Language”. Third Edition