KEMBAR78
Microsoft dot net framework | PPTX
.NET Framework
Microsoft's Platform for
Application Development
 So what is .NET?
                      The .Net

                      Microsoft's platform for
                       software development
                      Unified technology for
                       development of almost
                       any kind of applications.
What is .Net Framework?
 .Net Framework
   Programming model for .NET
   Developing and executing .NET applications
   Unified programming model, set of
    languages, class
    libraries, infrastructure, components and tools for
    application development
   Environment for controlled execution of managed
    code
Components of .Net Framework
  Common Language Runtime (CLR)
    • Garbage collection
    • Language integration
    • Multiple versioning support
    • Integrated security

  Framework Class Library (FCL)
    • Provides the core functionality:
      ASP.NET, Web Services, ADO.NET, Windows
      Forms, IO, XML, etc.

  User and Program Interface
.Net Framework
Common Language Runtime
  • CLR manages code execution at
    runtime
  • Memory management, thread
    management, etc.




    Common Language Runtime

        Operating System
.Net Framework
Base Class Library
  • Object-oriented collection of reusable
    types
  • Collections, I/O, Strings, …




  .NET Framework (Base Class Library)

      Common Language Runtime

           Operating System
.Net Framework
Data Access Layer
  • Access relational databases
  • Disconnected data model
  • Work with XML



          ADO .NET and XML

  .NET Framework (Base Class Library)

      Common Language Runtime

           Operating System
.Net Framework
ASP.NET & Windows Forms
   • Create application’s front-end – Web-
     based user interface, Windows
     GUI, Web services, …

        ASP .NET               Windows
 Web Forms Web Services
                                Forms
  Mobile Internet Toolkit

            ADO .NET and XML

   .NET Framework (Base Class Library)

       Common Language Runtime

            Operating System
.Net Framework
Programming Languages
      • Use you favorite language


C++     C#   VB.NET Perl    J#        …
          ASP .NET                Windows
 Web Forms Web Services
                                   Forms
  Mobile Internet Toolkit

              ADO .NET and XML

      .NET Framework (Base Class Library)

          Common Language Runtime

               Operating System
.Net Framework
Common Language Specification



C++    Common Language Specification…
        C#  VB    Perl  J#
          ASP .NET                Windows
 Web Forms Web Services
                                   Forms
  Mobile Internet Toolkit

              ADO .NET and XML

      .NET Framework (Base Class Library)

          Common Language Runtime

               Operating System
.Net Framework
Visual Studio .NET

C++     C#     VB    Perl   J#        …

       Common Language Specification




                                            Visual Studio .NET
          ASP .NET                Windows
 Web Forms Web Services
                                   Forms
  Mobile Internet Toolkit

              ADO .NET and XML

      .NET Framework (Base Class Library)

          Common Language Runtime

               Operating System
Common Language Runtime(CLR)




   The Heart of .NET Framework
Common Language Runtime(CLR)

 Essential components
 Service provider -
   Code compilation
     • Known as Just In Time (JIT) compilation
   Memory allocation
   Garbage collection
 Something like virtual machine
   Like the Java Virtual Machine (JVM)
 allows the execution of code across different
  platforms.
Responsibilities of CLR
 Execution of the IL code and the JIT
  compilation
 Code Verification
 Ensuring type safety
 Interaction with the OS
 Managing security
  • Code access security
 Garbage Collection
The .NET Languages
  C#, VB.NET, C++, J#, etc.
.NET Languages
 .NET languages by Microsoft
  • C#, VB.NET, Managed C++, J#, F#, JScript
 .NET languages by third parties
  • Object
     Pascal, Perl, Python, COBOL, Haskell, Oberon
     , Scheme, Smalltalk…
 Different languages can be mixed in a single
  application
C# Language – Example
 Mixture between C++, Java and Delphi
 C# is standardized by ECMA and ISO
 Example of C# program:
using System;

class NumbersFrom1to100
{
    static void Main()
    {
        for (int i=1; i<=100; i++)
        {
            Console.WriteLine(i);
        }
    }
}
.NET framework Security
 The .NET Framework provides several mechanisms for
  protecting resources and code from unauthorized code and
  users.
 The security architecture of the .NET Framework is
  composed of a number of core elements, including:
