1 / 17

. Net 2.0 basic concept

Learn about the basic concepts and advantages of the .NET 2.0 framework including its design features, common functions, security, deployment, and more.

plosey
Télécharger la présentation

. Net 2.0 basic concept

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. .Net 2.0 basic concept

  2. Overview of Microsoft .Net Framework • is a software framework that can be installed on computers running Microsoft Windowsoperating systems. • It includes a large library of coded solutions to common programming problems and a virtual machine that manages the execution of programs written specifically for the framework

  3. .NET framework on windows

  4. .NET framework Technologies • Principal design features • Interoperability • Common Runtime Engine • Common Language Runtime (CLR) • Language Independence • Base Class Library  • Common Functions: • File Reading and Writing • Graphics Rendering • Database Interaction • XML Document Manipulation

  5. .NET Framework Advantages • Consistent Programming Model • Direct Support for Security • Simplified Development Efforts

  6. .NET framework • Simplified Deployment  • Tools for Deployment • Conforms to Security Requirements • Security  • Portability 

  7. Common Language Infrastructure (CLI)

  8. Definition • Common Language Infrastructure (CLI) • The Core aspect of .NET framework • Assemblies • Stored in Portable Executable, DLL and EXE files. • Composed of text name, version number, culture and public key token • Sample Assemblies in web.config: • <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> • Metadata • It denotes the attribute of CIL or it describes itself. • Security

  9. Definition • Class library • Organize in namespace • Memory management • It has Garbage Collector (GC)

  10. .NET Framework Versions • .NET Framework 1.0 • This is the first release of the .NET Framework, released on 13 February 2002 and available for Windows 98, Me, NT 4.0, 2000, and XP. • .NET Framework 1.1 • This is the first major .NET Framework upgrade. was published on 3 April 2003. • .NET Framework 2.0 • Released with Visual Studio 2005, Microsoft SQL Server 2005, and BizTalk 2006. • .NET Framework 3.0 • formerly called WinFX,[20] was released on 21 November 2006. It includes a new set of managed code APIs that are an integral part of Windows Vista and Windows Server 2008 operating systems. It is also available for Windows XP SP2 and Windows Server 2003 as a download. There are no major architectural changes included with this release; .NET Framework 3.0 uses the Common Language Runtime of .NET Framework 2.0.[21] Unlike the previous major .NET releases there was no .NET Compact Framework release made as a counterpart of this version.

  11. .NET Framework Versions • .NET Framework 3.5 • Version 3.5 of the .NET Framework was released on 19 November 2007, but it is not included with Windows Server 2008. As with .NET Framework 3.0, version 3.5 uses the CLR of version 2.0. In addition, it installs .NET Framework 2.0 SP1, (installs .NET Framework 2.0 SP2 with 3.5 SP1) and .NET Framework 3.0 SP1 (installs .NET Framework 3.0 SP2 with 3.5 SP1), which adds some methods and properties to the BCL classes in version 2.0 which are required for version 3.5 features such as Language Integrated Query (LINQ). These changes do not affect applications written for version 2.0

  12. Using C# 2.0

  13. Overview of the C# Language • C# is an object-oriented programming language developed by Microsoft Corporation as part of their .NET initiative in response to the success of Sun Microsystems' Java programming language. • Majority of the syntax are almost the same with Java, C and C++.

  14. C# Language Reference and Syntax • Variable Declaration: Format: <DataType> <Variable Name>; Sample: int x; int y = 0; MyClassmyClass = new MyClass();

  15. C# Language Reference and Syntax • Function/Subroutine declaration: public string GetName() { } public Void ProcessFile() { }

  16. C# Language Reference and Syntax • Conditionals: Simple: if (condition) { // condition is true } Complex: if (condition) { // condition is true } else { // condition is false }

  17. Welcome to

More Related