Docstoc

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
                    Overview

   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
               Tomorrow
   .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
    Management
   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
    types
   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
                   Deployment

   Removed the need of the registry by storing
    component information in metadata of the
    component.
   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
                     Security

   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
    resources
   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

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


System.Xml
 XSLT                   Serialization
 XPath


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


                Visual FoxPro DevCon 2000
                 Win Forms
System.WinForms
 Design                ComponentModel




System.Drawing
 Drawing2D             Printing
 Imaging               Text

             Visual FoxPro DevCon 2000
                    Summary

   .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
  Questions?




Visual FoxPro DevCon 2000
   Thank You

             Yair Alan Griver
     alang@flashcreative.com
      www.flashcreative.com

Visual FoxPro DevCon 2000

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:12
posted:4/23/2012
language:English
pages:25