Introduction to .NET by scandalboy

VIEWS: 17 PAGES: 28

More Info
									Session 1
Objectives
    Discuss the transformation in computing, the Internet, and
     application development

    Identify the need for .NET

    Explain the role of the CLR and IL

    Describe the core components of Microsoft. NET

    Discuss the .NET Framework and list the components in it
Transformation in Computing
         Centralized Computing




               Mainframe




               Dumb terminals
   Transformation in Computing
Centralized     Client-Server Computing
Computing




                     Server
                                          PC




              Clients: Smart terminals
Transformation in Computing
Centralized
Computing                                                         Client-Server
                                                                   Computing
                         Distributed Computing




                                  Smart terminals
    In local distributed computing, computers are present generally in a LAN
Distributed Computing
   Transformation in Computing
Centralized
Computing




              Client-Server
               Computing




                              Distributed Computing
             The Internet
              Web Server
Web Server




               • Websites are isolated islands
               • Web serves HTML ‘pictures of data’-not
                 actual data
               • Browser: glorified read-only dumb terminal
Web Server     • Architecture mirrors old time-sharing model
               • Personalization involves entering same
                 personal info at every site!
 Before .Net                                      DEVELOPER
 USER
                         • Inadequate tools for building, testing
                           and deploying sites
                         • Sites-generally attractive, not useful!


                                   I need a system that allows
                                   me to write code for a PC,
                                   & deploy it to a variety of
                                   devices

OFFICE
             I need a
         HOMEpersonal
           Information
              Space
Transformation in the Internet
              Web Server                          Constellation
 Web Server



                                                       Web Server
                                     Web Server

 Web Server



Web sites as islands
                                     Web Server




                           Sites, services, and devices-collaborate and
                           provide rich user experience
    Evolution of App Development




                        •Apps integrate entire    •Apps (Web Services) expose
                         applications from all     features programmatically over
                        over network+add           inter/intranet
                        unique value              •developers integrate web
                        •Focus-therefore on        services into their apps by
                         unique business value,   calling web APIs
•Apps integrate local    not on building          •COMPONENT
 system services        infrastructure              PROGRAMMING over the
                                                    web!
.NET-a result of evolution
                                  Melding Computing
                                  & Communications

                                 Building Constellations
                                      -not islands!
   Transformation in Computing
                                  Distributed Computing
                                       -here to stay!

                                       Software as
                                        a service

                                    Applications used
                                   by anyone/anywhere
.NET-a result of evolution
                   Melding Computing
                   & Communications


                    Building Constellations
                         -not islands!

                          Distributed
                        Computing
                       -here to stay!

                        Software as
                         a service

                     Applications used
                    by anyone/anywhere
.Net – taking DC one step further
.NET-taking DC one step further!
User Data lives on the NET—can be accessed from anywhere, any time

.NET—a whole new platform centered around the Internet

Create applications that can be accessed via any browser, any device

.NET applications harness the power of the Internet

Data can be accessed from any .NET device
Program Execution
Program Execution
 Earlier languages had their own compilers and their own runtime
  environments.

 In .Net the compiler of the respective language compiles the source
  code into an ‘Intermediate Language’.

 In .Net language specific runtime has been replaced by CLR.
Executing .NET programs
                  Language
                                 MSIL
                  Compiler
     .NET
                                                             Machine    Code




                                                 CLR
    source                         +
     code                       Metadata                      code     executed




                                           2nd Compilation

              1st Compilation


.NET programs are compiled twice—the first compilation is slow, while the second one
is relatively faster!
Microsoft Intermediate Language
                     Language      MSIL
                     Compiler
        .NET

                                MSIL                       Machine       Code




                                                 CLR
       source                        +
        code                      Metadata                  code        executed



 Helps Language
 interoperability
                                                              MSIL converted to CPU-
   IL is not bytecode, but is                                 specific code by CLR
   very close to it. Therefore,
   when the application is
   executed, the IL to
   machine code conversion is
                                  CPU-independent set of
   quick!
                                  instructions
The Common Language Runtime
                 Language    MSIL
                 Compiler
     .NET

                                       CLR          Machine            Code




                                           CLR
    source                     +
     code                   Metadata                 code             executed



Manages memory

                                                           Cross-language
Makes it easy to design                                    integration (especially
components & applications                                  cross-language
whose objects interact                                     inheritance)
across languages
                            Compile once, and run on any
                            CPU & OS that supports the
                            runtime!
Features of Microsoft.NET Platform

                      Built on XML and internet protocols



                    Set of tools and services for developing new
                    generation of software

                    Designed to allow integration/orchestration of
                    any group of resources on the Internet
  Microsoft.NET

                    Makes it quick and easy to design, implement, and
 X                  deploy collaborative web solutions
        Internet
 M
        Protocols
 L
XML - one of the core components of Microsoft.NET

                       Separates actual data from presentation.


                      Key to next generation internet; unlocks info that
                      can be organized, programmed, and edited.




                      Provides way to distribute data to variety of
    Microsoft.NET     devices.

                      Allows websites to collaborate and provide
   X
   M
          Internet    constellation of web services that will be
   L
          Protocols   able to interact with each other.
Internet Protocols in .NET
                   Microsoft.NET is built on existing protocols such as
                   HTTP & SOAP(Simple Object Access Protocol)




                   SOAP is an XML/HTTP-based protocol


                   SOAP allows access to services, objects, and
                   servers in a platform-independent manner
 Microsoft.NET

                   SOAP used for exchange of information in a
 X                 decentralized, distributed environment
       Internet
 M
       Protocols
 L
The Microsoft.NET platform

                  Orchestration
         .NET         .NET     Building
      Framework     Enterprise  Block
                     Servers   Services

         Windows (CE, ME, 2000, and .NET)
   Windows 2000 Family- the Chosen One

                                             The .NET platform is built on
                                             Scalability,
                                             Reliability,
                                             Security,
                                             and
                                             Manageability
                                             of Windows 2000 Server family


            Orchestration

   .NET        .NET         Building Block
Framework    Enterprise        Services
              Servers

 Windows (CE, 2000, vista and Windows7)
Components of                                    Web                Web UI
                                              Services
.Net framework                                           Data and XML

                                                         Base classes

                                              Common Language Runtime




             Orchestration

    .NET        .NET         Building Block
 Framework    Enterprise        Services
               Servers

  Windows (CE, ME, 2000 and .Net)
.Net Enterprise Servers
                                             •SQL Server
                                             •Internet Security &
                                             Acceleration Server
                                             •Host Integration Server
                                             •Exchange Server &
                                             Exchange Conferencing
                                             Server
            Orchestration                    •Commerce Server

   .NET        .NET         Building Block   •Biztalk Server
Framework    Enterprise        Services
                                             •Application Server
              Servers

 Windows (CE, ME, 2000 and .Net)
Orchestration

								
To top