Slideshow Visual Studio .NET Framework

Document Sample
Slideshow Visual Studio .NET Framework Powered By Docstoc
					Introduction to the .NET Framework

                       Yair Alan Griver
             Chief Information Officer
     Flash Creative Management, Inc.

         Visual FoxPro DevCon 2000
          Let me introduce myself

   Fox developer
   VB developer
   Author
   Flash’s architecture team lead
   COMCodebook framework lead designer
   Working part-time on .NET for 7 months

                Visual FoxPro DevCon 2000

   What we’ll be covering today and tomorrow
   The current Microsoft model for development
   Frameworks and development
   .NET feature overview
   Some of the classes in .NET

                 Visual FoxPro DevCon 2000
    What We’ll Be Covering Today and
   .NET Framework
   ADO+
   ADO+ and VFP
   ASP+
   ASP+ and VFP
   .NET Framework and VFP

               Visual FoxPro DevCon 2000
What’s wrong with the current model?

   What current model?

                Visual FoxPro DevCon 2000
                 What is .NET?

   A way of thinking – disconnected world
   A set of services – component services, SQL
    Server, Biztalk, building block services
    (authentication, etc.)
   A framework for hooking into this world

We’ll be focusing on the framework in
              this session

                 Visual FoxPro DevCon 2000
            Existing frameworks

   Foxpro foundation classes
   MFC
   ATL
   Codebook
   Fox Extend
   Fox Express
   West Wind WebConnect
   Etc.

       Now we have a global one
                Visual FoxPro DevCon 2000
               .NET Framework

   Consistent and Simplified Programming Model
   Broad Programming Language Integration
   Automatic Memory and Resource
   Standard Type System with Type Safety
   Consistent Debugging and Error Handling
   Simplified Deployment
   Integrated Security Model

                Visual FoxPro DevCon 2000
            Simple/Consistent Model

   All system services are exposed through a
    common set of classes (the .NET Framework)
   Access to classes through “namespaces”
       System.Web.UI.WebControls.TextBox
       System.Winforms.TextBox
   Standard design patterns
       Event model – Push Observer
       Error handling – Exception Handling
   Access to the Win32 API is restricted due to
    the use of pointers. Access to DLLs through
    the PlatformInvocation namespace.
                   Visual FoxPro DevCon 2000
            Language Integration

   COM allowed languages to interoperate with
    on another, .NET allows them to integrate with
    one another.
   This is achieved through the common runtime,
    IL code, and the CLR.

                 Visual FoxPro DevCon 2000
      Memory/Resource Management

   The runtime garbage collector tracks and
    releases resource and does not allow the
    developer to release the resources.
   This is not such a big deal for VFP and VB
    developers since those languages did the
    work behind the scenes in previous versions.

                 Visual FoxPro DevCon 2000
                   Type Safety

   All CLR compatible languages share the same
   The .NET platform is strongly typed
   The compiler and runtime will detect when you
    try to access or assign variables of a different
    type and raise an exception if there is no
    implicit cast.

                  Visual FoxPro DevCon 2000
Consistent Debugging/Error Handling

   All errors are reported through exceptions in
    the .NET platform.
   No more dealing with HRESULTS from DLLs
    or large negative numbered Win32 errors.
   The debugger allows you to step through code
    in multiple languages.

                 Visual FoxPro DevCon 2000

   Removed the need of the registry by storing
    component information in metadata of the
   You have the ability to store multiple versions
    of a component on a machine.
   No more DLL Hell.
   Ability to create .NET web services using the
    same model as COM components
   You now deploy with an XCOPY!!

                  Visual FoxPro DevCon 2000

   MS refined its security model by improving on
    the role based security introduced in MTS
   .NET introduces a new model of permissions –
    sets that control access to components and
   Code is signed in order to uniquely identify
    the developer. The runtime enforces the
    security by analyzing hash codes of the
    distributed code.

                 Visual FoxPro DevCon 2000
Now, let’s look at the framework!

         Visual FoxPro DevCon 2000
      The .NET Framework

Web Services              User Interface

   Data                           Xml

       Base Class Library
          Visual FoxPro DevCon 2000
                  The .NET Framework
         System.Web (ASP+)                   System.WinForms (Windows)
Services           UI                       Design         ComponentModel
 Description        HtmlControls
Discovery          WebControls
Protocols                                             System.Drawing
Caching            Security                 Drawing2D         Printing
Configuration      SessionState             Imaging           Text

         System.Data (ADO+)                             System.Xml
ADO                SQL                      XSLT              Serialization
Design             SQLTypes                 XPath

Collections        IO                 Security              Runtime
Configuration      Net                ServiceProcess        InteropServices
Diagnostics        Reflection         Text                  Remoting
Globalization      Resources        Threading               Serialization
                         Visual FoxPro DevCon 2000
              Base Framework
 Collections             Security
 Configuration           ServiceProcess
 Diagnostics             Text
 Globalization           Threading
 IO                      Runtime
 Net                      InteropServices
 Reflection               Remoting
 Resources                Serialization
               Visual FoxPro DevCon 2000
              Data And XML
 ADO                    SQL
 Design                 SQLTypes

 XSLT                   Serialization

              Visual FoxPro DevCon 2000
      Web Forms And Services
 Services                 UI
  Description              HtmlControls
  Discovery                WebControls
 Caching                  Security
 Configuration            SessionState

                Visual FoxPro DevCon 2000
                 Win Forms
 Design                ComponentModel

 Drawing2D             Printing
 Imaging               Text

             Visual FoxPro DevCon 2000

   .NET is focused on inherently disconnected
    data, and offers a set of services including
    component services, SQL Server, Biztalk, and
    building block services (authentication, etc.)
    that use XML to enable seamless connectivity
    in this world.
   .NET also includes the .NET framework which
    is used by developers to hook into this world
    in a standard manner

                 Visual FoxPro DevCon 2000

Visual FoxPro DevCon 2000
   Thank You

             Yair Alan Griver

Visual FoxPro DevCon 2000

Shared By: