itf11012.net.net an introduction. “this is the best time ever to be a software developer” steve...

16
ITF11012 .NET .NET an Introduction

Upload: whitney-adams

Post on 04-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

ITF11012 .NET

.NET an Introduction

Page 2: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

“This is the best time ever to be a software

developer”Steve Ballmer, BUILD Conference,

Anaheim, September 13th 2011

Page 3: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

.NET an Introduction

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

Page 4: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

What is .NET?

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

Page 5: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

What is .NET?

• Specification– Common Language Infrastructure

• Common Type Specification• Common Language Specification

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

• Tools– Languages– VS IDE, Team Foundations Server

Page 6: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

What is .NET?

Page 7: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

Windows 8 Infrastructure

Page 8: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

Windows Runtime Building Blocks

Page 9: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

Windows Store App Stack

Page 10: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

The .NET Framework

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

Page 11: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

.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 26.10.2012Visual Studio 2012 Windows 8, Windows Server 8

Page 12: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

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

Page 13: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

.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

Page 14: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

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

Page 15: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

Visual Studio

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

Page 16: ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011

.NET an Introduction

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