• Evidence-based security
• Code access security
• The verification process
• Role-based security
• Cryptography
• Application Domains
Visual Studio IDE
Powerful Development Environment for .NET
Visual Studio

 Visual Studio is powerful Integrated Development
  Environment (IDE) for .NET Developers
  • Create, edit, compile and run .NET applications
  • Different languages – C#, C++, VB.NET, J#, …
  • Flexible code editor
  • Powerful debugger
  • Integrated with SQL Server
  • Strong support of Web services.
Visual Studio

 Helpful wizards and editors
  • Windows Forms Designer
  • WCF (Windows Communication Foundation)
  • ASP.NET Web Forms Designer
  • ADO.NET / LINQ-to-SQL / XML Data Designer
ADO.NET
 ADO.NET is a data access programming model
  for accessing the data stored in a database
  from a .NET application.
 The ADO.NET object model consists of two
  main components-
       • data provider
       • dataset
ADO.NET

 The Main features of ADO.NET are:

•   Disconnected data architecture
•   Data cached in datasets
•   Scalability
•   Data transfer in XML format
ASP.NET
 Platform for building Web applications and Web
  services in any .NET language

   o C#, C++, VB.NET, JScript, etc.

 Automatic multiple clients support
   o DHTML, HTML, small devices . . .

 Multi Device and Multi Browser
 Separation of code and content
   o Developers and designers can work independently
ASP.NET Web Forms

 Web Froms:
   Pages that users request through their
    browser.
   Combination of HTML, server controls, and
    server code.
   Powerful data binding, with great tool
    support.
   Easy to start, develop, and deploy
Windows Presentation Foundation(WPF)
WPF is actually a new framework introduced with
 .NET framework 3.0 which actually puts forward
 a new set of classes and assemblies which allow
 us to write programs more efficiently and
 flexibly.
WPF controls makes smooth drawing in the form.
Helps in customizing controls and modifying their
 behaviors.
Windows Communication Foundation(WCF)

WCF is a unified communication framework
 for distributed applications.
WCF defines a common programming model
 and unified API for clients and services to
 send messages between each other.
WCF is the current and future standard for
 distributed .Net applications.
Advantages of .NET Framework


• Consistent programming model.
• Multi-platform application.
• Multi-language integration
• Automatic resource management
• Ease of deployment
For More Details 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/

Read the news groups:
    news://msnews.microsoft.com/microsoft.public.dotnet.fr
      amework
Microsoft dot net framework

