C# - .NET Framework
Product Engineering Solutions Windows Foundation Competency Group
1 © Wipro Technologies - Wipro Confidential - Not for Distribution
Course Topics 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.
.NET Framework User Interface Languages .NET Runtime Common Language Infrastructure Automatic Memory Management Common Type System .NET Class Framework Just In-Time Compilation System Requirements How to Start 2 © Wipro Technologies - Wipro Confidential - Not for Distribution
.NET Framework VB.NET
C#
Web Forms
VJ#
XAML
XML Web Services
…...
Windows Forms
ASP.NET
.NET Framework Class Library (BCL/FCL) Common Language Runtime (CLR)
Win32 3 © Wipro Technologies - Wipro Confidential - Not for Distribution
Contd…
* source – msdn2.microsoft.com
© Wipro Technologies - Wipro Confidential - Not for Distribution
4
User Interface • The following are the types of interaction interfaces that are supported by the .NET framework: – Web Forms – Windows Forms
5 © Wipro Technologies - Wipro Confidential - Not for Distribution
Languages Ø Ø Ø Ø
Visual Basic Visual C++ Visual C# VJ#
6 © Wipro Technologies - Wipro Confidential - Not for Distribution
.NET Runtime Ø
Source File
Ø
Compilers
C++
C#
Visual Basic
VJ#
Compiler
Compiler
Compiler
Compiler
Ø
Binaries
Common Language Specification (CLS)
Ø
Runtime
Common Language Runtime (CLR)
7 © Wipro Technologies - Wipro Confidential - Not for Distribution
Common Language Infrastructure Ø Ø
Memory Management Common Type System
8 © Wipro Technologies - Wipro Confidential - Not for Distribution
Automatic Memory Management Ø Ø Ø Ø Ø
Allocating Memory Releasing Memory Generations and Performance Releasing Memory for Unmanaged Resources Garbage Collection
9 © Wipro Technologies - Wipro Confidential - Not for Distribution
Common Type System Ø
Ø
Ø
Establishes a framework that enables cross-language integration, type safety, and high performance code execution. Provides an object-oriented model that supports the complete implementation of many programming languages. Defines rules that languages must follow, which helps ensure that objects written in different languages can interact with each other. © Wipro Technologies - Wipro Confidential - Not for Distribution
10
.NET Class Library Ø Ø
.NET Framework Class Library (BCL) CLR
…..and more namespaces
11 © Wipro Technologies - Wipro Confidential - Not for Distribution
Just In-Time Compilation Ø
Ø
Ø
Type references are compatible with the type being referenced. Operations are invoked on an object only if they are within the execution parameters for that object. Identities within the application are accurate.
12 © Wipro Technologies - Wipro Confidential - Not for Distribution
System Requirements System Requirements for Installing the .NET Framework 2.0 SDK Processor
Minimum: 600 MHz Pentium processor, or an AMD Opteron, AMD Athlon64 or AMD Athlon XP processor
OS
Microsoft® Windows® 98 onwords
Minimum s/w
.NET Framework 2.0 Redistributable Microsoft Internet Explorer 6.0 with Service Pack 1 Microsoft Data Access Components (MDAC) 2.8 Windows Installer 3.0
RAM
Minimum: 128 megabytes (MB)
H/D Space
800MB (including 200MB for the .NET Framework 2.0 Redistributable)
Display
Minimum: 800 x 600 256 colors 13 © Wipro Technologies - Wipro Confidential - Not for Distribution
How to Start Ø Ø Ø Ø
Creation of a New Project Compilation Run the Application Output
14 © Wipro Technologies - Wipro Confidential - Not for Distribution
Creation of a New Project
15 © Wipro Technologies - Wipro Confidential - Not for Distribution
Creation of a New Project
16 © Wipro Technologies - Wipro Confidential - Not for Distribution
Creation of a New Project
17 © Wipro Technologies - Wipro Confidential - Not for Distribution
Creation of a New Project
18 © Wipro Technologies - Wipro Confidential - Not for Distribution
Compilation
19 © Wipro Technologies - Wipro Confidential - Not for Distribution
Run the Application
20 © Wipro Technologies - Wipro Confidential - Not for Distribution
Output
21 © Wipro Technologies - Wipro Confidential - Not for Distribution
.NET Milestones
.NET 3.5
D
05 20 ar Ye
.NET 1.1
06 20 ar Ye
.NET 2.0
TB
.NET 3.0
Ye ar 20 03 © Wipro Technologies - Wipro Confidential - Not for Distribution
22
References URL : http://msdn2.microsoft.com/en-us/netframework/aa569294.aspx
23 © Wipro Technologies - Wipro Confidential - Not for Distribution