ITF11006.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve...

15
ITF11006 .NET .NET an Introduction

Transcript of ITF11006.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve...

ITF11006 .NET

.NET an Introduction

“This is the best time ever to be a software

developer”Steve Ballmer, BUILD Conference,

Anaheim, September 13th 2011

.NET an Introduction

• What is .NET• The .NET Framework• Visual Studio 2010

What is .NET?

“Microsoft .NET is a set of Microsoft software technologies for connecting your world of information, people, systems, and devices.”

What is .NET?

• Specification– Common Type Specification– Common Language Specification– Common Language Infrastructure

• Infrastructure– Common Language Runtime– Base Class Library– Services

• Tools– Languages– VS IDE, Team Foundations Server

What is .NET?

What is .NET?

• Specification– Common Type Specification– Common Language Specification– Common Language Infrastructure

• Infrastructure– Common Language Runtime– Base Class Library– Services

• Tools– Languages– VS IDE, Team Foundations Server

The .NET Framework

• C# Language• Framework Class Library (FCL)• Visual Studio 2010

The C# Language

• C#– Builds on over 20 years of OO-experience– Similar to Java

• C# characteristics– OO and Interfaces– Strongly typed– Metadata– Error handling

• Features– Garbage collection– Parallelism, Asynchronous– Reflection– Security– Deployment

.NET FrameworkVersion

Version Number

Release Date

Visual Studio Default in Windows

1 1.0.3705.0 13.02.2002Visual Studio .NET Windows XP Tablet and Media Center Editions

1.1 1.1.4322.573

24.04.2003Visual Studio .NET 2003

Windows Server 2003

2 2.0.50727.42

07.11.2005Visual Studio 2005 Windows Server 2003 R2

3 3.0.4506.30 06.11.2006 Windows Vista, Windows Server 2008

3.5 3.5.21022.8 19.11.2007Visual Studio 2008 Windows 7, Windows Server 2008 R2

4 4.0.30319.1 12.04.2010Visual Studio 2010

4.5 4.5.40805 13.09.2011 (Developer Preview)

Visual Studio '11' Windows 8, Windows Server 8

.NET Framework Class Library

Illustration by Soumyasch, available under a Creative Commons Attribution-Share Alike 3.0 Unported license.

.NET Framework Class Library• Represent base data types and exceptions.• Encapsulate data structures.• Perform I/O.• Access information about loaded types.• Invoke .NET Framework security checks.• Provide data access, rich client-side GUI, and

server-controlled, client-side GUI.

• Key to understanding the FCL /BCL is to understand the namespaces and naming conventions

Naming Sample

• System.Text.StringBuilder• System.Data.SqlClient.SqlConnectionStringBuilder• System.UriBuilder

• System.IO.FileStream• System.IO.MemoryStream• System.IO.Compression.GZipStream• System.Security.Cryptography.CryptoStream

Visual Studio

• Integrated Development Environment (IDE)– Windows– Project templates– Debugging– IntelliSense

.NET an Introduction

• What is .NET• The .NET Framework• Visual Studio 2010