Microsoft dot net framework

  • 1.
    .NET Framework Microsoft's Platformfor Application Development
  • 3.
     So whatis .NET?  The .Net  Microsoft's platform for software development  Unified technology for development of almost any kind of applications.
  • 4.
    What is .NetFramework?  .Net Framework  Programming model for .NET  Developing and executing .NET applications  Unified programming model, set of languages, class libraries, infrastructure, components and tools for application development  Environment for controlled execution of managed code
  • 5.
    Components of .NetFramework  Common Language Runtime (CLR) • Garbage collection • Language integration • Multiple versioning support • Integrated security  Framework Class Library (FCL) • Provides the core functionality: ASP.NET, Web Services, ADO.NET, Windows Forms, IO, XML, etc.  User and Program Interface
  • 6.
    .Net Framework Common LanguageRuntime • CLR manages code execution at runtime • Memory management, thread management, etc. Common Language Runtime Operating System
  • 7.
    .Net Framework Base ClassLibrary • Object-oriented collection of reusable types • Collections, I/O, Strings, … .NET Framework (Base Class Library) Common Language Runtime Operating System
  • 8.
    .Net Framework Data AccessLayer • Access relational databases • Disconnected data model • Work with XML ADO .NET and XML .NET Framework (Base Class Library) Common Language Runtime Operating System
  • 9.
    .Net Framework ASP.NET &Windows Forms • Create application’s front-end – Web- based user interface, Windows GUI, Web services, … ASP .NET Windows Web Forms Web Services Forms Mobile Internet Toolkit ADO .NET and XML .NET Framework (Base Class Library) Common Language Runtime Operating System
  • 10.
    .Net Framework Programming Languages • Use you favorite language C++ C# VB.NET Perl J# … ASP .NET Windows Web Forms Web Services Forms Mobile Internet Toolkit ADO .NET and XML .NET Framework (Base Class Library) Common Language Runtime Operating System
  • 11.
    .Net Framework Common LanguageSpecification C++ Common Language Specification… C# VB Perl J# ASP .NET Windows Web Forms Web Services Forms Mobile Internet Toolkit ADO .NET and XML .NET Framework (Base Class Library) Common Language Runtime Operating System
  • 12.
    .Net Framework Visual Studio.NET C++ C# VB Perl J# … Common Language Specification Visual Studio .NET ASP .NET Windows Web Forms Web Services Forms Mobile Internet Toolkit ADO .NET and XML .NET Framework (Base Class Library) Common Language Runtime Operating System
  • 13.
    Common Language Runtime(CLR) The Heart of .NET Framework
  • 14.
    Common Language Runtime(CLR) Essential components  Service provider -  Code compilation • Known as Just In Time (JIT) compilation  Memory allocation  Garbage collection  Something like virtual machine  Like the Java Virtual Machine (JVM)  allows the execution of code across different platforms.
  • 15.
    Responsibilities of CLR Execution of the IL code and the JIT compilation  Code Verification  Ensuring type safety  Interaction with the OS  Managing security • Code access security  Garbage Collection
  • 16.
    The .NET Languages C#, VB.NET, C++, J#, etc.
  • 17.
    .NET Languages  .NETlanguages by Microsoft • C#, VB.NET, Managed C++, J#, F#, JScript  .NET languages by third parties • Object Pascal, Perl, Python, COBOL, Haskell, Oberon , Scheme, Smalltalk…  Different languages can be mixed in a single application
  • 18.
    C# Language –Example  Mixture between C++, Java and Delphi  C# is standardized by ECMA and ISO  Example of C# program: using System; class NumbersFrom1to100 { static void Main() { for (int i=1; i<=100; i++) { Console.WriteLine(i); } } }
  • 19.
    .NET framework Security The .NET Framework provides several mechanisms for protecting resources and code from unauthorized code and users.  The security architecture of the .NET Framework is composed of a number of core elements, including: • Evidence-based security • Code access security • The verification process • Role-based security • Cryptography • Application Domains
  • 20.
    Visual Studio IDE PowerfulDevelopment Environment for .NET
  • 21.
    Visual Studio  VisualStudio is powerful Integrated Development Environment (IDE) for .NET Developers • Create, edit, compile and run .NET applications • Different languages – C#, C++, VB.NET, J#, … • Flexible code editor • Powerful debugger • Integrated with SQL Server • Strong support of Web services.
  • 22.
    Visual Studio  Helpfulwizards and editors • Windows Forms Designer • WCF (Windows Communication Foundation) • ASP.NET Web Forms Designer • ADO.NET / LINQ-to-SQL / XML Data Designer
  • 23.
    ADO.NET  ADO.NET isa data access programming model for accessing the data stored in a database from a .NET application.  The ADO.NET object model consists of two main components- • data provider • dataset
  • 24.
    ADO.NET  The Mainfeatures of ADO.NET are: • Disconnected data architecture • Data cached in datasets • Scalability • Data transfer in XML format
  • 25.
    ASP.NET  Platform forbuilding Web applications and Web services in any .NET language o C#, C++, VB.NET, JScript, etc.  Automatic multiple clients support o DHTML, HTML, small devices . . .  Multi Device and Multi Browser  Separation of code and content o Developers and designers can work independently
  • 26.
    ASP.NET Web Forms Web Froms:  Pages that users request through their browser.  Combination of HTML, server controls, and server code.  Powerful data binding, with great tool support.  Easy to start, develop, and deploy
  • 27.
    Windows Presentation Foundation(WPF) WPFis actually a new framework introduced with .NET framework 3.0 which actually puts forward a new set of classes and assemblies which allow us to write programs more efficiently and flexibly. WPF controls makes smooth drawing in the form. Helps in customizing controls and modifying their behaviors.
  • 28.
    Windows Communication Foundation(WCF) WCFis a unified communication framework for distributed applications. WCF defines a common programming model and unified API for clients and services to send messages between each other. WCF is the current and future standard for distributed .Net applications.
  • 29.
    Advantages of .NETFramework • Consistent programming model. • Multi-platform application. • Multi-language integration • Automatic resource management • Ease of deployment
  • 30.
    For More Detailsvisit 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/ Read the news groups: news://msnews.microsoft.com/microsoft.public.dotnet.fr amework