using.net platform note: most of the material of these slides have been adapted from nakov’s...

25
VISUAL PROGRAMMING Using .NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for .NET framework, MSDN and Wikipedia Muhammad Ali Asher Imtiaz Spring 2011

Upload: drew-gallagher

Post on 31-Mar-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

VISUAL PROGRAMMING

Using .NET Platform

Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for .NET framework, MSDN and Wikipedia

Muhammad AliAsher Imtiaz

Spring 2011

Page 2: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

Before the Advent of .NET Windows Application Development

Win API

Languages○ Visual C++○ Visual Basic○ …

Page 3: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

Before the Advent of .NET Microsoft Windows DNA

Distributed interNet applications ArchitectureIntroduced in Late 90s (1996-97)

Problems with Windows DNA○ Side by Side Execution○ Scripting Limitations

Page 4: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

Solution?

Page 5: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

Overview

What is .NET?New API, new functionality, new tools

But why do we need a new API?○ Win API was already there!

Page 6: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

Overview

.NET Vision – The End GameCLR Performance TeamBCL Team

Wrapping up○ Offering Best Coding Experience!

Off the Road Benefits!

Page 7: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

Overview

.NET Defined“Comprehensive & consistent programming

model for building applications that have ○ visually stunning user experiences, ○ seamless and secure communication, ○ and the ability to model a range of business

processes.”

Page 8: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

Version Release Date

1.0 Jan 2002

1.1 April 2003

2.0 Nov 2005

3.0 Nov 2006

3.0 (SP1) Nov 2007

3.0 (SP2) Nov 2008

3.5 Nov 2007

3.5 (SP1) Aug 2008

4.0 April 2010

Page 9: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

Supported Operating Systems

The runtime supports Windows Server 2003, Windows XP, Windows 2000, NT4 SP6a Windows ME/98.

Windows 95 is not supported

ASP.NET is only supported on XP and Windows 2000/2003 and later operating systems.

IIS is not supported on Windows XP Home Edition, and so cannot be used to host ASP.NET. ○ ASP.NET Web Matrix web server.

Page 10: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

Supported Operating Systems Windows 98/ME cannot be used for development

The .NET Compact Framework is a version of the .NET Framework for mobile devices, running Windows CE or Windows Mobile

The Mono project has a version of the .NET Framework that runs on Linux

Page 11: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Architecture

Page 12: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad
Page 13: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Framework Stack

Page 14: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Framework Common Language Runtime

Operating System

Common Language Runtime

CLR manages code execution at runtime

Memory management, thread management, etc.

Page 15: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Framework Base Class Library

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

Object-oriented collection of reusable types

Collections, I/O, Strings, …

Page 16: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Framework ASP.NET & Windows Forms

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

Create application’s front-end – Web-based user interface, Windows GUI…

Win Forms ASP .NET

Page 17: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Framework ADO.NET

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

Access relational databases Disconnected data model

Win Forms ASP .NET ADO .NET

Page 18: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Framework Programming Languages

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

Use your favorite language

Win Forms ASP .NET ADO .NET

C++ C# VB Perl J# …

Page 19: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Framework Common Language Specification

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

Win Forms ASP .NET ADO .NET

Common Language SpecificationC++ C# VB Perl J# …

For consistency

Page 20: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Framework Visual Studio .NET

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

Win Forms ASP .NET ADO .NET

Common Language Specification

C++ C# VB Perl J# …

Page 21: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Framework Visual Studio .NET

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

Win Forms ASP .NET ADO .NET

Common Language Specification

C++ C# VB Perl J# …

Vis

ua

l Stu

dio

.NE

T

Page 22: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Framework v3.0

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

Win Forms ASP .NET ADO .NET

WPF WCF WF Card Services

Common Language Specification

C++ C# VB Perl J# …V

isu

al S

tud

io .N

ET

Page 23: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

.NET Framework v3.5

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

Win Forms ASP .NET ADO .NET

WPF WCF WF Card Services

LINQ Entity Framework

Common Language Specification

C++ C# VB Perl J# …V

isu

al S

tud

io .N

ET

Page 25: Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad

References

MSDN Libraryhttp://msdn.microsoft.com/en-au/default.aspx

Nakov’s Excellent Presentationhttp://www.nakov.com

WikiPediahttp://en.wikipedia.org/

wiki/.NET_Framework