logging in or signing up dotnet-framework-overview ursgaya Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 98 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: June 08, 2011 This Presentation is Public Favorites: 0 Presentation Description DotNET-Framework-Overview Comments Posting comment... Premium member Presentation Transcript Microsoft .NET Framework: Microsoft .NET Framework Overview.NET Enterprise Vision: .NET Enterprise Vision ERP & Billing Customer Service Sales Users Any device, Any place, Any time XML Web Services Integrate business applications and processes Back Office Heterogeneous application and server infrastructure Scheduling Authentication NotificationSo what is .NET?: So what is .NET? Microsoft .NET (pronounced “dot net”) is a software component that runs on the Windows operating system. .NET provides tools and libraries that enable developers to create Windows software much faster and easier. .NET benefits end-users by providing applications of higher capability, quality and security.Cont..: Cont.. Microsoft describes .NET: “.NET is the Microsoft Web services strategy to connect information, people, systems, and devices through software. .NET technology provides the ability to quickly build, deploy, manage, and use connected, security-enhanced solutions with Web services..NET Framework: .NET Framework Programming model for .NET Platform for running .NET managed code in a virtual machine Provides a very good environment to develop networked applications and Web Services Provides programming API and unified language-independent development frameworkThe Core Component of .NET Framework: FCL, CLR & CLS: The Core Component of .NET Framework: FCL, CLR & CLS Common Language Runtime Garbage collection and Language integration Multiple versioning support (no more DLL hell!) Integrated security services such as: Loads and executes code Converts intermediate language to native machine codeCont.. : Cont.. Separates processes and memory Manages memory and objects Enforces code and access security Handles exceptions Interfaces between managed code, COM objects, and DLLs Provides type-checking Provides code meta data (Reflection) Provides profiling, debugging, etc.Cont..: Cont.. Framework Class Library Provides the core functionality: ASP.NET, Web Services, ADO.NET, Windows Forms, IO, XML, etc. The FCL is a collection of over 7000 classes and data types that enable .NET applications to read and write files, access databases, process XML, display a graphical user interface, draw graphics, use Web services, etc..NET Framework Common Language Runtime: .NET Framework Common Language Runtime Operating System Common Language Runtime CLR manages code execution at runtime Memory management, thread management, etc..NET Framework Base Class Library: .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, ….NET Framework Data Access Layer: .NET Framework Data Access Layer Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML Access relational databases Disconnected data model Work with XML.NET Framework ASP.NET & Windows Forms: .NET Framework ASP.NET & Windows Forms Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML ASP .NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Create application’s front-end – Web-based user interface, Windows GUI, Web services, ….NET Framework Programming Languages: .NET Framework Programming Languages Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML ASP .NET Web Forms Web Services Mobile Internet Toolkit Windows Forms C++ C# VB.NET Perl J# … Use your favorite language.NET Framework Common Language Specification: .NET Framework Common Language Specification Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML ASP .NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common Language Specification C++ C# VB Perl J# ….NET Framework Visual Studio .NET: .NET Framework Visual Studio .NET Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML ASP .NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common Language Specification C++ C# VB Perl J# … Visual Studio .NET.NET Framework Standards Compliance: Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML ASP .NET Web Services Web Forms Mobile Internet Toolkit Windows Forms Common Language Specification C++ C# VB Perl J# … Visual Studio .NET Open Language Specification C# Language – Submitted to ECMA XML-based data access Web services – XML, SOAP-based .NET Framework Standards ComplianceCommon Language Runtime: Common Language Runtime Manages running code – like a virtual machine Threading Memory management No interpreter: JIT-compiler produces native code – during the program installation or at run time Fine-grained evidence-based security Code access security Code can be verified to guarantee type safety No unsafe casts, no un-initialized variables and no out-of-bounds array indexing Role-based securityManaged Code: Managed Code Code that targets the CLR is referred to as managed code All managed code has the features of the CLR Object-oriented Type-safe Cross-language integration Cross language exception handling Multiple version support Managed code is represented in special Intermediate Language (IL)Automatic Memory Management: Automatic Memory Management The CLR manages memory for managed code All allocations of objects and buffers made from a Managed Heap Unused objects and buffers are cleaned up automatically through Garbage Collection Some of the worst bugs in software development are not possible with managed code Leaked memory or objects References to freed or non-existent objects Reading of uninitialised variables Pointerless environmentMultiple Language Support: Multiple Language Support IL (MSIL or CIL) – Intermediate Language It is low-level (machine) language, like Assembler, but is Object-oriented CTS is a rich type system built into the CLR Implements various types ( int , float, string, …) And operations on those types CLS is a set of specifications that all languages and libraries need to follow This will ensure interoperability between languagesIntermediate Language: Intermediate Language .NET languages are compiled to an Intermediate Language (IL) IL is also known as MSIL or CIL CLR compiles IL in just-in-time (JIT) manner – each function is compiled just before execution The JIT code stays in memory for subsequent calls Recompilations of assemblies are also possibleCommon Type System (CTS): Common Type System (CTS) All .NET languages have the same primitive data types. An int in C# is the same as an int in VB.NET When communicating between modules written in any .NET language, the types are guaranteed to be compatible on the binary level Types can be: Value types – passed by value, stored in the stack Reference types – passed by reference, stored in the heap Strings are a primitive data type nowCommon Language Specification (CLS): Common Language Specification (CLS) Any language that conforms to the CLS is a .NET language A language that conforms to the CLS has the ability to take full advantage of the Framework Class Library (FCL) CLS is standardized by ECMA.NET Languages: .NET Languages Languages provided by Microsoft C++, C#, J#, VB.NET, JScript Third-parties languages Perl, Python, Pascal, APL, COBOL, Eiffel, Haskell, ML, Oberon, Scheme, Smalltalk… Advanced multi-language features Cross-language inheritance and exceptions handling Object system is built in, not bolted on No additional rules or API to learnC# Language: C# Language Mixture between C++, Java and Delphi Component-oriented Properties, Methods, Events Attributes, XML documentation All in one place, no header files, IDL, etc. Can be embedded in ASP+ pages Everything really is an object Primitive types aren’t magic Unified type system == Deep simplicity Improved extensibility and reusabilityC# Language – Example: C# Language – Example using System; class HelloWorld { public static void main() { Console.WriteLine(“Hello, world!”); } }Code Compilation and Execution: Code Compilation and Execution Compilation Before installation or the first time each method is called Execution JIT Compiler Native Code MSIL Code Metadata Source Code Language Compiler Also called Assembly (.EXE or .DLL file)Assemblies: Assemblies DLL or EXE file Smallest deployable unit in the CLR Have unique version number No version conflicts (known as DLL hell) Contains IL code to be executed Security boundary – permissions are granted at the assembly level Type boundary – all types include the assembly name they are a part of Self-describing manifest – metadata that describes the types in the assemblyMetadata in Assembly: Metadata in Assembly Type Descriptions Classes Base classes Implemented interfaces Data members Methods Name Version Culture Assembly Description Other assemblies Security Permissions Exported TypesApplications: Applications One or more assemblies Assemblies conflict resolution Using metadata Local (preferred) Global Assembly Cache (GAC) Different applications may use different versions of an assembly Easier software updates Easier software removalVisual Studio .NET: Visual Studio .NET Development tool that contains a rich set of productivity and debugging features Supports managed and unmanaged applications Supports C#, C++, VB.NET, … Many useful tools and wizards Windows Forms Designer ASP.NET Web Forms Designer Web Services support SQL Server integration with ADO.NET and XML VS.NET is not part of the .NET Framework Not necessary to build or run managed code The .NET Framework SDK includes command line compilersVS.NET – Single Development Environment & Skill Set: VS.NET – Single Development Environment & Skill Set From Visual Studio.NET you can: Write code Design user interface Study documentation Debug Test Deploy Same tools for all languages Same tools for all platformsThe .NET Framework Library: The .NET Framework Library Base Class Library ADO.NET and XML Web Forms Web Services Mobile Internet Toolkit Windows Forms ASP.NET.NET Contains:: .NET Contains:Version And Release:: Version And Release:Summary: Summary .NET Framework is a code execution platform – the environment which .NET programs run .NET Framework consists of two primary parts: Common Language Runtime and .NET Class Libraries The CLS (Common Language Specification) allows different languages to interact seamlessly. The CTS (Common Type System) allows all languages to share base data types.Summary (2): Summary (2) .NET languages are compiled to MSIL by their respective compilers MSIL code is compiled to machine code by the JIT compiler All .NET languages have equal access to the FCL (Framework Class Library) which is a rich set of classes for developing software Base Class Library is set of basic classes: Collections, I/O, Networking, Security, etc. ADO.NET provides .NET applications with access to relational databasesSummary (3): Summary (3) .NET has great XML support including: DOM, XSLT, XPath , and XSchema Windows Forms provides GUI interface for the .NET applications ASP.NET allows creating web interface to .NET applications Web Services expose functionality from web sites and make it remotely accessible through standard XML-based protocols Visual Studio .NET is powerful development IDE for all .NET languages and technologies.NET Framework – Resources: .NET Framework – Resources Visit following web sites: . NET Framework Home Site – http://msdn.microsoft.com/netframework/ The Microsoft .NET Framework Community – http://www.gotdotnet.com/ ASP.NET – http://www.asp.net/ .NET Windows Forms – http://www.windowsforms.net/ Code Project – http://www.codeproject.net/ Mono – Open Source .NET Framework – http://www.go-mono.org/ Rotor – Shared Source .NET CLI – http://msdn.microsoft.com/net/sscli/ Read the news groups: news:// msnews.microsoft.com / microsoft.public.dotnet.framework You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
dotnet-framework-overview ursgaya Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 98 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: June 08, 2011 This Presentation is Public Favorites: 0 Presentation Description DotNET-Framework-Overview Comments Posting comment... Premium member Presentation Transcript Microsoft .NET Framework: Microsoft .NET Framework Overview.NET Enterprise Vision: .NET Enterprise Vision ERP & Billing Customer Service Sales Users Any device, Any place, Any time XML Web Services Integrate business applications and processes Back Office Heterogeneous application and server infrastructure Scheduling Authentication NotificationSo what is .NET?: So what is .NET? Microsoft .NET (pronounced “dot net”) is a software component that runs on the Windows operating system. .NET provides tools and libraries that enable developers to create Windows software much faster and easier. .NET benefits end-users by providing applications of higher capability, quality and security.Cont..: Cont.. Microsoft describes .NET: “.NET is the Microsoft Web services strategy to connect information, people, systems, and devices through software. .NET technology provides the ability to quickly build, deploy, manage, and use connected, security-enhanced solutions with Web services..NET Framework: .NET Framework Programming model for .NET Platform for running .NET managed code in a virtual machine Provides a very good environment to develop networked applications and Web Services Provides programming API and unified language-independent development frameworkThe Core Component of .NET Framework: FCL, CLR & CLS: The Core Component of .NET Framework: FCL, CLR & CLS Common Language Runtime Garbage collection and Language integration Multiple versioning support (no more DLL hell!) Integrated security services such as: Loads and executes code Converts intermediate language to native machine codeCont.. : Cont.. Separates processes and memory Manages memory and objects Enforces code and access security Handles exceptions Interfaces between managed code, COM objects, and DLLs Provides type-checking Provides code meta data (Reflection) Provides profiling, debugging, etc.Cont..: Cont.. Framework Class Library Provides the core functionality: ASP.NET, Web Services, ADO.NET, Windows Forms, IO, XML, etc. The FCL is a collection of over 7000 classes and data types that enable .NET applications to read and write files, access databases, process XML, display a graphical user interface, draw graphics, use Web services, etc..NET Framework Common Language Runtime: .NET Framework Common Language Runtime Operating System Common Language Runtime CLR manages code execution at runtime Memory management, thread management, etc..NET Framework Base Class Library: .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, ….NET Framework Data Access Layer: .NET Framework Data Access Layer Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML Access relational databases Disconnected data model Work with XML.NET Framework ASP.NET & Windows Forms: .NET Framework ASP.NET & Windows Forms Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML ASP .NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Create application’s front-end – Web-based user interface, Windows GUI, Web services, ….NET Framework Programming Languages: .NET Framework Programming Languages Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML ASP .NET Web Forms Web Services Mobile Internet Toolkit Windows Forms C++ C# VB.NET Perl J# … Use your favorite language.NET Framework Common Language Specification: .NET Framework Common Language Specification Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML ASP .NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common Language Specification C++ C# VB Perl J# ….NET Framework Visual Studio .NET: .NET Framework Visual Studio .NET Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML ASP .NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common Language Specification C++ C# VB Perl J# … Visual Studio .NET.NET Framework Standards Compliance: Operating System Common Language Runtime .NET Framework (Base Class Library) ADO .NET and XML ASP .NET Web Services Web Forms Mobile Internet Toolkit Windows Forms Common Language Specification C++ C# VB Perl J# … Visual Studio .NET Open Language Specification C# Language – Submitted to ECMA XML-based data access Web services – XML, SOAP-based .NET Framework Standards ComplianceCommon Language Runtime: Common Language Runtime Manages running code – like a virtual machine Threading Memory management No interpreter: JIT-compiler produces native code – during the program installation or at run time Fine-grained evidence-based security Code access security Code can be verified to guarantee type safety No unsafe casts, no un-initialized variables and no out-of-bounds array indexing Role-based securityManaged Code: Managed Code Code that targets the CLR is referred to as managed code All managed code has the features of the CLR Object-oriented Type-safe Cross-language integration Cross language exception handling Multiple version support Managed code is represented in special Intermediate Language (IL)Automatic Memory Management: Automatic Memory Management The CLR manages memory for managed code All allocations of objects and buffers made from a Managed Heap Unused objects and buffers are cleaned up automatically through Garbage Collection Some of the worst bugs in software development are not possible with managed code Leaked memory or objects References to freed or non-existent objects Reading of uninitialised variables Pointerless environmentMultiple Language Support: Multiple Language Support IL (MSIL or CIL) – Intermediate Language It is low-level (machine) language, like Assembler, but is Object-oriented CTS is a rich type system built into the CLR Implements various types ( int , float, string, …) And operations on those types CLS is a set of specifications that all languages and libraries need to follow This will ensure interoperability between languagesIntermediate Language: Intermediate Language .NET languages are compiled to an Intermediate Language (IL) IL is also known as MSIL or CIL CLR compiles IL in just-in-time (JIT) manner – each function is compiled just before execution The JIT code stays in memory for subsequent calls Recompilations of assemblies are also possibleCommon Type System (CTS): Common Type System (CTS) All .NET languages have the same primitive data types. An int in C# is the same as an int in VB.NET When communicating between modules written in any .NET language, the types are guaranteed to be compatible on the binary level Types can be: Value types – passed by value, stored in the stack Reference types – passed by reference, stored in the heap Strings are a primitive data type nowCommon Language Specification (CLS): Common Language Specification (CLS) Any language that conforms to the CLS is a .NET language A language that conforms to the CLS has the ability to take full advantage of the Framework Class Library (FCL) CLS is standardized by ECMA.NET Languages: .NET Languages Languages provided by Microsoft C++, C#, J#, VB.NET, JScript Third-parties languages Perl, Python, Pascal, APL, COBOL, Eiffel, Haskell, ML, Oberon, Scheme, Smalltalk… Advanced multi-language features Cross-language inheritance and exceptions handling Object system is built in, not bolted on No additional rules or API to learnC# Language: C# Language Mixture between C++, Java and Delphi Component-oriented Properties, Methods, Events Attributes, XML documentation All in one place, no header files, IDL, etc. Can be embedded in ASP+ pages Everything really is an object Primitive types aren’t magic Unified type system == Deep simplicity Improved extensibility and reusabilityC# Language – Example: C# Language – Example using System; class HelloWorld { public static void main() { Console.WriteLine(“Hello, world!”); } }Code Compilation and Execution: Code Compilation and Execution Compilation Before installation or the first time each method is called Execution JIT Compiler Native Code MSIL Code Metadata Source Code Language Compiler Also called Assembly (.EXE or .DLL file)Assemblies: Assemblies DLL or EXE file Smallest deployable unit in the CLR Have unique version number No version conflicts (known as DLL hell) Contains IL code to be executed Security boundary – permissions are granted at the assembly level Type boundary – all types include the assembly name they are a part of Self-describing manifest – metadata that describes the types in the assemblyMetadata in Assembly: Metadata in Assembly Type Descriptions Classes Base classes Implemented interfaces Data members Methods Name Version Culture Assembly Description Other assemblies Security Permissions Exported TypesApplications: Applications One or more assemblies Assemblies conflict resolution Using metadata Local (preferred) Global Assembly Cache (GAC) Different applications may use different versions of an assembly Easier software updates Easier software removalVisual Studio .NET: Visual Studio .NET Development tool that contains a rich set of productivity and debugging features Supports managed and unmanaged applications Supports C#, C++, VB.NET, … Many useful tools and wizards Windows Forms Designer ASP.NET Web Forms Designer Web Services support SQL Server integration with ADO.NET and XML VS.NET is not part of the .NET Framework Not necessary to build or run managed code The .NET Framework SDK includes command line compilersVS.NET – Single Development Environment & Skill Set: VS.NET – Single Development Environment & Skill Set From Visual Studio.NET you can: Write code Design user interface Study documentation Debug Test Deploy Same tools for all languages Same tools for all platformsThe .NET Framework Library: The .NET Framework Library Base Class Library ADO.NET and XML Web Forms Web Services Mobile Internet Toolkit Windows Forms ASP.NET.NET Contains:: .NET Contains:Version And Release:: Version And Release:Summary: Summary .NET Framework is a code execution platform – the environment which .NET programs run .NET Framework consists of two primary parts: Common Language Runtime and .NET Class Libraries The CLS (Common Language Specification) allows different languages to interact seamlessly. The CTS (Common Type System) allows all languages to share base data types.Summary (2): Summary (2) .NET languages are compiled to MSIL by their respective compilers MSIL code is compiled to machine code by the JIT compiler All .NET languages have equal access to the FCL (Framework Class Library) which is a rich set of classes for developing software Base Class Library is set of basic classes: Collections, I/O, Networking, Security, etc. ADO.NET provides .NET applications with access to relational databasesSummary (3): Summary (3) .NET has great XML support including: DOM, XSLT, XPath , and XSchema Windows Forms provides GUI interface for the .NET applications ASP.NET allows creating web interface to .NET applications Web Services expose functionality from web sites and make it remotely accessible through standard XML-based protocols Visual Studio .NET is powerful development IDE for all .NET languages and technologies.NET Framework – Resources: .NET Framework – Resources Visit following web sites: . NET Framework Home Site – http://msdn.microsoft.com/netframework/ The Microsoft .NET Framework Community – http://www.gotdotnet.com/ ASP.NET – http://www.asp.net/ .NET Windows Forms – http://www.windowsforms.net/ Code Project – http://www.codeproject.net/ Mono – Open Source .NET Framework – http://www.go-mono.org/ Rotor – Shared Source .NET CLI – http://msdn.microsoft.com/net/sscli/ Read the news groups: news:// msnews.microsoft.com / microsoft.public.dotnet.framework